You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Simone Tripodi <si...@gmail.com> on 2010/12/21 13:02:45 UTC
mvn 3.0.1 & mavenone-plugin 1.2 cause Guice provision errors
Hi all,
just to let you know when using the mavenone-plugin some Guice
provision error occurs, follow the logs:
[exec] [ERROR] Failed to execute goal
org.apache.maven.plugins:maven-one-plugin:1.2:install-maven-one-repository
(default-cli) on project scarlet: Execution default-cli of goal
org.apache.maven.plugins:maven-one-plugin:1.2:install-maven-one-repository
failed: Unable to load the mojo 'install-maven-one-repository' (or one
of its required components) from the plugin
'org.apache.maven.plugins:maven-one-plugin:1.2':
com.google.inject.ProvisionException: Guice provision errors:
[exec] [ERROR]
[exec] [ERROR] 1) Error injecting:
org.apache.maven.plugins.mavenone.MavenOneRepositoryInstallMojo
[exec] [ERROR] at
ClassRealm[plugin>org.apache.maven.plugins:maven-one-plugin:1.2,
parent: sun.misc.Launcher$AppClassLoader@58fe64b9]
[exec] [ERROR] while locating org.apache.maven.plugin.Mojo
annotated with @com.google.inject.name.Named(value=org.apache.maven.plugins:maven-one-plugin:1.2:install-maven-one-repository)
[exec] [ERROR]
[exec] [ERROR] 1 error
[exec] [ERROR] role: org.apache.maven.plugin.Mojo
[exec] [ERROR] roleHint:
org.apache.maven.plugins:maven-one-plugin:1.2:install-maven-one-repository:
Guice provision errors:
[exec] [ERROR]
[exec] [ERROR] 1) No implementation for
org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
annotated with @Named(value=legacy) was bound.
[exec] [ERROR] while locating
org.apache.maven.plugins.mavenone.MavenOneRepositoryInstallMojo
Shall I fill a jira issue?
Many thanks in advance, have a nice day,
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn 3.0.1 & mavenone-plugin 1.2 cause Guice provision errors
Posted by Benjamin Bentmann <be...@udo.edu>.
Simone Tripodi wrote:
> thanks for your reply, does it mean that it won't be supported at all
> or there is a plan for the future to fix it?
https://cwiki.apache.org/MAVEN/maven-3x-compatibility-notes.html#Maven3.xCompatibilityNotes-LegacystyleRepositories
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: mvn 3.0.1 & mavenone-plugin 1.2 cause Guice provision errors
Posted by Simone Tripodi <si...@gmail.com>.
Hi Benjamin,
thanks for your reply, does it mean that it won't be supported at all
or there is a plan for the future to fix it?
Many thanks in advance!
Simo
http://people.apache.org/~simonetripodi/
http://www.99soft.org/
On Tue, Dec 21, 2010 at 1:14 PM, Benjamin Bentmann
<be...@udo.edu> wrote:
> Simone Tripodi wrote:
>
>> [exec] [ERROR] 1) No implementation for
>> org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
>> annotated with @Named(value=legacy) was bound.
>> [exec] [ERROR] while locating
>> org.apache.maven.plugins.mavenone.MavenOneRepositoryInstallMojo
>
> Neither the legacy repo layout nor the maven-one-plugin are supported by
> Maven 3.
>
>
> Benjamin
>
> ---------------------------------------------------------------------
> 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: mvn 3.0.1 & mavenone-plugin 1.2 cause Guice provision errors
Posted by Benjamin Bentmann <be...@udo.edu>.
Simone Tripodi wrote:
> [exec] [ERROR] 1) No implementation for
> org.apache.maven.artifact.repository.layout.ArtifactRepositoryLayout
> annotated with @Named(value=legacy) was bound.
> [exec] [ERROR] while locating
> org.apache.maven.plugins.mavenone.MavenOneRepositoryInstallMojo
Neither the legacy repo layout nor the maven-one-plugin are supported by
Maven 3.
Benjamin
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org