Does it work though? ;-)

Where Maven is concerned if it works, I'd use it.

----- Original Message ----- From: "EJ Ciramella" <[EMAIL PROTECTED]>
To: "Maven Users List" <users@maven.apache.org>
Sent: Friday, June 02, 2006 11:53 PM
Subject: RE: One more simple question


That would be a misuse of final name:

finalName   The filename (excluding the extension, and with no path
information) that the produced artifact will be called. The default
value is ${artifactId}-${version}.
-----Original Message-----
From: Max Cooper [mailto:[EMAIL PROTECTED] Sent: Friday, June 02, 2006 6:51 PM
To: Maven Users List
Subject: Re: One more simple question

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]


---------------------------------------------------------------------
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