Confirming on Java 5 - windows ... the javadocs report correctly dies 
when the unsupported/geometry is included in its swath of destruction.  
We will need to modify our profile to include the correct -source 1.5 
javadoc settings or something.

> [INFO] Generate "JavaDocs" report.
> 92 errors
> 2 warnings
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error during page generation
>
> Embedded error: Error rendering Maven report: Exit code: 1 - 
> C:/java/geotools/trunk/modules/unsupported/geometry/src/mai
> n/java/org/geotools/geometry/iso/aggregate/AggregateFactoryImpl.java:71: 
> generics are not supported in -source 1.4
> (try -source 1.5 to enable generics)
>         public MultiPrimitive createMultiPrimitive(Set<Primitive> 
> primitives) {
Cory wrote:
> Can anyone confirm that "mvn site" fails on gt trunk?
>
> One thing i'd like to change is eliminating unsupported from javadocs 
> (see failure below).
>   
Do it :-) Indeed you can eliminate plug-ins as well (as they do not add 
API and should be accessed dynamically).

Cheers,
Jody
> Cory.
>
> ----
>
> For java 1.4 on windows:
>
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Building Geotools
> [INFO]    task-segment: [site]
> [INFO] 
> ----------------------------------------------------------------------------
> [INFO] Preparing clover:instrument
> [WARNING] Removing: instrument from forked lifecycle, to prevent 
> recursive invocation.
> [WARNING]
>          Artifact org.apache.maven:maven-artifact:jar:2.0.2:runtime 
> retains local scope 'runtime' overriding broader scope 'compile
> '
>          given by a dependency. If this is not intended, modify or 
> remove the local scope.
>
> [WARNING]
>          Artifact org.apache.maven:maven-project:jar:2.0:runtime retains 
> local scope 'runtime' overriding broader scope 'compile'
>          given by a dependency. If this is not intended, modify or 
> remove the local scope.
>
> [WARNING]
>          Artifact org.apache.maven:maven-plugin-api:jar:2.0:runtime 
> retains local scope 'runtime' overriding broader scope 'compile
> '
>          given by a dependency. If this is not intended, modify or 
> remove the local scope.
>
> [INFO] [clover:instrumentInternal]
> [INFO] Not instrumenting sources with Clover as this is not a Java project.
> [INFO] [site:attach-descriptor]
> [INFO] [install:install]
> [INFO] Installing c:\java\geotools\trunk\pom.xml to C:\Documents and 
> Settings\Refractions\.m2\repository\org\geotools\gt2\2.4-SNAPSHOT\gt2-2.4-SNAPSHOT.pom
> [INFO] [clover:instrument {execution: default}]
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Failed to configure plugin parameters for: 
> org.apache.maven.plugins:maven-javadoc-plugin:2.0-beta-3
>
>
>
> Cause: Error loading class 'org.apache.maven.plugin.javadoc.Tag'
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 33 seconds
> [INFO] Finished at: Wed Mar 07 11:48:03 PST 2007
> [INFO] Final Memory: 18M/33M
> [INFO] 
> ------------------------------------------------------------------------
>
>
> and for java 1.5 on linux:
>
> [ERROR] BUILD ERROR
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Error during page generation
>
> Embedded error: Error rendering Maven report: Exit code: 1 - 
> /usr/local/home/autorun/checkout/gt-trunk/modules/unsupported/geometr
> y/src/main/java/org/geotools/geometry/iso/FeatGeomFactoryImpl.java:292: 
> generics are not supported in -source 1.4
> (try -source 1.5 to enable generics)
>          public GeometryImpl createGeometry(List<OrientableSurface> 
> aSurfaces,
>                                                 ^
> /usr/local/home/autorun/checkout/gt-trunk/modules/unsupported/geometry/src/main/java/org/geotools/geometry/iso/aggregate/MultiPrim
> itiveImpl.java:62: generics are not supported in -source 1.4
> (try -source 1.5 to enable generics)
>          public MultiPrimitiveImpl(FeatGeomFactoryImpl factory, Set<? 
> extends Primitive> primitives) {
>
> ...
>
> -------------------------------------------------------------------------
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to share your
> opinions on IT & business topics through brief surveys-and earn cash
> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>   


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to