From: bryanr <bry...@bo...> - 2007-02-12 17:34:18
|
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> -- View this message in context: http://www.nabble.com/Getting-the-latest-versions-from-CVS-tf3189792.html#a8854794 Sent from the Maven Plugins - User mailing list archive at Nabble.com. |