Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 2.1
-
Fix Version/s: 2.1
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
It is not possible to create an upload bundle without specifying <project>/<scm>/<connection>.
Some projects are not under source control, or the source may not be accessible by the public, so this element should not be required.
To reproduce:
$ mvn archetype:create -DartifactId=test -DgroupId=com.example
$ cd test
$ mvn repository:bundle-create
...
[INFO] [repository:bundle-create]
[INFO] ---------------------------------------------
[ERROR] BUILD ERROR
[INFO] ---------------------------------------------
[INFO] Project scm element is null.
[INFO] ---------------------------------------------
After adding <scm>/<url> to pom.xml:
$ mvn repository:bundle-create
...
[INFO] [repository:bundle-create]
[INFO] ----------------------------------------------
[ERROR] BUILD ERROR
[INFO] ----------------------------------------------
[INFO] project.scm.connection must be present.
[INFO] ----------------------------------------------
Issue Links
| This issue relates to: | ||||
| MREPOSITORY-19 | Require SCM information to help tooling for project materialization from the repository |
|
|
|
I agree, limitation removed for version 2.1