Hello, I'm just starting to use maven, I started using it a few weeks ago. Currently I'm optimizing intergration of maven. That is why I would like to use the maven-tomcat-plugin.
After spending some time on the web and mailinglist, I did make some progress but it is still not working, see error below: 2/22/06 11:56:11 AM CET: Reading /codetableadmin/pom.xml 2/22/06 11:56:11 AM CET: [WARN] While downloading servletapi:servlet-api:2.4-20040521 This artifact has been relocated to javax.servlet:servlet-api:2.4-20040521. 2/22/06 11:56:11 AM CET: [INFO] snapshot org.codehaus.mojo:mojo-sandbox:1.0-SNAPSHOT: checking for updates from mojo 2/22/06 11:56:12 AM CET: [WARN] repository metadata for: 'snapshot org.codehaus.mojo:mojo-sandbox:1.0-SNAPSHOT' could not be retrieved from repository: mojo due to an error: Error transferring file 2/22/06 11:56:12 AM CET: [INFO] Repository 'mojo' will be blacklisted 2/22/06 11:56:12 AM CET: required artifacts missing: org.codehaus.mojo:mojo-sandbox:jar:1.0-SNAPSHOT for the artifact: nl.ictu.spg.presentation.spgmonitor:codetableadmin-1.0-SNAPSHOT.war 2/22/06 11:56:12 AM CET: Project build error Duplicate project ID found in C:\Documents and Settings\DomingoR\My Documents\dev\codetableadmin\pom.xml This is my pom: <?xml version="1.0"?> <project name="codetableadmin"> <modelVersion>4.0.0</modelVersion> <groupId>nl.ictu.spg.presentation.spgmonitor</groupId> <artifactId>codetableadmin</artifactId> <packaging>war</packaging> <name>Maven Quick Start Archetype</name> <version>1.0-SNAPSHOT</version> <url>http://maven.apache.org</url> <repositories> <repository> <id>mojo</id> <name>Mojo Repository Switchboard</name> <layout>default</layout> <url>https://svn.codehaus.org/mojo/trunk/mojo</url> <snapshots> <enabled>true</enabled> </snapshots> </repository> </repositories> <pluginRepositories> <pluginRepository> <id>mojo</id> <name>Mojo Plugin Repository</name> <url>https://svn.codehaus.org/mojo/trunk/mojo</url> <layout>default</layout> <snapshots> <enabled>true</enabled> </snapshots> <releases> <updatePolicy>never</updatePolicy> </releases> </pluginRepository> </pluginRepositories> <build> <resources> <resource> <directory>src/main/resources</directory> </resource> </resources> <plugins> <plugin> <artifactId>maven-war-plugin</artifactId> <configuration> <warSourceDirectory>${basedir}/src/webapp</warSourceDirectory> </configuration> </plugin> </plugins> </build> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>3.8.1</version> <scope>test</scope> </dependency> <dependency> <groupId>myfaces</groupId> <artifactId>myfaces-all</artifactId> <version>1.1.1</version> </dependency> <dependency> <groupId>servletapi</groupId> <artifactId>servlet-api</artifactId> <version>2.4-20040521</version> </dependency> <dependency> <groupId>org.codehaus.mojo</groupId> <artifactId>mojo-sandbox</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> </project> thanks in advance, raymond
