Continuum integrates really effortlessly with Maven and Subversion.
-----Message d'origine----- De : Mark Eramo [mailto:[EMAIL PROTECTED] Envoyé : vendredi 7 septembre 2007 16:28 À : Maven Users List Objet : Re: Maven 2 and Subversion Eric/Nick, Thanks for the information. I am fairly new to Maven so I am still trying to feel my way around. I will look at cruise control but I am also thinking about using the Ant plugin to just fetch the code from Subversion before I compile. I don't want to use Ant to much as I am trying to migrate from Ant to Maven but given some of the limitations, Ant is a nice compliment to Maven. I don't care about checking jars into Subversion because we store out binaries on a different server that is backed up. I figure why bloat the subversion repository with binaries so for me, I am just interested in fetching the code. Thanks, Mark Nick Stolwijk wrote: > Maybe try something like: > > <build> > [...] > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-scm-plugin</artifactId> > <version>1.0-SNAPSHOT</version> > <executions> > <execution > <http://maven.apache.org/ref/2.0.4/maven-model/maven.html#class_execution>> > > <id>Update scm</id> > <phase>validate</phase> > <goals>update</goals> > </execution> > </executions> > </plugin> > [...] > </plugins > [...] > </build> > But I don't think it is recommended to do it this way, maybe activate > it with a profile or indeed looking into a real continuous build server. > > Hth, > > Nick Stolwijk > > Eric Miles wrote: >> I'd recommend automating that via a system like Continuum or Cruise >> Control. I'm not sure there's any other way to do that directly with >> the POM or not... >> >> >> On Fri, 2007-09-07 at 10:06 -0400, Mark Eramo wrote: >> >> >>> Hello, >>> Can anyone point me to detailed information and maybe some >>> examples on how to integrate maven and subversion. Ideally I would >>> like to be able to have the build fetch the latest code from >>> subversion before I do the build. I have looked at the documentation >>> on the Maven site but I am looking for more information then that on >>> how to actually use the commands. >>> >>> Regards, >>> Mark >>> >>> >>> --------------------------------------------------------------------- >>> To unsubscribe, e-mail: [EMAIL PROTECTED] >>> For additional commands, e-mail: [EMAIL PROTECTED] >>> >>> >> >> > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
