Martin Desruisseaux wrote:
> I tried to remove "jar-collector" and realized that our assembly plugin (as we
> use it) relies on it, so I keep it for now. It may be possible to avoid this
> dependency if we spent some time exploring the <dependencySets> element in
> assembly descriptor (gt2/build/maven/assembly/binaryDist.xml) and see if it 
> can
> be a replacement for "jar-collector", but again it will depend on volunter 
> time.
> 
I see. Hmmm, to be honest all the "custom" stuff in our build, and even 
more in the site generation is *very* error prone ( or least it has been 
for me ). For instance, I don't think i have every been able to 
successfully generate javadocs. Perhaps once but i had to use java 5 to 
do it. Its not a wonder why geotools is released so seldom.

I think its time to really give our build system a once over. And after 
fixing all the problems it should be part of the change proposal process 
in that noone can add anything to it before people actually test it on a 
number of different configurations: version of java / maven, operating 
system, etc...

But as Martin says, this will depend on volunteer time...

-Justin


> What I did:
> 
> * Added some code attempting to avoid the NullPointerException
>   reported by Justin with Maven 2.0.6. Not tried with Maven 2.0.6
>   however (I still with Maven 2.0.5).
> 
> * Moved the JAR collected by "jar-collector" from "gt2/target"
>   to "gt2/target/binaries". Otherwise, the JAR files are mixed
>   with the ZIP file created by the assembly plugin...
> 
> * Tested with Maven 2.0.5, Java 1.4 on Linux Gentoo.
> 
>       Martin


-- 
Justin Deoliveira
The Open Planning Project
http://topp.openplans.org

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to