Cannot resolve project dependencies: org.eclipse.equinox.p2.iu [message #1873319] |
Wed, 11 December 2024 15:26  |
Eclipse User |
|
|
|
Hello! I'm trying to migrate my Eclipse DSL project from version 2021-03 (Java 11, Xtext 2.25.0, Maven, Tycho, Xcore) to Eclipse 2024-12 (Java 21, Xtext 2.37.0, Maven, Tycho, Xcore). To understand the changes, I created a new project in Eclipse 2024-12 and compared the pom.xml, MANIFEST.MF, and build.properties files. I also updated the Target Platform to Eclipse 2024-12. I am now trying to deploy the DSL to my update site, but I am facing this dependency error that I can't resolve. Any help is welcome.
[INFO] --< br.com.triersistemas.trierdsl:br.com.triersistemas.trierdsl.model >--
[INFO] Building br.com.triersistemas.trierdsl.model 30.21.0 [2/10]
[INFO] from br.com.triersistemas.trierdsl.model\pom.xml
[INFO] ---------------------------[ eclipse-plugin ]---------------------------
[INFO] Resolving target definition file:/C:/mk/dev/git/trierdsl/br.com.triersistemas.trierdsl.target/br.com.triersistemas.trierdsl.target.target for environments=[macosx/cocoa/x86_64, win32/win32/x86_64, linux/gtk/x86_64], include source mode=honor, referenced repository mode =ignore, execution environment=StandardEEResolutionHints [executionEnvironment=OSGi profile 'JavaSE-21' { source level: 21, target level: 21}], remote p2 repository options=org.eclipse.tycho.p2maven.DefaultProvisioningAgent@3d91d937
[INFO] ### Using TychoRepositoryTransport for remote P2 access ###
[INFO] Cache location: C:\Users\marcio.koch\.m2\repository\.cache\tycho
[INFO] Transport mode: online
[INFO] Http Transport type: Java11Client
[INFO] Update mode: cache first
[INFO] Minimum cache duration: 60 minutes
[INFO] (you can configure this with -Dtycho.p2.transport.min-cache-minutes=<desired minimum cache duration>)
[INFO] Downloading from p2: https://download.eclipse.org/releases/2024-12/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2024-12/p2.index (122 bytes at 1 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/technology/epp/packages/2024-12/p2.index
[INFO] Downloading from p2: https://download.eclipse.org/technology/epp/packages/2024-12/202411281200/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/technology/epp/packages/2024-12/202411281200/p2.index (365 bytes at 356 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/releases/2024-12/202412041000/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/releases/2024-12/202412041000/p2.index (140 bytes at 136 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.20.0/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.20.0/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.37.0/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.37.0/p2.index (172 bytes at 167 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12/p2.index (126 bytes at 123 KB/s)
[INFO] Downloading from p2: https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.34.0/p2.index
[INFO] Downloaded from p2: https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/release/4.34.0/p2.index (172 bytes at 167 KB/s)
[INFO] {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
[ERROR] Cannot resolve project dependencies:
[ERROR] You requested to install 'org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group 0.0.0, max=2147483647' but it could not be found
[ERROR]
[ERROR] See https://wiki.eclipse.org/Tycho/Dependency_Resolution_Troubleshooting for help.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for br.com.triersistemas.trierdsl.parent 30.21.0:
[INFO]
[INFO] br.com.triersistemas.trierdsl.parent ............... SUCCESS [ 1.063 s]
[INFO] br.com.triersistemas.trierdsl.model ................ FAILURE [ 3.525 s]
[INFO] br.com.triersistemas.trierdsl ...................... SKIPPED
[INFO] br.com.triersistemas.trierdsl.ide .................. SKIPPED
[INFO] br.com.triersistemas.trierdsl.ui ................... SKIPPED
[INFO] br.com.triersistemas.trierdsl.target ............... SKIPPED
[INFO] br.com.triersistemas.trierdsl.feature .............. SKIPPED
[INFO] br.com.triersistemas.trierdsl.repository ........... SKIPPED
[INFO] br.com.triersistemas.trierdsl.tests ................ SKIPPED
[INFO] br.com.triersistemas.trierdsl.ui.tests ............. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.171 s
[INFO] Finished at: 2024-12-11T17:16:34-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Cannot resolve dependencies of project br.com.triersistemas.trierdsl:br.com.triersistemas.trierdsl.model:eclipse-plugin:30.21.0
[ERROR] with context {osgi.os=macosx, osgi.ws=cocoa, org.eclipse.update.install.features=true, osgi.arch=x86_64, org.eclipse.update.install.sources=true}
[ERROR] You requested to install 'org.eclipse.equinox.p2.iu; org.eclipse.rcp.feature.group 0.0.0, max=2147483647' but it could not be found: See log for details
[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/ResolverException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <args> -rf :br.com.triersistemas.trierdsl.model
|
|
|
Re: Cannot resolve project dependencies: org.eclipse.equinox.p2.iu [message #1873322 is a reply to message #1873319] |
Wed, 11 December 2024 16:15  |
Eclipse User |
|
|
|
The solution was to add in the target file the dependency: <unit id="org.eclipse.rcp.feature.group" version="4.34.0.v20241120-1800"/>.
<target name="br.com.triersistemas.trierdsl.target" sequenceNumber="1">
<locations>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.jdt.feature.group" version="3.20.0.v20241120-1800"/>
<unit id="org.eclipse.pde.feature.group" version="3.16.100.v20241120-1800"/>
<unit id="org.eclipse.emf.sdk.feature.group" version="2.40.0.v20241018-1213"/>
<unit id="org.eclipse.rcp.feature.group" version="4.34.0.v20241120-1800"/> <!-- <====== add this one -->
<repository location="https://download.eclipse.org/releases/2024-12"/>
<unit id="org.eclipse.emf.ecore.xcore.sdk.feature.group" version="1.31.0.v20241001-1300"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.emf.mwe2.launcher.feature.group" version="2.20.0.v20241116-0534"/>
<repository location="https://download.eclipse.org/modeling/emft/mwe/updates/releases/2.20.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.eclipse.xtext.sdk.feature.group" version="2.37.0.v20241119-0857"/>
<repository location="https://download.eclipse.org/modeling/tmf/xtext/updates/releases/2.37.0/"/>
</location>
<location includeAllPlatforms="false" includeConfigurePhase="false" includeMode="planner" includeSource="true" type="InstallableUnit">
<unit id="org.apache.commons.lang3" version="3.17.0"/>
<unit id="org.apache.commons.lang3.source" version="3.17.0"/>
<unit id="com.google.gson" version="2.11.0"/>
<unit id="com.google.inject" version="7.0.0"/>
<unit id="jakarta.inject.jakarta.inject-api" version="2.0.1"/>
<unit id="org.antlr.runtime" version="3.5.3.v20230929-1400"/>
<unit id="org.junit" version="0.0.0"/>
<unit id="org.hamcrest" version="3.0.0"/>
<unit id="org.hamcrest.core" version="2.2.0.v20230809-1000"/>
<unit id="org.apache.commons.commons-logging" version="1.3.4"/>
<unit id="org.apiguardian.api" version="0.0.0"/>
<unit id="junit-jupiter-api" version="0.0.0"/>
<unit id="junit-jupiter-engine" version="0.0.0"/>
<unit id="junit-jupiter-migrationsupport" version="0.0.0"/>
<unit id="junit-jupiter-params" version="0.0.0"/>
<unit id="junit-platform-commons" version="0.0.0"/>
<unit id="junit-platform-engine" version="0.0.0"/>
<unit id="junit-platform-launcher" version="0.0.0"/>
<unit id="junit-platform-runner" version="0.0.0"/>
<unit id="junit-platform-suite-commons" version="0.0.0"/>
<unit id="junit-vintage-engine" version="0.0.0"/>
<unit id="org.opentest4j" version="0.0.0"/>
<unit id="org.objectweb.asm" version="9.7.1"/>
<unit id="io.github.classgraph.classgraph" version="0.0.0"/>
<repository location="https://download.eclipse.org/tools/orbit/simrel/orbit-aggregation/2024-12"/>
</location>
</locations>
</target>
|
|
|
Powered by
FUDForum. Page generated in 0.07051 seconds