mvn 3.0.2

my pom.xml has following structure:
...
build/plugins/plugin/maven-jar-plugin
   execution/configuration/
       <classesDirectory>target/classesw</...
   execution/configuration
       <classifier>compile</...
       <classesDirectory>target/classes</...

i'm running ant-task during compile which produces following dirs:
  target/classesw
  target/classes

now, running package phase, produces two jars:
aa.jar and aa-compile.jar

but their content is identical.

build trace reveals classesDir is not used:
...
[DEBUG]   (f) classesDirectory = .../target/classes
...
[DEBUG]   (f) classesDirectory = .../target/classes
[DEBUG]   (f) classifier = compile
...

why is jar-plugin not recognising the classesDirectory setting?

fikin

p.s. if i "move" the configuration up, under maven-jar-plugin, it honours it.
but that does not help me, because second jar has to pack files from other dir.

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

Reply via email to