zalym schrieb:
I followed the attached tests guide to create a dependency to my core tests.
The first part of the tutorial worked, and I could install a version of the
test jar in the local repository as models-3.0-tests.jar. When I tried to
add this as a dependency in another project, it came up with a dependency
missing error and when I noticed this in the message:
models-3.0.tests
What could be wrong? Why would the dependency be resolbed with a period and
not a hyphen.
This is most probably a bug in the documentation. Looking at the mojo's
source code [1] shows that the artifact is created with a type of
'test-jar' and the classifier 'tests'.
You should try to use 'test-jar' as the type in your dependency
declaration or respectivly skip the type declaration and use a
<classifier>tests</classifier> element in the declaration.
Please report this as a bug in jira [2] and provide the correct
dependency declaration to use.
Appreciate your help.
-Tim
[1]
https://svn.apache.org/repos/asf/maven/plugins/trunk/maven-jar-plugin/src/main/java/org/apache/maven/plugin/jar/TestJarMojo.java
[2] http://jira.codehaus.org/browse/MNGSITE
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]