Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] can't install eclipse plugin m2e connector for build-helper-maven-plugin

The easiest is probably to update your composite to provide m2e 1.1M3 or
just latest 1.1 M build. This also happens to be the best for m2e
community, so seems like a win-win approach ;-)

Otherwise you really need to limit jboss-tools repo to only provide
required stuff, so instead of referencing forge-sites/m2e-extra you need
to include required version of mavenarchiver in jbosstools or
m2e-wtp repo. This can done quite easily by adding mavenarchiver to the
feature that defines contents of one the two update sites.

--
Regards,
Igor

On 11-11-22 1:13 PM, Fred Bricon wrote:
The m2e-wtp update site is a composite pointing at the
m2eclipse-extras 0.15.0.201109290002 update site, because it requires
mavenarchiver 0.15.0+ to be installed. See contents
of compositeContent.xml/compositeArtifacts.xml

<children size='3'>
<child
location='http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/m2eclipse-wtp-0.14.0/'/
<http://download.jboss.org/jbosstools/updates/requirements/m2eclipse/m2eclipse-wtp-0.14.0/'/>>
<child location='http://download.eclipse.org/technology/m2e/releases/'/
<http://download.eclipse.org/technology/m2e/releases/'/>>
<child
location='http://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.15.0/N/0.15.0.201109290002/'/
<http://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.15.0/N/0.15.0.201109290002/'/>>
</children>

The mavenarchiver and buildhelper plugins obviously don't have the same
requirements, which causes these troubles.

My P2 knowledge is obviously very limited. Igor, if you have any
suggestions to setup this correctly, I'm all ears.

Regards,

Fred Bricon

On Tue, Nov 22, 2011 at 6:04 PM, Igor Fedorenko <igor@xxxxxxxxxxxxxx
<mailto:igor@xxxxxxxxxxxxxx>> wrote:

    You need to talk to JBossTools devs, for some reason that repository
    mixes m2e 1.0 with buildheler 0.15, which requires m2e 1.1.

    --
    Regards,
    Igor


    On 11-11-22 2:39 AM, tante anni wrote:

        I installed all from
        http://download.jboss.org/__jbosstools/updates/m2eclipse-__wtp
        <http://download.jboss.org/jbosstools/updates/m2eclipse-wtp> on
        a fresh
        downloaded inidigo. the version is: m2e - Maven Integration for
        Eclipse1.0.100.20110804-1717

        (i followed the steps here:
        http://code.google.com/p/__google-web-toolkit/wiki/__WorkingWithMaven
        <http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven>)

         > Date: Mon, 21 Nov 2011 13:25:08 -0500
         > From: igor@xxxxxxxxxxxxxx <mailto:igor@xxxxxxxxxxxxxx>
         > To: m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
         > Subject: Re: [m2e-users] can't install eclipse plugin m2e
        connector
        for build-helper-maven-plugin
         >
         > What is exact m2e version that you have installed and where
        did you
        get it?
         >
         > I just confirmed that m2e 1.0SR1 and 1.1M3 can both install
        buildhelper
         > connector, so it appears that you are either running an old
        1.1 build or
         > a custom m2e build.
         >
         > As a workaround, you should be able to install buildhelper
        connector
         > from [1], but I would strongly advice upgrading to either
        1.0SR1 or
        1.1M3.
         >
         > [1]
         >
        https://repository.sonatype.__org/content/repositories/__forge-sites/m2e-extras/0.14.0/__N/0.14.0.201109282148/
        <https://repository.sonatype.org/content/repositories/forge-sites/m2e-extras/0.14.0/N/0.14.0.201109282148/>

         >
         >
         > --
         > Regards,
         > Igor
         >
         > On 11-11-21 10:53 AM, tante anni wrote:
         > > i just tried to move from helios to maven with my gwt 2.4
        application.
         > >
         > > so i began to follow the steps
         > >
        here:http://code.google.com/p/__google-web-toolkit/wiki/__WorkingWithMaven
        <http://code.google.com/p/google-web-toolkit/wiki/WorkingWithMaven>
         > >
         > > but on step 3 - installing the feature "m2e connector for
         > > build-helper-maven-plugin" i get an error from Eclipse:
         > >
         > >
         > > " Cannot complete the install because one or more required
        items could
         > > not be found. Software being installed: m2e connector for
         > > build-helper-maven-plugin 0.15.0.201109290002
         > > (org.sonatype.m2e.buildhelper.__feature.feature.group
        0.15.0.201109290002)
         > > Missing requirement: m2e connector for
        build-helper-maven-plugin
         > > 0.15.0.201109290002 (org.sonatype.m2e.buildhelper
        0.15.0.201109290002)
         > > requires 'bundle org.eclipse.m2e.jdt [1.1.0,1.2.0)' but it
        could not be
         > > found Cannot satisfy dependency: From: m2e connector for
         > > build-helper-maven-plugin 0.15.0.201109290002
         > > (org.sonatype.m2e.buildhelper.__feature.feature.group
        0.15.0.201109290002)
         > > To: org.sonatype.m2e.buildhelper [0.15.0.201109290002] "
         > >
         > >
         > > (i also tried this: Window > Preferences > Maven >
        Discovery > open
         > > catalog but there i get "Discovery completed without
        finding any
         > > extensions. Please check your network connection and try
        again")
         > >
         > > Is there a workaround for that or did I do something wrong?
         > >
         > >
         > >
         > > _________________________________________________
         > > m2e-users mailing list
         > > m2e-users@xxxxxxxxxxx <mailto:m2e-users@xxxxxxxxxxx>
         > > https://dev.eclipse.org/__mailman/listinfo/m2e-users
        <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
        <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
        <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
    <https://dev.eclipse.org/mailman/listinfo/m2e-users>




--
"Have you tried turning it off and on again" - The IT Crowd


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


Back to the top