Bug 667625

Summary: mvn-local downloads files from the remote repo
Product: [Fedora] Fedora Reporter: Alexander Kurtakov <akurtako>
Component: mavenAssignee: Stanislav Ochotnicky <sochotni>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: rawhideCC: akurtako, java-sig-commits, sochotni
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-01-12 11:04:12 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Alexander Kurtakov 2011-01-06 09:34:59 UTC
Look at the following snippet:
mvn3-local -e -Dmaven2.jpp.mode=true -Dmaven.repo.local=/home/akurtakov/work/rpmeditor-demo/maven-assembly-plugin/maven-assembly-plugin-2.2/.m2/repository -Dmaven2.jpp.depmap.file=/home/akurtakov/work/rpmeditor-demo/maven-assembly-plugin/maven-assembly-plugin-jpp-depmap.xml -Dmaven.test.skip=true install javadoc:javadoc
/usr/lib/jvm/java
[INFO] Error stacktraces are turned on.
[INFO] Scanning for projects...
Downloading: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml
Downloading: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml
Downloaded: http://repo1.maven.org/maven2/org/codehaus/mojo/maven-metadata.xml (17 KB at 9.1 KB/sec)
Downloaded: http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-metadata.xml (9 KB at 4.5 KB/sec)
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building Maven Assembly Plugin 2.2

This maven-metadata.xml files contain the mapping that let's Maven know which plugin to use for given commant prefix. e.g. maven-ant-plugin for ant: commands.

Comment 1 Stanislav Ochotnicky 2011-01-12 11:04:12 UTC
Fixed in http://koji.fedoraproject.org/koji/taskinfo?taskID=2716601