For anyone else having this problem, it seems to be fixed in
maven-2.0.5-SNAPSHOT.
Best wishes,
Dean.
On 1/3/07, Dean Jones <[EMAIL PROTECTED]> wrote:
Hello all,
I'm having a problem trying to use the wagon-scm plugin. I have added
the following to my pom (in this case, a parent pom):
<build>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-scm</artifactId>
<version>1.0-beta-2-SNAPSHOT</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-manager-plexus</artifactId>
<version>1.0-SNAPSHOT</version>
</extension>
<extension>
<groupId>org.apache.maven.scm</groupId>
<artifactId>maven-scm-provider-svnexe</artifactId>
<version>1.0-SNAPSHOT</version>
</extension>
</extensions>
</build>
However, when I now try to build my project from the child pom, an
execution which uses the scm checkout goal stops working. The
execution is:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
<executions>
<execution>
<phase>validate</phase>
<configuration>
<checkoutDirectory>SOME_DIR</checkoutDirectory>
<connectionUrl>scm:svn:http://SOMEHOST/etc</connectionUrl>
<skipCheckoutIfExists>false</skipCheckoutIfExists>
</configuration>
<goals>
<goal>checkout</goal>
</goals>
</execution>
</executions>
</plugin>
The error I get is:
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal 'org.apache.maven.plu
gins:maven-scm-plugin:1.0-SNAPSHOT:checkout': Unable to find the mojo
'org.apache.
maven.plugins:maven-scm-plugin:1.0-SNAPSHOT:checkout' in the plugin
'org.apache.ma
ven.plugins:maven-scm-plugin'
Note that this execution starts working again if I comment out the
<extensions> element from the parent pom, and the wagon-scm plugin
works if I comment out the maven-scm-plugin <execution>. Also, the
problem arises even though the wagon-scm plugin is not (to my
knowledge) being used. I have also tried various versions of wagon-scm
and maven-scm-plugin, but the same problem always occurs. I have
attached the full stack trace of the error.
Thanks for any help,
Dean.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]