This is probably because webstart-maven-plugin is in a webstart subfolder of the sandbox, so the effective path the to parent is ../../pom.xml. If you install the sandbox parent or add the snapshot repo to your settings or pom (see http://mojo.codehaus.org, bottom of page) then it will find the parent in the repo.
-----Original Message----- From: jerome lacoste [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 18, 2006 8:05 AM To: Maven Developers List Subject: plugin parent pom not found for multi-module plugin strange issue: building the keytool-maven-plugin (of type maven-plugin) without building the root plugin works ok. If I build the webstart-maven-plugin it does not, failing to find the plugin's parent pom. > mvn install [INFO] Scanning for projects... Downloading: file://${basedir}/tmp/m2repos/org/codehaus/mojo/mojo-sandbox/2-SNAPSHOT/ mojo-sandbox-2-SNAPSHOT.pom [WARNING] Unable to get resource from repository embedded (file://${basedir}/tmp/m2repos) [INFO] ------------------------------------------------------------------------ ---- [ERROR] FATAL ERROR [INFO] ------------------------------------------------------------------------ ---- [INFO] Failed to resolve artifact. GroupId: org.codehaus.mojo ArtifactId: mojo-sandbox Version: 2-SNAPSHOT Reason: Unable to download the artifact from any repository org.codehaus.mojo:mojo-sandbox:pom:2-SNAPSHOT from the specified remote repositories: .... Now the webstart-maven-plugin is a little bit special. It is a multi-module project with the following structure pom.xml mod1/ ... mod2/ ... plugin/ plugin/pom.xml the plugin/pom.xml references the mojo-sandbox 2-SNAPSHOT pom that it found one level beneath the plugin root directory. If I diff the keytool-maven-plugin/pom.xml and the webstart-maven-plugin/plugin/pom.xml I get the following: --- plugin/pom.xml 2006-01-18 14:00:24.000000000 +0100 +++ ../keytool-maven-plugin/pom.xml 2006-01-18 13:59:47.000000000 +0100 @@ -7,12 +7,12 @@ <version>2-SNAPSHOT</version> </parent> <modelVersion>4.0.0</modelVersion> - <artifactId>webstart-maven-plugin</artifactId> + <artifactId>keytool-maven-plugin</artifactId> <packaging>maven-plugin</packaging> - <version>1.0-SNAPSHOT</version> - <name>Maven Webstart Plugin</name> + <version>0.3-SNAPSHOT</version> + <name>Maven Keytool Plugin</name> <inceptionYear>2005</inceptionYear> - <url>http://mojo.codehaus.org/webstart-maven-plugin</url> + <url>http://mojo.codehaus.org/keytool-maven-plugin</url> ... So they look identical to me. Could the failure to find the plugin parent pom be linked to the fact that I am using modules in my plugin? Cheers, Jerome --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
