"Missing 'scm' element in the POM" after a restart
--------------------------------------------------
Key: CONTINUUM-246
URL: http://jira.codehaus.org/browse/CONTINUUM-246
Project: Continuum
Type: Bug
Versions: 1.0-alpha-3
Reporter: jeremi Joslin
I add my pom.xml, all is Ok, my 3 projects are added and compile.
my pom : https://svn.codehaus.org/oxyd/trunk/pom.xml
after a restart of the server, i have this error at the build : Missing 'scm'
element in the POM.
---------------
org.apache.maven.continuum.execution.ContinuumBuildExecutorException:
Error while mapping metadata.
=09at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.u=
pdateProjectFromCheckOut(MavenTwoBuildExecutor.java:92)
=09at org.apache.maven.continuum.core.action.UpdateProjectFromWorkingDirect=
oryContinuumAction.execute(UpdateProjectFromWorkingDirectoryContinuumAction=
.java:45)
=09at org.apache.maven.continuum.buildcontroller.DefaultBuildController.bui=
ld(DefaultBuildController.java:183)
=09at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.e=
xecuteTask(BuildProjectTaskExecutor.java:50)
=09at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Exe=
cutorRunnable.run(ThreadedTaskQueueExecutor.java:103)
=09at java.lang.Thread.run(Thread.java:534)
Caused by: org.apache.maven.continuum.execution.maven.m2.MavenBuilderHelper=
Exception:
Missing 'scm' element in the POM.
=09at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelp=
er.getMavenProject(DefaultMavenBuilderHelper.java:203)
=09at org.apache.maven.continuum.execution.maven.m2.DefaultMavenBuilderHelp=
er.mapMetadataToProject(DefaultMavenBuilderHelper.java:77)
=09at org.apache.maven.continuum.execution.maven.m2.MavenTwoBuildExecutor.u=
pdateProjectFromCheckOut(MavenTwoBuildExecutor.java:88)
=09... 5 more
------------------
I have to delete all projects and to re-add it. after, it works until the next
server restart.
--
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