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]