If you run with -X, it may give you more information about why it's invalid.
Just a thought. -john daniel.green wrote:
dgr...@dgreen-desktop:~/redacted_renovation/workspace/dto$ mvn compileb .... [WARNING] POM for 'com.redacted:utility:pom:1.0:compile' is invalid. It will be ignored for artifact resolution. Reason: Failed to validate POM for project com.redacted:utility at Artifact [com.redacted:utility:pom:1.0:compile] Downloading: http://10.1.102.139:8081/artifactory/repo/org/apache/maven/doxia/doxia-converter/1.1-SNAPSHOT/doxia-converter-1.1-SNAPSHOT.pom [INFO] [compiler:compile] [INFO] Nothing to compile - all classes are up to date [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 4 seconds [INFO] Finished at: Fri Jun 26 19:52:22 EDT 2009 [INFO] Final Memory: 8M/16M [INFO] ----------------------------------- Notice the warning regarding com.redacted:utility:pom:1.0. However I can compile com.redacted:utility without any complaints. I can also do a compile of the parent pom. dto/pom.xml: <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <groupId>com.redacted</groupId> <artifactId>maven</artifactId> <version>1.0</version> <relativePath>../maven/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>dto</artifactId> <name>${artifactId}</name> <url>../../${artifactId}/target/site</url> <version>1.0</version> <description>DTO</description> <dependencies> <dependency> <groupId>com.redacted</groupId> <artifactId>utility</artifactId> <version>1.0</version> </dependency> </dependencies> </project> And the one of utility/pom.xml <?xml version="1.0" encoding="UTF-8"?> <project> <parent> <groupId>com.redacted</groupId> <artifactId>maven</artifactId> <version>1.0</version> <relativePath>../maven/pom.xml</relativePath> </parent> <modelVersion>4.0.0</modelVersion> <artifactId>utility</artifactId> <name>${artifactId}</name> <url>../../${artifactId}/target/site</url> <version>1.0</version> <description>Utility</description> </project>
--------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org