Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Installing m2e blocks all subsequent plugin installs

This is to prevent simultaneous installation of m2e 1.x and earlier versions, which used the old namespace.
-- 
Sent from my SGS

Fred Bricon <fbricon@xxxxxxxxx> wrote:


>Actually, the old namespace is still used in p2.inf :
>https://github.com/eclipse/m2e-core/blob/master/org.eclipse.m2e.feature/p2.inf#L1
>
>
>On Tue, Jan 3, 2012 at 1:34 AM, Igor Fedorenko <igor@xxxxxxxxxxxxxx>
>wrote:
>
>> "org.maven.ide.eclipse" does not look right, m2e 1.0 and newer use
>> "org.eclipse.m2e".
>>
>> --
>> Regards,
>> Igor
>>
>>
>> On 11-12-29 8:48 AM, Nathan Coast wrote:
>>
>>> Hi all,
>>>
>>> This error only occurs where eclipse is pre-bundled with m2e and
>>> installed to a read-only location (Program Files).  The error occurs
>>> when a user attempts to install any further plugin.
>>>
>>> 1) Admin creates eclipse bundle with various plugins including m2e.
>>>
>>> 2) User installs eclipse bundle to Program Files.  Eclipse install
>is
>>> read-only.
>>>
>>> 3) User launches eclipse with -configuration argument (pointing to
>>> writeable area).
>>>
>>> 4) User attempts to install any plugin - following error occurs (or
>>> similar):
>>>
>>> Cannot complete the install because one or more required items could
>>> not be found.
>>>   Software currently installed: Shared profile 1.0.0.1325103798074
>>> (SharedProfile_epp.package.jee 1.0.0.1325103798074)
>>>   Missing requirement: Shared profile 1.0.0.1325103798074
>>> (SharedProfile_epp.package.jee 1.0.0.1325103798074) requires
>>> 'org.maven.ide.eclipse [1.0.100.20110804-1717]' but it could not be
>>> found
>>>
>>> This process has been tested and known to work with multiple other
>>> plugins, it only seems to occur with the m2e plugin.
>>>
>>> I'm not sure if this is related, however, I have tracked down the
>only
>>> occurrence of "org.maven.ide.eclipse" within my local installs to
>the
>>> features p2.inf file.  AFAICT, org.maven.ide.eclipse is the old id
>>> (m2eclipse) and org.eclipse.m2e is the current id (m2e).
>>>
>>> features\org.eclipse.m2e.**feature_1.0.100.20110804-1717\**p2.inf
>>>
>>> ****************************************************************
>>> ***************
>>> units.1.id=org.maven.ide.**eclipse
>>>
>units.1.properties.0.name=org.**eclipse.equinox.p2.name<http://org.eclipse.equinox.p2.name>
>>> units.1.properties.0.value=**This version of m2eclipse cannot be
>>> installed on top of the already installed m2eclipse. Uninstall the
>>> previous version of m2eclipse and try the install again.
>>> units.1.version=$version$
>>> units.1.singleton=true
>>> units.1.provides.0.namespace=**osgi.bundle
>>> units.1.provides.0.name=org.**maven.ide.eclipse
>>> units.1.provides.0.version=$**version$
>>>
>>> requires.0.namespace=osgi.**bundle
>>> requires.0.name=org.maven.ide.**eclipse
>>> requires.0.range=[$version$, $version$]
>>> ****************************************************************
>>> ****************
>>>
>>> cheers,
>>> Nathan
>>> ______________________________**_________________
>>> m2e-users mailing list
>>> 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
>>
>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