Jody Garnett a écrit :
> Martin Desruisseaux wrote:
>> "mvn install" was happy because every JAR was prefixed by "gt-lib-" 
>> or "gt-ext-xsd-", so they were no conflict.
>> "mvn deploy" was happy because every JAR appears in their own group, 
>> with XSD WFS in its own group "org.geotools.xsd", so they were no 
>> conflict.
>>
>> But when an external project has dependencies toward GeoTools and JAR 
>> get flattened in a single directory without their prefix, then those 
>> kind of conflict appears. We missed that one since our own projects 
>> don't have those two dependencies together...
> Understood;
>> I saw that Justin renamed the directories. Thanks for the fix Justin.
> Should we be renaming more directories? And if so which ones...
>
The renaming of the wfs module in the extension/xsd one gives in the 
target/binaries directory of Geotools a jar named 
"gt-ext-xsd-xsd-wfs-2.5-SNAPSHOT.jar".
This was done (and you're right Justin :)) in order to avoid conflict 
with the module wfs in plugin.
Indeed when you build Geotools, before your commit, you should have 
gotten a wfs-2.5-SNAPSHOT from the plugin module, and one with the same 
name from the extension module.
In having a look to the plugin/wfs module, it seems to be an orphelean 
module, and not really maintain. In the pom.xml you could see that I've 
added an exclusion dependency, to prevent him getting a "gt2-api-2.5..." 
jar (by a transitive dependency).
So the question Martin and I are wondering is : should we renamed the 
artifactId of plugin/wfs to something else (Martin proposed 
"wfs-legacy", in the case this module is not really maintained) ?

Doing this, the extension/wfs module could get back its name "wfs", 
instead of the actual "xsd-wfs", solving the problem of jar name.
What do you think about this ?
> I will be on IRC today if you guys want to sort this out in real time.
> Jody
>
>
Thanks Jody for your time.

Cédric

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to