>From what I can tell, the finalName does not affect what gets installed
in the repository. Only what the "built artifacts" are called ( jars
under the target directory). So if I am correct this only affects the
release artifacts, ie gt2-bin.zip will contain jars of the form gt2-*.jar.

But when the jars get deployed to a remote maven repository they will
not have the gt2 prefix, so in your archetype you can have the "users
pom" ( ie. the pom.xml in
maven/archetype/src/main/resources/archetype-resources ) depend on the
artifactId as normal ( no gt2 prefix ).

I agree, it is confusing, I hope that made sense and didn't confuse you
more so then you were before :)

-Justin

Adrian Custer wrote:
> Hey all,
> 
> Could whoever designed this please explain what's going on? It seems to
> break thing because the name in the local maven repo used during the
> build differs from the name of the jars that will be used to run.
> 
> In the archetype, I create a pom that is used to build the app, i.e. 
>   maven/archetype/src/main/resources/archetype-resources/pom.xml
> not maven/archetype/pom.xml which is used to create the archetype (and
> has almost on info since it depends only on maven). In the former
> pom.xml, I have to define the dependency used to build the userApp.
> Those artifacts will get pulled from the repository so must be *without*
> the leading 'gt-'. However, the dependencies I define also get used to
> build the classpath for the userApp but the classpath names will need
> the leading 'gt-' 
> 
> I admit my head hurts trying to understand poms, building directories
> with poms used to build jars, used run apps. Still, I think there is a
> non-trivial problem with the use of <finalName>gt-...
> 
> --adrian
> 
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Geotools-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
> 
> !DSPAM:1004,453f940d147916309890654!
> 


-- 
Justin Deoliveira
The Open Planning Project
[EMAIL PROTECTED]

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to