Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] org.sonatype.tycho:maven-tycho-plugin:generate-poms outdated?

On 04/26/2012 11:19 AM, Moritz Maisel wrote:

> That's what I already tried, I just gave it another try with
> 
> mvn org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0:generate-poms
> -DgroupId=[GROUP] -Dtycho.targetPlatform=[TARGET]
> 
> but still get the error (see below).

I have no problems with it but had never used targetPlatform parameter,
could you try without 'tycho.targetPlatform' parameter?

> [ERROR] Failed to execute goal
> org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0:generate-poms
> (default-cli) on project standalone-pom: Execution default-cli of goal
> org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0:generate-poms
> failed: Unable to load the mojo 'generate-poms' (or one of its
> required components) from the plugin
> 'org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0':
> com.google.inject.ProvisionException: Guice provision errors:
> 
> 1) Error injecting: org.eclipse.tycho.pomgenerator.GeneratePomsMojo
>   at ClassRealm[plugin>org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0,
> parent: ClassRealm[maven.api, parent: null]]
>   while locating org.apache.maven.plugin.Mojo annotated with
> @com.google.inject.name.Named(value=org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0:generate-poms)
> 
> 1 error
>       role: org.apache.maven.plugin.Mojo
>   roleHint: org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0:generate-poms:
> Guice provision errors:
> 
> 1) No implementation for org.codehaus.plexus.logging.Logger was bound.
>   at ClassRealm[plugin>org.eclipse.tycho:tycho-pomgenerator-plugin:0.12.0,
> parent: ClassRealm[maven.api, parent: null]]
>   while locating org.eclipse.tycho.core.osgitools.EquinoxResolver
>   while locating org.eclipse.tycho.pomgenerator.GeneratePomsMojo

I saw similar errors during Maven's migration to newer Aether (?).
Anyway, there are some differences in dependency resolution in different
minor versions of Maven 3. What about your exact version of Maven 3?

-- 
Mykola

http://ua.linkedin.com/in/manandbytes
https://github.com/manandbytes/


Back to the top