You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "fabrizio giustina (JIRA)" <ji...@codehaus.org> on 2007/01/06 19:48:09 UTC

[jira] Closed: (MREPOSITORY-2) project.scm.connection should not be required for bundle-create

     [ http://jira.codehaus.org/browse/MREPOSITORY-2?page=all ]

fabrizio giustina closed MREPOSITORY-2.
---------------------------------------

         Assignee: fabrizio giustina
       Resolution: Fixed
    Fix Version/s: 2.1

I agree, limitation removed for version 2.1

> project.scm.connection should not be required for bundle-create
> ---------------------------------------------------------------
>
>                 Key: MREPOSITORY-2
>                 URL: http://jira.codehaus.org/browse/MREPOSITORY-2
>             Project: Maven 2.x Repository Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Wendy Smoak
>         Assigned To: fabrizio giustina
>             Fix For: 2.1
>
>
> 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] ----------------------------------------------

-- 
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