Hmm, I actually assumed you'd be able to set the basedir property on
the jar plugin, but I just tried it and apparently basedir is read
only. It's the one that controls what directory the jar goes. Since
its value comes from ${project.build.directory} that means you could
add
<build>
<directory>WEB-INF/lib</directory>
</build>
to your pom, but that would put the classes directory and everything
else into there. I'm going to have to defer to a more expert user of
maven on this one.
Charlie
On 6/5/06, Eugeny N Dzhurinsky <[EMAIL PROTECTED]> wrote:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<id>jar</id>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<outputDirectory>WEB-INF/lib</outputDirectory>
</configuration>
</execution>
</executions>
</plugin>
For some reason that configuration does not force maven to store JAR in
WEB-INF/lib directory.
--
Eugene N Dzhurinsky
---------------------------------------------------------------------
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]