Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Cannot Reproduce
-
Affects Version/s: 1.0-alpha-3
-
Fix Version/s: 1.0-alpha-4
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
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.
Maybe this has nothing to do with it but... your <scm><url> begins with a ':' Is it what you meant ?