Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.3
-
None
Description
When I tried to create a bundle, I got the following error:
$ mvn repository:bundle-create
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] project.scm.url must be present.
Yet, my pom has this value:
...
<scm>
<connection>http://github.com/cbeust/jcommander</connection>
The bug is the error message: what is missing is "project.scm.connection", not "url". Adding this tag fixed the problem:
<scm>
<url>http://github.com/cbeust/jcommander</url>
<connection>http://github.com/cbeust/jcommander</connection>
</scm>
Attachments
Issue Links
- is duplicated by
-
MREPOSITORY-21 'project.scm.url must be present' error message typo - should be 'project.scm.connection must be present'
- Closed