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