mvn 3.0.2
my pom.xml has following structure:
...
build/plugins/plugin/maven-jar-plugin
execution=id1/configuration/
classesDirectory=target/classesw
execution=id2/configuration
classifier=compile
classesDirectory=target/classes
i'm running ant-task during compile which produces target/classesw out
of target/classes.
now, running package phase produces two jars:
aa.jar and aa-compile.jar. this is ok part.
but their content is identical. and this is the problem part.
build trace reveals classesDirectory is not being configured properly:
...
[DEBUG] (f) classesDirectory = .../target/classes
...
[DEBUG] (f) classesDirectory = .../target/classes
[DEBUG] (f) classifier = compile
...
why?
if i set maven-jar-plugin/configurator/classesDirectory, then the
plugin recognises it but the two executions are still with same dir.
any proposals how to workaround this?
fikin
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]