You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by EJ Ciramella <ej...@upromise.com> on 2007/02/21 02:14:20 UTC
castor m2 plugin
Is anyone using this?
I have a child node that people would like to convert from an ant based
castor generated build to a m2 build.
I have this:
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>castor-maven-plugin</artifactId>
<version>1.0</version>
<executions>
<execution>
<phase>generate-sources</phase>
<goals>
<goal>generate</goal>
</goals>
</execution>
</executions>
</plugin>
And wind up with this:
-----------------------------------------------------
this realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
urls[0] =
file:/E:/work/m2/Repository/org/codehaus/mojo/castor-maven-plugin/1.0/ca
stor-maven-plugin-1.0.jar
Number of imports: 0
this realm = plexus.core.maven
urls[0] = file:/E:/buildtools/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
urls[1] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
r
urls[2] = file:/E:/buildtools/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
urls[3] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
urls[4] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.
jar
urls[5] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
urls[6] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4
.jar
urls[7] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
urls[8] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
urls[9] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
urls[10] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4
.jar
urls[11] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-parameter-docume
nter-2.0.4.jar
urls[12] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.j
ar
urls[13] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
urls[14] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
urls[15] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
urls[16] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-repository-metadata-2.0
.4.jar
urls[17] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-settings-2.0.4.jar
urls[18] = file:/E:/buildtools/maven-2.0.4/bin/../lib/perforce-1.jar
urls[19] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/plexus-interactivity-api-1.0-
alpha-4.jar
urls[20] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar
urls[21] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-http-lightweight-1.0-al
pha-6.jar
urls[22] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-
6.jar
urls[23] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-ssh-1.0-alpha-7.jar
urls[24] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-
6.jar
Number of imports: 0
this realm = plexus.core
urls[0] =
file:/E:/buildtools/maven-2.0.4/bin/../core/plexus-container-default-1.0
-alpha-9.jar
urls[1] =
file:/E:/buildtools/maven-2.0.4/bin/../core/plexus-utils-1.1.jar
Number of imports: 0
-----------------------------------------------------
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Internal error in the plugin manager executing goal
'org.codehaus.mojo:castor-maven-plugin:1.0:generate': Unable to find the
mojo 'org.cod
ehaus.mojo:castor-maven-plugin:1.0:generate' in the plugin
'org.codehaus.mojo:castor-maven-plugin'
org/exolab/castor/builder/SourceGenerator
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
RE: castor m2 plugin
Posted by "Manuel J. Recena Soto" <re...@eii.us.es>.
Hi EJ Ciramella:
On Wed, 21 Feb 2007 09:54:41 -0500, EJ Ciramella wrote
> Well I continue to get it.
>
> Any other suggestions guys?
Could you send us the result of "mvn -e [goals|phase]"?
If you prefer it send to my personal mail (recena@eii.us.es)
Regards,
>
> -----Original Message-----
> From: Manuel J. Recena Soto [mailto:recena@eii.us.es]
> Sent: Wednesday, February 21, 2007 4:40 AM
> To: Maven Users List
> Subject: Re: castor m2 plugin
>
> Hi EJ Ciramella:
>
> I did have this problem a days ago.
> I removed my .m2 folder and later executed a "mvn package" p.e.
>
> Regards
>
> On Tue, 20 Feb 2007 20:14:20 -0500, EJ Ciramella wrote
> > Is anyone using this?
> >
> > I have a child node that people would like to convert from an ant
> based
> > castor generated build to a m2 build.
> >
> > I have this:
> >
> > <plugin>
> > <groupId>org.codehaus.mojo</groupId>
> > <artifactId>castor-maven-plugin</artifactId>
> > <version>1.0</version>
> > <executions>
> > <execution>
> > <phase>generate-sources</phase>
> > <goals>
> > <goal>generate</goal>
> > </goals>
> > </execution>
> > </executions>
> > </plugin>
> >
> > And wind up with this:
> >
> > -----------------------------------------------------
> > this realm =
> app0.child-container[org.codehaus.mojo:castor-maven-plugin]
> > urls[0] =
> >
> file:/E:/work/m2/Repository/org/codehaus/mojo/castor-maven-plugin/1.0/ca
> > stor-maven-plugin-1.0.jar
> > Number of imports: 0
> >
> > this realm = plexus.core.maven
> > urls[0] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
> > urls[1] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
> > r
> > urls[2] = file:/E:/buildtools/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
> > urls[3] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
> > urls[4] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.
> > jar
> > urls[5] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
> > urls[6] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4
> > ..jar
> > urls[7] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
> > urls[8] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
> > urls[9] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
> > urls[10] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4
> > ..jar
> > urls[11] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-parameter-docume
> > nter-2.0.4.jar
> > urls[12] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.j
> > ar
> > urls[13] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
> > urls[14] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
> > urls[15] =
> >
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
> > urls[16] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-repository-metadata-
> > 2.0 ..4.jar urls[17] = file:/E:/buildtools/maven-
> > 2.0.4/bin/../lib/maven-settings-2.0.4.jar urls[18] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/perforce-1.jar urls[19] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/plexus-interactivity-api-
> > 1.0- alpha-4.jar urls[20] = file:/E:/buildtools/maven-
> > 2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar urls[21] =
> > file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-http-lightweight-
> > 1.0-al pha-6.jar urls[22] = file:/E:/buildtools/maven-
> > 2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-
> > 6.jar urls[23] = file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-
> > ssh-1.0-alpha-7.jar urls[24] = file:/E:/buildtools/maven-
> > 2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-
> > 6.jar Number of imports: 0
> >
> > this realm = plexus.core
> > urls[0] =
> > file:/E:/buildtools/maven-2.0.4/bin/../core/plexus-container-default-
> > 1.0 -alpha-9.jar urls[1] = file:/E:/buildtools/maven-
> > 2.0.4/bin/../core/plexus-utils-1.1.jar Number of imports: 0
> > -----------------------------------------------------
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [ERROR] BUILD ERROR
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] Internal error in the plugin manager executing goal
> > 'org.codehaus.mojo:castor-maven-plugin:1.0:generate': Unable to find
> > the mojo 'org.cod ehaus.mojo:castor-maven-plugin:1.0:generate' in
> > the plugin 'org.codehaus.mojo:castor-maven-plugin'
> org/exolab/castor/builder/SourceGenerator
> > [INFO]
> >
> ------------------------------------------------------------------------
> > [INFO] For more information, run Maven with the -e switch
> > [INFO]
> >
> ------------------------------------------------------------------------
>
> --
> Manuel J. Recena Soto
> * www.manuelrecena.com[/blog]
> * recena@eii.us.es
> * +34 609710280 (ES)
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
--
Manuel J. Recena Soto
* www.manuelrecena.com[/blog]
* recena@eii.us.es
* +34 609710280 (ES)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: castor m2 plugin
Posted by EJ Ciramella <ej...@upromise.com>.
Well I continue to get it.
Any other suggestions guys?
-----Original Message-----
From: Manuel J. Recena Soto [mailto:recena@eii.us.es]
Sent: Wednesday, February 21, 2007 4:40 AM
To: Maven Users List
Subject: Re: castor m2 plugin
Hi EJ Ciramella:
I did have this problem a days ago.
I removed my .m2 folder and later executed a "mvn package" p.e.
Regards
On Tue, 20 Feb 2007 20:14:20 -0500, EJ Ciramella wrote
> Is anyone using this?
>
> I have a child node that people would like to convert from an ant
based
> castor generated build to a m2 build.
>
> I have this:
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>castor-maven-plugin</artifactId>
> <version>1.0</version>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <goals>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> And wind up with this:
>
> -----------------------------------------------------
> this realm =
app0.child-container[org.codehaus.mojo:castor-maven-plugin]
> urls[0] =
>
file:/E:/work/m2/Repository/org/codehaus/mojo/castor-maven-plugin/1.0/ca
> stor-maven-plugin-1.0.jar
> Number of imports: 0
>
> this realm = plexus.core.maven
> urls[0] =
file:/E:/buildtools/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
> urls[1] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
> r
> urls[2] = file:/E:/buildtools/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
> urls[3] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
> urls[4] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.
> jar
> urls[5] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
> urls[6] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4
> ..jar
> urls[7] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
> urls[8] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
> urls[9] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
> urls[10] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4
> ..jar
> urls[11] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-parameter-docume
> nter-2.0.4.jar
> urls[12] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.j
> ar
> urls[13] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
> urls[14] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
> urls[15] =
>
file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
> urls[16] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-repository-metadata-
> 2.0 ..4.jar urls[17] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/maven-settings-2.0.4.jar urls[18] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/perforce-1.jar urls[19] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/plexus-interactivity-api-
> 1.0- alpha-4.jar urls[20] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar urls[21] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-http-lightweight-
> 1.0-al pha-6.jar urls[22] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-
> 6.jar urls[23] = file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-
> ssh-1.0-alpha-7.jar urls[24] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-
> 6.jar Number of imports: 0
>
> this realm = plexus.core
> urls[0] =
> file:/E:/buildtools/maven-2.0.4/bin/../core/plexus-container-default-
> 1.0 -alpha-9.jar urls[1] = file:/E:/buildtools/maven-
> 2.0.4/bin/../core/plexus-utils-1.1.jar Number of imports: 0
> -----------------------------------------------------
> [INFO]
>
------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
>
------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.codehaus.mojo:castor-maven-plugin:1.0:generate': Unable to find
> the mojo 'org.cod ehaus.mojo:castor-maven-plugin:1.0:generate' in
> the plugin 'org.codehaus.mojo:castor-maven-plugin'
org/exolab/castor/builder/SourceGenerator
> [INFO]
>
------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
>
------------------------------------------------------------------------
--
Manuel J. Recena Soto
* www.manuelrecena.com[/blog]
* recena@eii.us.es
* +34 609710280 (ES)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: castor m2 plugin
Posted by "Manuel J. Recena Soto" <re...@eii.us.es>.
Hi EJ Ciramella:
I did have this problem a days ago.
I removed my .m2 folder and later executed a "mvn package" p.e.
Regards
On Tue, 20 Feb 2007 20:14:20 -0500, EJ Ciramella wrote
> Is anyone using this?
>
> I have a child node that people would like to convert from an ant based
> castor generated build to a m2 build.
>
> I have this:
>
> <plugin>
> <groupId>org.codehaus.mojo</groupId>
> <artifactId>castor-maven-plugin</artifactId>
> <version>1.0</version>
> <executions>
> <execution>
> <phase>generate-sources</phase>
> <goals>
> <goal>generate</goal>
> </goals>
> </execution>
> </executions>
> </plugin>
>
> And wind up with this:
>
> -----------------------------------------------------
> this realm = app0.child-container[org.codehaus.mojo:castor-maven-plugin]
> urls[0] =
> file:/E:/work/m2/Repository/org/codehaus/mojo/castor-maven-plugin/1.0/ca
> stor-maven-plugin-1.0.jar
> Number of imports: 0
>
> this realm = plexus.core.maven
> urls[0] = file:/E:/buildtools/maven-2.0.4/bin/../lib/commons-cli-1.0.jar
> urls[1] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/doxia-sink-api-1.0-alpha-7.ja
> r
> urls[2] = file:/E:/buildtools/maven-2.0.4/bin/../lib/jsch-0.1.24.jar
> urls[3] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-2.0.4.jar
> urls[4] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-artifact-manager-2.0.4.
> jar
> urls[5] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-core-2.0.4.jar
> urls[6] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-error-diagnostics-2.0.4
> ..jar
> urls[7] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-model-2.0.4.jar
> urls[8] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-monitor-2.0.4.jar
> urls[9] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-api-2.0.4.jar
> urls[10] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-descriptor-2.0.4
> ..jar
> urls[11] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-parameter-docume
> nter-2.0.4.jar
> urls[12] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-plugin-registry-2.0.4.j
> ar
> urls[13] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-profile-2.0.4.jar
> urls[14] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-project-2.0.4.jar
> urls[15] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-reporting-api-2.0.4.jar
> urls[16] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/maven-repository-metadata-
> 2.0 ..4.jar urls[17] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/maven-settings-2.0.4.jar urls[18] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/perforce-1.jar urls[19] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/plexus-interactivity-api-
> 1.0- alpha-4.jar urls[20] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-file-1.0-alpha-7.jar urls[21] =
> file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-http-lightweight-
> 1.0-al pha-6.jar urls[22] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-provider-api-1.0-alpha-
> 6.jar urls[23] = file:/E:/buildtools/maven-2.0.4/bin/../lib/wagon-
> ssh-1.0-alpha-7.jar urls[24] = file:/E:/buildtools/maven-
> 2.0.4/bin/../lib/wagon-ssh-external-1.0-alpha-
> 6.jar Number of imports: 0
>
> this realm = plexus.core
> urls[0] =
> file:/E:/buildtools/maven-2.0.4/bin/../core/plexus-container-default-
> 1.0 -alpha-9.jar urls[1] = file:/E:/buildtools/maven-
> 2.0.4/bin/../core/plexus-utils-1.1.jar Number of imports: 0
> -----------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Internal error in the plugin manager executing goal
> 'org.codehaus.mojo:castor-maven-plugin:1.0:generate': Unable to find
> the mojo 'org.cod ehaus.mojo:castor-maven-plugin:1.0:generate' in
> the plugin 'org.codehaus.mojo:castor-maven-plugin'
org/exolab/castor/builder/SourceGenerator
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
--
Manuel J. Recena Soto
* www.manuelrecena.com[/blog]
* recena@eii.us.es
* +34 609710280 (ES)
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org