I've checked it out, and when I tried to run mvn install on it, I got the
following exception:
W:\data\dev\cruisecontrol-maven-plugin>mvn install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Failed to resolve artifact.
GroupId: org.codehaus.mojo
ArtifactId: mojo-sandbox
Version: 2-SNAPSHOT
Reason: Unable to download the artifact from any repository
org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
[INFO]
------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
org.codeha
us.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:maven-plugin:1
.0-SNAPSHOT
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365)
at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:278)
at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115)
at org.apache.maven.cli.MavenCli.main(MavenCli.java:256)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke
(NativeMethodAccessorImpl.
java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke
(DelegatingMethodAcces
sorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java
:315)
at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
at org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java
:430)
at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.project.ProjectBuildingException: Cannot find
parent
: org.codehaus.mojo:mojo-sandbox for project:
null:cruisecontrol-maven-plugin:ma
ven-plugin:1.0-SNAPSHOT
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1161)
at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal
(Def
aultMavenProjectBuilder.java:674)
at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:416)
at org.apache.maven.project.DefaultMavenProjectBuilder.build
(DefaultMave
nProjectBuilder.java:192)
at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:515)
at org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java
:447)
at org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:351)
... 11 more
Caused by: org.apache.maven.project.ProjectBuildingException: POM '
org.codehaus.
mojo:mojo-sandbox' not found in repository: Unable to download the artifact
from
any repository
org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:513)
at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1157)
... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable
to download the artifact from any repository
org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT
from the specified remote repositories:
central (http://repo1.maven.org/maven2)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:136)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:63)
at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:467)
... 18 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
downl
oad the artifact from any repository
at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact
(Def
aultWagonManager.java:260)
at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:124)
... 20 more
[INFO]
------------------------------------------------------------------------
[INFO] Total time: < 1 second
[INFO] Finished at: Thu May 04 11:55:23 CEST 2006
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
I guess I must configure codehaus repository somewhere but I don't know how.
2006/5/4, Sebastien Arbogast <sebastien.arbogast@gmail.com>:
It's fine for Subversion and mail notifications. But are these the only
limitations of this development version ? In particular, is it safe to use
it on a multi-module project ?
2006/5/4, Kaare Nilsen < kaare.nilsen@gmail.com>:
There is one(cruisecontrol config generation) started at the mojo
project.
http://svn.mojo.codehaus.org/trunk/mojo/mojo-sandbox/cruisecontrol-maven-plugin/You can download this and install it manually and give it a go (though
very early in the dev process, and only supports subversion and mail
notifs), it will generate a cruisecontrol setup which will act the
same way as an add m2 project in continuum.
Also a mvn site:site on it will provide you with some documentation on
use.
/Kaare
On 04/05/06, Sebastien Arbogast wrote:Honestly, intuitively I have a small preference for CruiseControl. The only
thing that bothers me is the redundancy of information between the POM and
CC configuration file. So if there was a Maven2 plugin to generate the
latter from the former, as there was one for Maven1, that would be great.
2006/5/4, Kieran Brady <kieran.brady@teamcgi.net>:
We're using the latest CruiseControl with Maven 2 successfully - no
problem
configuring it. At the time I neeeded to implement a CI system back
in
October, Continuum wasn't mature enough and I couldn't realistically
put
it
forward as an option as I couldn't get it to work :) I haven't tried
Continuum since as CruiseControl has been happily doing multi-module
builds,
single projects, profiled builds, nightly builds running all
reports, on
demand builds and so on and so I've no reason to migrate.
A couple of links:
http://cruisecontrol.sourceforge.net/main/configxml.htmlhttp://jira.public.thoughtworks.org/browse/CC-363http://confluence.public.thoughtworks.org/display/CC/Home----- Original Message -----
From: "Alexandre Poitras" <alexandre.poitras@gmail.com>
To: "Maven Users List" < users@maven.apache.org>
Sent: Thursday, May 04, 2006 3:52 AM
Subject: Re: [m2] Continuum or CruiseControl as a CI server ?
Well Continuum does the job for me, never thought about switching.
What I like about continuum is that you can customize the goals
invoked during a build (for instance, clean site:deploy deploy). I
have never used cruise control but I heard it's hard to configure.
On 5/3/06, Sebastien Arbogast wrote:
I'm trying to find the best CI tool for a brand new Maven2-built
project
and
I'd like to have your experience feedback about which one to
choose
between
Continuum and CruiseControl.
I know that, as Continuum is a spin-off of Maven project it should
be
better
integrated with it. But on the other hand, CruiseControl seems
more
mature
to me, even if, to be honnest, I haven't tried any of them in a
real
situation yet. That's why I need something more concrete. Is there
any
Maven
2 cruisecontrol plugin somewhere as there was one for Maven 1 ?
What do
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
--
Sébastien Arbogast
The Epseelon Project :
http://www.epseelon.netBlog :
http://sebastien-arbogast.epseelon.netTagSpot :
http://www.tagspot.org--
Sébastien Arbogast
The Epseelon Project :
http://www.epseelon.netBlog :
http://sebastien-arbogast.epseelon.netTagSpot :
http://www.tagspot.org