You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2006/06/03 00:30:15 UTC
One more simple question
By default, jars are placed in the root of target, how do you move them
to target/lib?
Re: One more simple question
Posted by Max Cooper <ma...@maxcooper.com>.
http://maven.apache.org/plugins/maven-jar-plugin/jar-mojo.html
Set outputDirectory to ${project.build.outputDirectory}/lib in the jar
plugin configuration.
-Max
EJ Ciramella wrote:
> By default, jars are placed in the root of target, how do you move them
> to target/lib?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: One more simple question
Posted by Kieran Brady <ki...@teamcgi.net>.
You'll need something like this in your POM:
<finalName>lib/${artifactId}-${version}</finalName>
and maybe you'll also need to create the lib directory.
----- Original Message -----
From: "EJ Ciramella" <ej...@upromise.com>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, June 02, 2006 11:30 PM
Subject: One more simple question
By default, jars are placed in the root of target, how do you move them
to target/lib?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org