[
https://issues.jboss.org/browse/JBIDE-12565?page=com.atlassian.jira.plugi...
]
Nick Boldt edited comment on JBIDE-12565 at 9/7/12 11:15 AM:
-------------------------------------------------------------
The failure you're seeing...
{code}
[INFO] Validating
/qa/services/test_hudson/hudson_workspace/workspace/jbosstools-4.0_trunk.magic-target-platform/local/target/local/multiple.target...
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,
osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true,
org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.mylyn.github.feature.feature.group
2.0.0.201206130900-r
[ERROR] Missing requirement: org.eclipse.mylyn_feature.feature.group
3.8.1.v20120725-0100 requires 'org.apache.lucene.core [2.9.1,3.0.0)' but it could
not be found
[ERROR] Cannot satisfy dependency: org.eclipse.mylyn.github.feature.feature.group
2.0.0.201206130900-r depends on: org.eclipse.mylyn_feature.feature.group 3.7.0
[ERROR]
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of multiple.target
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from org.apache.lucene 2.9.1.v201101211721 to bundle
org.apache.lucene.core [2.9.1,3.0.0).", "Unable to satisfy dependency from
org.apache.lucene.snowball 2.9.1.v20100421-0704 to bundle org.apache.lucene.core
[2.9.1,3.0.0).", "Unable to satisfy dependency from
org.eclipse.mylyn.tasks.index.core 3.8.1.v20120725-0100 to bundle org.apache.lucene.core
[2.9.1,3.0.0).", "Unable to satisfy dependency from
org.eclipse.mylyn_feature.feature.group 3.8.1.v20120725-0100 to org.apache.lucene.core
[2.9.1,3.0.0).", "No solution found because the problem is
unsatisfiable."]
{code}
... simply means "the IUs we're looking for cannot be found on the site(s) listed
in the target file (or p2.mirror script generated from the target file).
I was getting the same error when I was validating unified.target BEFORE having publishing
the JBT JunoSR0a target platform site. Having pushed the site to the URL specified in
unified.target...
the error is still there. Which means we have at least one missing IU on the target
platform. Another case of where we require multiple versions of an IU -- in this case,
Mylyn needs lucene.core 2.9.1, and checkstyle needs 3.5.
After I add the IU to the unified.target file, I get a different error (when validating
both multiple.target and unified.target):
{code}
cd ~/trunk/build/target-platform; mvn install
[INFO] --- target-platform-validation-plugin:0.16.0-SNAPSHOT:validate-target-platform
(default) @ org.jboss.tools.target.platform ---
[INFO] Validating
/home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/build/target-platform/multiple.target...
[INFO] OK!
[INFO] Validating
/home/nboldt/eclipse/workspace-jboss/jbosstools_trunk/build/target-platform/unified.target...
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of unified.target
Could not find "org.apache.lucene.core/2.9.1.v201101211721" in the repositories
of the current location
{code}
was (Author: nickboldt):
The failure you're seeing...
{code}
[INFO] Validating
/qa/services/test_hudson/hudson_workspace/workspace/jbosstools-4.0_trunk.magic-target-platform/local/target/local/multiple.target...
[INFO] {org.osgi.framework.executionenvironment=OSGi/Minimum-1.0,OSGi/Minimum-1.1,
osgi.ws=gtk, osgi.os=linux, osgi.arch=x86, org.eclipse.update.install.features=true,
org.osgi.framework.system.packages=}
[ERROR] Cannot resolve project dependencies:
[ERROR] Software being installed: org.eclipse.mylyn.github.feature.feature.group
2.0.0.201206130900-r
[ERROR] Missing requirement: org.eclipse.mylyn_feature.feature.group
3.8.1.v20120725-0100 requires 'org.apache.lucene.core [2.9.1,3.0.0)' but it could
not be found
[ERROR] Cannot satisfy dependency: org.eclipse.mylyn.github.feature.feature.group
2.0.0.201206130900-r depends on: org.eclipse.mylyn_feature.feature.group 3.7.0
[ERROR]
[INFO] Failed, see Error log below
[ERROR] Validation found errors in 1 .target files:
Could not resolve content of multiple.target
"No solution found because the problem is unsatisfiable.": ["Unable to
satisfy dependency from org.apache.lucene 2.9.1.v201101211721 to bundle
org.apache.lucene.core [2.9.1,3.0.0).", "Unable to satisfy dependency from
org.apache.lucene.snowball 2.9.1.v20100421-0704 to bundle org.apache.lucene.core
[2.9.1,3.0.0).", "Unable to satisfy dependency from
org.eclipse.mylyn.tasks.index.core 3.8.1.v20120725-0100 to bundle org.apache.lucene.core
[2.9.1,3.0.0).", "Unable to satisfy dependency from
org.eclipse.mylyn_feature.feature.group 3.8.1.v20120725-0100 to org.apache.lucene.core
[2.9.1,3.0.0).", "No solution found because the problem is
unsatisfiable."]
{code}
... simply means "the IUs we're looking for cannot be found on the site(s) listed
in the target file (or p2.mirror script generated from the target file).
I was getting the same error when I was validating unified.target BEFORE having publishing
the JBT JunoSR0a target platform site. Having pushed the site to the URL specified in
unified.target...
the error is still there. Which means we have at least one missing IU on the target
platform. Another case of where we require multiple versions of an IU -- in this case,
Mylyn needs lucene.core 2.9.1, and checkstyle needs 3.5.
Deduce all target-platforms (local + unified) from multiple.target
------------------------------------------------------------------
Key: JBIDE-12565
URL:
https://issues.jboss.org/browse/JBIDE-12565
Project: Tools (JBoss Tools)
Issue Type: Enhancement
Components: Build/Releng, target-platform
Reporter: Mickael Istria
Assignee: Nick Boldt
Fix For: 4.0.0.Alpha2
In order to make maintainance easier and target-platform more reliable, we should improve
the way we create target-platforms so we only maintain multople.target and other platforms
(local, unified) get generated from it.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira