tags:

views:

61

answers:

2

Is there something for maven like http://subclipse.tigris.org/svnant.html ? Something to automate your project updates without having to click update?

+2  A: 

The Maven SCM Plugin does support Subversion. Check the Usage page.

Pascal Thivent
A: 

There is always the possibility to run ant inside maven. Ant is much more powerful than maven in many respects, but maven excels in dependency management and ease of deployment. So if you need the power of ant inside maven, use the maven antrun plugin:

Taken from http://maven.apache.org/plugins/maven-antrun-plugin/usage.html :

<build>
<plugins>
  <plugin>
    <artifactId>maven-antrun-plugin</artifactId>
    <executions>
      <execution>
        <phase> <!-- a lifecycle phase --> </phase>
        <configuration>
          <tasks>

            <!--
              Place any Ant task here. You can add anything
              you can add between <target> and </target> in a
              build.xml.
            -->

          </tasks>
        </configuration>
        <goals>
          <goal>run</goal>
        </goals>
      </execution>
    </executions>
  </plugin>
</plugins>

Sean

seanizer