I think you're original was correct, and the bug has been fixed in beta-1. On 7/18/05, Vasyl Stashuk <[EMAIL PROTECTED]> wrote: > Hi, Allan! > > Thanks for your reply. > > When I change parent POM group id it says: > > [WARNING] Unable to get resource from repository http://repo1.maven.org/maven2 > Downloading: > http://devel.priocom.com:9999/repository/com.priocom.test/poms/maven-plugin-parent-2.0-alpha-3.pom > [WARNING] Unable to get resource from repository > http://devel.priocom.com:9999/repository > > Vasyl. > > On 7/18/05, Allan Ramirez <[EMAIL PROTECTED]> wrote: > > Vasyl Stashuk wrote: > > > > >Hi! > > > > > >I'm writing a custom plugin for M2. Here's the fragment of the plugin pom: > > > > > ><project> > > > <parent> > > > <artifactId>maven-plugin-parent</artifactId> > > > <groupId>org.apache.maven.plugins</groupId> > > > <version>2.0-alpha-3</version> > > > </parent> > > > > > > <modelVersion>4.0.0</modelVersion> > > > > > > <groupId>com.priocom.ftest</groupId> > > > <artifactId>maven-ftest-plugin</artifactId> > > > <packaging>maven-plugin</packaging> > > > <version>1.0-SNAPSHOT</version> > > >... > > ></project> > > > > > >And POM from the project using that plugin: > > > > > ><project> > > >... > > > <build> > > > <plugins> > > > <plugin> > > > <groupId>com.priocom.ftest</groupId> > > > <artifactId>maven-ftest-plugin</artifactId> > > > <version>1.0-SNAPSHOT</version> > > > </plugin> > > > </plugins> > > > </build> > > ></project> > > > > > >When running m2 install on plugin project, plugin successfully gets > > >installed in local > > >repository on path > > >/home/vasyas/.m2/repository/com/priocom/ftest/maven-ftest-plugin/1.0-SNAPSHOT/maven-ftest-plugin-1.0-SNAPSHOT.jar > > > > > >When running m2 on project that uses plugin, following error is produced: > > >java.io.FileNotFoundException: > > >http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-ftest-plugin/maven-ftest-plugin-RELEASE.version.txt. > > > > > >Everything works fine, if plugin group in both POMs is declared as > > >"org.apache.maven.plugins". > > > > > >Thanks in advance, > > >Vasyl Stashuk. > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > Hi Vasyl, > > > > try this, > > In your <parent> section, change the groupId to com.priocom.ftest > > > > <project> > > <parent> > > <artifactId>maven-plugin-parent</artifactId> > > <groupId>org.apache.maven.plugins</groupId> <!-- change this > > element to com.priocom.ftest --> > > <version>2.0-alpha-3</version> > > </parent> > > > > <modelVersion>4.0.0</modelVersion> > > > > <groupId>com.priocom.ftest</groupId> > > <artifactId>maven-ftest-plugin</artifactId> > > <packaging>maven-plugin</packaging> > > <version>1.0-SNAPSHOT</version> > > ... > > </project> > > > > -allan > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > All the best, > Vasyl Stashuk > > --------------------------------------------------------------------- > 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]