Return-Path: Delivered-To: apmail-maven-issues-archive@locus.apache.org Received: (qmail 5815 invoked from network); 17 Mar 2007 20:49:56 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 17 Mar 2007 20:49:56 -0000 Received: (qmail 46381 invoked by uid 500); 17 Mar 2007 20:50:03 -0000 Delivered-To: apmail-maven-issues-archive@maven.apache.org Received: (qmail 46326 invoked by uid 500); 17 Mar 2007 20:50:03 -0000 Mailing-List: contact issues-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@maven.apache.org Delivered-To: mailing list issues@maven.apache.org Received: (qmail 46315 invoked by uid 99); 17 Mar 2007 20:50:03 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2007 13:50:03 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (herse.apache.org: local policy) Received: from [63.246.20.114] (HELO 63-246-20-114.contegix.com) (63.246.20.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 17 Mar 2007 13:49:54 -0700 Received: (qmail 21716 invoked by uid 89); 17 Mar 2007 20:49:33 -0000 Received: from unknown (HELO codehaus01.managed.contegix.com) (127.0.0.1) by smtp.domain.com with SMTP; 17 Mar 2007 20:49:33 -0000 Message-ID: <78680937.1174164573985.JavaMail.haus-jira@codehaus01.managed.contegix.com> Date: Sat, 17 Mar 2007 15:49:33 -0500 (CDT) From: "David Jencks (JIRA)" To: issues@maven.apache.org Subject: [jira] Created: (MNG-2880) dependency plugin has trouble recognizing that a dependency is in the repo when you specify a classifier MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org dependency plugin has trouble recognizing that a dependency is in the repo when you specify a classifier -------------------------------------------------------------------------------------------------------- Key: MNG-2880 URL: http://jira.codehaus.org/browse/MNG-2880 Project: Maven 2 Issue Type: Bug Components: Plugins and Lifecycle Affects Versions: 2.0.5 Reporter: David Jencks Brian Fox suggested opening this jira after an irc discussion. I'm trying to manipulate a zip (or tgz) distribution for my own evil purposes. I installed it in my local maven repo using the command maven suggested: mvn install:install-file -DgroupId=org.apache.roller -DartifactId=roller -Dversion=3.1-rc6 -Dpackaging=zip -Dfile=roller-war/apache-roller-3.1-rc6.zip it ended up: $ ls ~/.m2/repository/org/apache/roller/roller/3.1-rc6/roller-3.1-rc6.zip /Users/david/.m2/repository/org/apache/roller/roller/3.1-rc6/roller-3.1-rc6.zip I'm trying to unpack it with the dependency plugin: org.apache.maven.plugins maven-dependency-plugin unpack-distribution generate-resources unpack org.apache.roller roller bin zip 3.1-rc6 ${project.build.directory}/scratch and maven complains it can't find it: [INFO] Failed to resolve artifact. GroupId: org.apache.roller ArtifactId: roller Version: 3.1-rc6 Reason: System is offline. Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.roller -DartifactId=roller \ -Dversion=3.1-rc6 -Dpackaging=zip -Dfile=/path/to/file org.apache.roller:roller:zip:3.1-rc6 It turns out that if I remove the bin line from the dependency plugin config then maven can find the file. -- 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