[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
[m2e-users] Installing m2e blocks all subsequent plugin installs
|
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
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