Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] m2e-core 0.12.0 regression: "Guice provision errors"

We _are_ moving to eclipse infrastructure, but have not moved jira yet.
We'll announce new m2e bug tracking details on the mailing lists when we
complete this work.

--
Regards,
Igor

On 10-11-04 11:37 AM, Anders Hammar wrote:
Thanks! I wasn't sure if you were still using Sonatype's jira as you're
moving into Eclipse land.

/Anders

On Thu, Nov 4, 2010 at 16:34, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

    I've opened https://issues.sonatype.org/browse/MNGECLIPSE-2507 to
    track this.

    --
    Regards,
    Igor


    On 10-11-04 11:12 AM, Anders Hammar wrote:

        For a very simple project using the modello-plugin, I get the
        following
        error when executing Run As Maven install with the staged
        0.12.0.20101102-1505 version of m2e-core:

        [ERROR] Failed to execute goal
        org.codehaus.modello:modello-maven-plugin:1.4.1:java (myModel) on
        project modello-regression: Execution myModel of goal
        org.codehaus.modello:modello-maven-plugin:1.4.1:java failed: Guice
        provision errors:
        [ERROR]
        [ERROR] 1) Error injecting:
        org.codehaus.modello.plugin.java.JavaModelloGenerator
        [ERROR] at
        ClassRealm[plugin>org.codehaus.modello:modello-maven-plugin:1.4.1,
        parent: ClassRealm[maven.api, parent: null]]
        [ERROR] while locating org.codehaus.modello.plugin.ModelloGenerator
        annotated with @com.google.inject.name.Named(value=java)
        [ERROR]
        [ERROR] 1 error: Guice provision errors:
        [ERROR]
        [ERROR] 1) Error notifying InjectionListener
        org.sonatype.guice.plexus.binders.PlexusBeanBinder@3dae160 of
        org.codehaus.modello.plugin.java.JavaModelloGenerator.
        [ERROR] Reason: java.lang.ClassCastException:
        org.sonatype.plexus.build.incremental.DefaultBuildContext cannot
        be cast
        to org.sonatype.plexus.build.incremental.BuildContext
        [ERROR] while locating
        org.codehaus.modello.plugin.java.JavaModelloGenerator
        [ERROR]
        [ERROR] 1 error
        [ERROR] -> [Help 1]
        [ERROR]
        [ERROR] To see the full stack trace of the errors, re-run Maven
        with the
        -e switch.
        [ERROR] Re-run Maven using the -X switch to enable full debug
        logging.
        [ERROR]
        [ERROR] For more information about the errors and possible
        solutions,
        please read the following articles:
        [ERROR] [Help 1]
        http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException

        I'm using the embedded version of Maven 3.
        The same project works with the old 0.10.2.20100623-1649 version of
        m2e-core. It also works just fine with Maven 3.0 from command line.

        The project can be found here:
        http://dl.dropbox.com/u/5695604/modello-regression.zip

        One weird thing though is that building a more complex project like
        maven-assembly-plugin that uses the modello-plugin works. I don't
        understand the difference. But the test project should help
        determining
        if it's a local issue at my machine.

        /Anders



        _______________________________________________
        m2e-users mailing list
        m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
        https://dev.eclipse.org/mailman/listinfo/m2e-users

    _______________________________________________
    m2e-users mailing list
    m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
    https://dev.eclipse.org/mailman/listinfo/m2e-users




_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users


Back to the top