tubackkhoa / gbif-dataportal

Automatically exported from code.google.com/p/gbif-dataportal
0 stars 1 forks source link

2 classes in Portal Web cause errors due to missing dependencies #83

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Package: org.bgif.portal.web.occurrence.view

Classes: CitationView.java & WebserviceView.java

These have dependencies on "portal-webservices" which has been commented-out in 
the POM file. 
Deleting these classes did not cause any problems so it appears they are not 
needed? 

Either way something needs to be fixed as it breaks the build (for me).

Cheers

Nick (from ALA)

Original issue reported on code.google.com by nickdos on 16 Apr 2010 at 3:28

Attachments:

GoogleCodeExporter commented 9 years ago
Hi Nick.

Yes, you are right that it breaks the build. I didn't want to delete them at 
that
moment, I was afraid of breaking something.
So I just included the ignore on the build element of the pom.xml file

  <build>
    <finalName>portal</finalName>
        <plugins>
           <plugin>
                       ...
             <configuration>
               <source>1.5</source>
               <target>1.5</target>
                           <excludes>
                <exclude>**/CitationView.java</exclude>
                <exclude>**/WebserviceView.java</exclude>
                           </excludes>             
             </configuration>
           </plugin>          
         </plugins>   
  </build>

Worth considering deleting them on the next build, though...

Original comment by josecua...@gmail.com on 10 May 2010 at 7:50