Mismatch with dependency name when using goal test-jar ------------------------------------------------------
Key: MJAR-65 URL: http://jira.codehaus.org/browse/MJAR-65 Project: Maven 2.x Jar Plugin Issue Type: Bug Affects Versions: 2.1 Environment: maven 2.0.4 and 2.1 of the jar plugin Reporter: Julian Payne Priority: Blocker I am trying to do what is described on the wiki to deploy the test jar of a project: http://maven.apache.org/guides/mini/guide-attached-tests.html When I do this and I deploy it deploys the following file in the directory SNAPSHOT (along with the checksums and the metadata): jviews-chart-20070105.141546-1-tests.jar I then have a second project that has the following dependency: <dependency> <groupId>jviews</groupId> <artifactId>jviews-chart</artifactId> <scope>test</scope> <type>tests.jar</type> <version>SNAPSHOT</version> </dependency> However when I run mvn on this project I get the following error: Downloading: http://jviewstest.ilog.fr/jviews-m2/jviews/jviews-chart/SNAPSHOT/jviews-chart-20070105.141546-1.tests.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) jviews:jviews-chart:tests.jar:SNAPSHOT NOTE: it is trying to download the file "jviews-chart-20070105.141546-1.tests.jar" whereas the file that was deployed is called "jviews-chart-20070105.141546-1-tests.jar". -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira