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.


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.


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

    I've opened to
    track this.


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

        For a very simple project using the modello-plugin, I get the
        error when executing Run As Maven install with the staged 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] 1) Error injecting:
        [ERROR] at
        parent: ClassRealm[maven.api, parent: null]]
        [ERROR] while locating org.codehaus.modello.plugin.ModelloGenerator
        annotated with
        [ERROR] 1 error: Guice provision errors:
        [ERROR] 1) Error notifying InjectionListener
        org.sonatype.guice.plexus.binders.PlexusBeanBinder@3dae160 of
        [ERROR] Reason: java.lang.ClassCastException: cannot
        be cast
        [ERROR] while locating
        [ERROR] 1 error
        [ERROR] -> [Help 1]
        [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
        [ERROR] For more information about the errors and possible
        please read the following articles:
        [ERROR] [Help 1]

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

        The project can be found here:

        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
        if it's a local issue at my machine.


        m2e-users mailing list
        m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>

    m2e-users mailing list
    m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>

m2e-users mailing list

Back to the top