maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jamie Bisotti <jbiso...@gmail.com>
Subject Re: I always get: Goal "scm:checkout" does not exist in this project.
Date Wed, 14 Sep 2005 12:49:59 GMT
On 9/14/05, Ruud Wijnands <wijnands.ruud@gmail.com> wrote:
> 
> Hi,
> 
> I am using:
> - maven version 1.02
> - svn 1.1
> - a multiproject build with the following structure:
> trunk/project.xml
> trunk/build.properties
> trunk/project.projecties
> trunk/comp1/project.xml
> trunk/comp2/project.xml
> etc.
> 
> And I am trying to get a CruiseControl build running. This somehow fails
> with respect to my SCM settings I think.
> I checked out the repository manually with svn checkout
> https://project.company.com/svn/MyProject.
> I use trunk/project.xml for inheritance in the compx/projects.xml files.
> 
> When I run maven scm:update I always get the following error.
> BUILD FAILED
> Goal "scm:checkout" does not exist in this project.
> 
> -----------------
> The contents of build.properties is:
> maven.proxy.host=some.server.com
> maven.proxy.port=8080
> maven.scm.method=svn
> maven.scm.svn.root=https://project.company.com/svn/MyProject/trunk
> maven.scm.svn.module=MyProject
> maven.scm.url=scm:svn:https://project.company.com/svn/MyProject/trunk
> 
> maven.cruisecontrol.home=/usr/local/cruisecontrol-2.2.1
> maven.cruisecontrol.work.dir=/home/builder/ccbuild/
> maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory
> 
> maven.cruisecontrol.goals=scm:update|multiproject:clean|multiproject:install
> -----------------
> 
> The contents of project.properties is:
> maven.compile.source=1.4
> maven.compile.target=1.4
> maven.multiproject.basedir=${basedir}
> maven.multiproject.includes=**/project.xml
> maven.multiproject.excludes=project.xml
> maven.junit.fork=true
> -----------------
> 
> The content of trunk/project.xml is something like:
> <project>
> <groupId>main_group</groupId>
> <currentVersion>1.0</currentVersion>
> <organization>
> <name>My Company</name>
> </organization>
> <repository>
> <connection>scm:svn:https://project.company.com/svn/MyProject/trunk
> </connection>
> <url>https://project.company.com/svn/MyProject/trunk</url>
> </repository>
> <build>
> <nagEmailAddress>my.email@company.com</nagEmailAddress>
> <sourceDirectory>src/main/java</sourceDirectory>
> <unitTestSourceDirectory>src/test/java</unitTestSourceDirectory>
> <unitTest>
> <includes>
> <include>**/*Test.java</include>
> </includes>
> </unitTest>
> </build>
> </project>
> -----------------
> 
> The content of the compx/project.xml files is like this:
> <project>
> <extend>../project.xml</extend>
> <groupId>compgroup</groupId>
> <artifactId>compx</artifactId>
> <currentVersion>1.0</currentVersion>
> <name>compx</name>
> <dependencies>
> <dependency>
> <groupId>junit</groupId>
> <artifactId>junit</artifactId>
> <version>3.8.1</version>
> <scope>test</scope>
> </dependency>
> </dependencies>
> </project>
> 
> 
> Any ideas of what I am doing wrong?
> 
> 

You will need to update your SCM plugin; the one shipped with 1.0.2 does not 
support SVN.

-- 
Jamie Bisotti

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message