mvn scm:bootstrap -DconnectionUrl=yourcvsurl -Dgoals=install

On 2/26/07, Ross, Bryan M <[EMAIL PROTECTED]> wrote:

I am just trying to get started with M2. My source files are managed in
CVS, and when I do a compile, I want to compile with the latest versions
of my files in src. Essentially, I want to do a CVS update prior to
compiling class files. I have attempted to use SNAPSHOT versions along
with the -U flag (i.e., mvn -U compile)  to ensure I get the latest, but
I must still not be doing something right, because I don't get updated
files from the source repository. Any guidance would be greatly
appreciated. Thanks.

My POM:
project xmlns="http://maven.apache.org/POM/4.0.0";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0
http://maven.apache.org/maven-v4_0_0.xsd";>
<modelVersion>4.0.0</modelVersion>
<groupId>project.agps</groupId>
<artifactId>jagps-maven</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>Maven Quick Start Archetype</name>
<url>http://maven.apache.org</url>
<dependencies>
   <dependency>
     <groupId>junit</groupId>
     <artifactId>junit</artifactId>
     <version>3.8.1</version>
     <scope>test</scope>
   </dependency>
   <dependency>
     <groupId>lib</groupId>
     <artifactId>VisLib.jar</artifactId>
     <version>1.0-SNAPSHOT</version>
   </dependency>
   <dependency>
...a bunch of other libraries...
     <groupId>lib</groupId>
     <artifactId>utils.jar</artifactId>
     <version>1.0-SNAPSHOT</version>
   </dependency>
</dependencies>
<build>
   <plugins>
     <plugin>
       <groupId>org.apache.maven.plugins</groupId>
       <artifactId>maven-compiler-plugin</artifactId>
       <version>2.0</version>
       <configuration>
         <source>1.5</source>
         <target>1.5</target>
       </configuration>
     </plugin>
   </plugins>
</build>
</project>





Thanks...



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to