You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Davis Ford <da...@gmail.com> on 2006/01/02 15:52:41 UTC

Copy Jar?

Hi, I'm using Maven 1.0.2 to build my jar.  The jar is used as part of
a different project called GeoServer that uses Jetty.

Every time I build my jar, I need to manually copy it to
$someDir$/geoserver/server/WEB-INF/lib/ in order to test my changes. 
I don't rebuild GeoServer software everytime...I only rebuild my jar
that I run inside GeoServer.  What is the best way for me to add a
target or over-ride a plugin property to copy my jar to this
directory?

I looked at jar:install, but if I think if I over-ride that, then my
jar dependencies will get screwed up as it won't point to my
.maven/repository anymore.

I looked at distribution plugin, but it doesn't seem to have any documentation.

I'm not that swift yet with Jelly, but is there a maven.xml example
somewhere that does this?  Also, different developers have installed
GeoServer in different directories on their machines.  This means
somehow, whatever solution I create has to be able to accomodate this
discrepancy.  Environment variable?

Regards,
Davis

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org