[ http://jira.codehaus.org/browse/MNGSITE-98?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNGSITE-98. ------------------------------------ Assignee: Benjamin Bentmann Resolution: Fixed Fixed in [r821533|http://svn.apache.org/viewvc?view=rev&revision=821533]. > Correction to the Maven POM Reference - install:install-file example misses > "-Dpackaging=jar" > ---------------------------------------------------------------------------------------------- > > Key: MNGSITE-98 > URL: http://jira.codehaus.org/browse/MNGSITE-98 > Project: Maven 2 Project Web Site > Issue Type: Bug > Reporter: Yuri Volkov > Assignee: Benjamin Bentmann > Priority: Minor > > In http://maven.apache.org/pom.html#Dependencies > Using the example: > --- > ...There are three methods for dealing with this scenario. > Install the dependency locally using the install plugin. The method is the > simplest recommended method. For example: > mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group > -DartifactId=non-maven-proj -Dversion=1 > --- > - end in maven build error: > "Missing group, artifact, version, or packaging information". > To fix this problem, "-Dpackaging=jar" should be added to the command line. > The correct example command is: > --- > mvn install:install-file -Dfile=non-maven-proj.jar -DgroupId=some.group > -DartifactId=non-maven-proj -Dversion=1 -Dpackaging=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