Details
-
Bug
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
Patch
Description
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
—