[ http://jira.codehaus.org/browse/MREPOSITORY-23?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann updated MREPOSITORY-23: ----------------------------------------- Affects Version/s: 2.3 > Wrong error message "[INFO] project.scm.url must be present." > ------------------------------------------------------------- > > Key: MREPOSITORY-23 > URL: http://jira.codehaus.org/browse/MREPOSITORY-23 > Project: Maven 2.x Repository Plugin > Issue Type: Bug > Affects Versions: 2.3 > Reporter: Cedric Beust > Assignee: Benjamin Bentmann > Fix For: 2.4 > > > 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> -- 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