Oh yeah, that's better than my jarName solution.

Okay, I think I will stop trying to answer emails today before I give any more lousy advice. :-)

-Max

EJ Ciramella wrote:
Also, wouldn't it be basedir according to that documentation?
-----Original Message-----
From: EJ Ciramella [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 6:46 PM
To: Maven Users List
Subject: RE: One more simple question

[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Error
configuring: org.apache.maven.plugins:maven-jar-plugin. Reason: ERROR:
Cannot overr
ide read-only parameter: outputDirectory in goal: jar:jar

      <plugin>
        <artifactId>maven-jar-plugin</artifactId>
        <configuration>
<outputDirectory>${project.build.outputDirectory}/lib</outputDirectory>
        </configuration>
      </plugin>

-----Original Message-----
From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 6:40 PM
To: Maven Users List
Subject: Re: One more simple question

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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to