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]

Reply via email to