Justin Deoliveira a écrit :
> So for now release is blocked, I will have to dig deeper for this one. I
> believe martin has setup the javadoc stuff for site, perhaps he can
> help. I included the last few lines of the maven output before the crash,
>
>
> /home/jdeolive/devel/geotools/2.3.x/target/checkout/plugin/epsg-hsql/src/org/geotools/referencing/factory/epsg/HSQLDataSource.java:116:
> warning - @code is an unknown tag.
> javadoc: In doclet class com.sun.tools.doclets.standard.Standard, method
> start has thrown an exception
> java.lang.reflect.InvocationTargetException
> java.lang.NullPointerException
> at
> com.sun.tools.doclets.standard.tags.ValueTaglet.toString(ValueTaglet.java:43)
I believe that the @code taglet was introduced in Java 5. I was assuming that
we
could generate the JARs using Java 1.4, and the javadoc using Java 5. Does
Maven
release requires execution of "package" and "javadoc" task in one build cycle?
If yes, a workaround may be to compile with Java 5 using the -Xbootclasspath
option, as in:
-Xbootclasspath:C:\Java\1.4\jre\lib\rt.lib
The "-source 1.4" and "-target 1.4" options should already be in the pom.xml.
The above-cited Xbootclasspath would need to be added, but could not be
commited
since it depends on Java 1.4 installation directory. I admit it is an
unconvenient workaround, maybe not an acceptable one...
Martin
-------------------------------------------------------------------------
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