[JBoss JIRA] (JBIDE-22162) Support build TP with Tycho 0.25.0 and target-platform-utils
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22162?page=com.atlassian.jira.plugi... ]
Nick Boldt updated JBIDE-22162:
-------------------------------
Comment: was deleted
(was: Thanks for waiting. :(
Closing.)
> Support build TP with Tycho 0.25.0 and target-platform-utils
> ------------------------------------------------------------
>
> Key: JBIDE-22162
> URL: https://issues.jboss.org/browse/JBIDE-22162
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build, target-platform
> Reporter: Aurélien Pupier
> Assignee: Mickael Istria
> Fix For: 4.4.0.Alpha2
>
>
> Currently, the latest version (0.23.3) version of target-platform-utils seems not compatible with Tycho 0.25.0
> seems interesting part of log:
> {noformat}
> An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
> {noformat}
> complete log:
> {noformat}
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Fuse Tooling :: Target Platform Generation 8.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @ org.fusesource.ide.targetplatform ---
> [INFO] Setting property 'skipTestsOrITests' to ''.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default) @ org.fusesource.ide.targetplatform ---
> [INFO] argLine set to "-javaagent:C:\\Users\\Aurelien Pupier\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.1.201405082137\\org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=C:\\git\\target\\jacoco.exec,append=true,includes=org.jboss.tools.*"
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (compiletests) @ org.fusesource.ide.targetplatform ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (test) @ org.fusesource.ide.targetplatform ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- tycho-source-plugin:0.25.0:plugin-source (plugin-source) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- tycho-source-feature-plugin:0.25.0:source-feature (source-feature) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- tycho-p2-plugin:0.25.0:p2-metadata (attached-p2-metadata) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- repository-utils:0.23.3:generate-repository-facade (generate-facade) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- target-platform-utils:0.23.3:mirror-target-to-repo (default) @ org.fusesource.ide.targetplatform ---
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.225 s
> [INFO] Finished at: 2016-04-12T11:37:27+02:00
> [INFO] Final Memory: 29M/305M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo (default) on project org.fusesource.ide.targetplatform: Execution default of goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo failed: An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/jboss/tools/tycho-plugins/target-platform-utils/0.23.3/target-platform-utils-0.23.3.jar
> [ERROR] urls[1] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
> [ERROR] urls[2] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
> [ERROR] urls[3] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
> [ERROR] urls[4] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-p2-publisher-plugin/0.23.1/tycho-p2-publisher-plugin-0.23.1.jar
> [ERROR] urls[5] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
> [ERROR] urls[6] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.23.1/tycho-packaging-plugin-0.23.1.jar
> [ERROR] urls[7] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
> [ERROR] urls[8] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[9] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[10] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> [ERROR] urls[11] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> [ERROR] urls[12] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
> [ERROR] urls[13] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[14] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[15] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[project>org.fusesource.ide:org.fusesource.ide.targetplatform:8.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [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/PluginContainerException
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22162) Support build TP with Tycho 0.25.0 and target-platform-utils
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22162?page=com.atlassian.jira.plugi... ]
Nick Boldt closed JBIDE-22162.
------------------------------
Thanks for waiting. :(
Closing.
> Support build TP with Tycho 0.25.0 and target-platform-utils
> ------------------------------------------------------------
>
> Key: JBIDE-22162
> URL: https://issues.jboss.org/browse/JBIDE-22162
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: build, target-platform
> Reporter: Aurélien Pupier
> Assignee: Mickael Istria
> Fix For: 4.4.0.Alpha2
>
>
> Currently, the latest version (0.23.3) version of target-platform-utils seems not compatible with Tycho 0.25.0
> seems interesting part of log:
> {noformat}
> An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
> {noformat}
> complete log:
> {noformat}
> [INFO] Scanning for projects...
> [INFO]
> [INFO] ------------------------------------------------------------------------
> [INFO] Building JBoss Fuse Tooling :: Target Platform Generation 8.0.0-SNAPSHOT
> [INFO] ------------------------------------------------------------------------
> [INFO]
> [INFO] --- build-helper-maven-plugin:1.7:regex-property (regex-property) @ org.fusesource.ide.targetplatform ---
> [INFO] Setting property 'skipTestsOrITests' to ''.
> [INFO]
> [INFO] --- jacoco-maven-plugin:0.7.1.201405082137:prepare-agent (default) @ org.fusesource.ide.targetplatform ---
> [INFO] argLine set to "-javaagent:C:\\Users\\Aurelien Pupier\\.m2\\repository\\org\\jacoco\\org.jacoco.agent\\0.7.1.201405082137\\org.jacoco.agent-0.7.1.201405082137-runtime.jar=destfile=C:\\git\\target\\jacoco.exec,append=true,includes=org.jboss.tools.*"
> [INFO]
> [INFO] --- maven-compiler-plugin:3.5.1:testCompile (compiletests) @ org.fusesource.ide.targetplatform ---
> [INFO] No sources to compile
> [INFO]
> [INFO] --- maven-surefire-plugin:2.19.1:test (test) @ org.fusesource.ide.targetplatform ---
> [INFO] No tests to run.
> [INFO]
> [INFO] --- tycho-source-plugin:0.25.0:plugin-source (plugin-source) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- tycho-source-feature-plugin:0.25.0:source-feature (source-feature) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- tycho-p2-plugin:0.25.0:p2-metadata (attached-p2-metadata) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- repository-utils:0.23.3:generate-repository-facade (generate-facade) @ org.fusesource.ide.targetplatform ---
> [INFO]
> [INFO] --- target-platform-utils:0.23.3:mirror-target-to-repo (default) @ org.fusesource.ide.targetplatform ---
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 4.225 s
> [INFO] Finished at: 2016-04-12T11:37:27+02:00
> [INFO] Final Memory: 29M/305M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo (default) on project org.fusesource.ide.targetplatform: Execution default of goal org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo failed: An API incompatibility was encountered while executing org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3:mirror-target-to-repo: java.lang.NoSuchMethodError: org.eclipse.tycho.p2.tools.DestinationRepositoryDescriptor.<init>(Ljava/io/File;Ljava/lang/String;ZZZ)V
> [ERROR] -----------------------------------------------------
> [ERROR] realm = plugin>org.jboss.tools.tycho-plugins:target-platform-utils:0.23.3
> [ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
> [ERROR] urls[0] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/jboss/tools/tycho-plugins/target-platform-utils/0.23.3/target-platform-utils-0.23.3.jar
> [ERROR] urls[1] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-archiver/2.2/plexus-archiver-2.2.jar
> [ERROR] urls[2] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-io/2.0.4/plexus-io-2.0.4.jar
> [ERROR] urls[3] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/org.eclipse.osgi.compatibility.state/1.0.100.v20150402-1551/org.eclipse.osgi.compatibility.state-1.0.100.v20150402-1551.jar
> [ERROR] urls[4] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-p2-publisher-plugin/0.23.1/tycho-p2-publisher-plugin-0.23.1.jar
> [ERROR] urls[5] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/commons/commons-lang3/3.1/commons-lang3-3.1.jar
> [ERROR] urls[6] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/eclipse/tycho/tycho-packaging-plugin/0.23.1/tycho-packaging-plugin-0.23.1.jar
> [ERROR] urls[7] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
> [ERROR] urls[8] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-inject-bean/1.4.2/sisu-inject-bean-1.4.2.jar
> [ERROR] urls[9] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/sisu/sisu-guice/2.1.7/sisu-guice-2.1.7-noaop.jar
> [ERROR] urls[10] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/aether/aether-util/1.7/aether-util-1.7.jar
> [ERROR] urls[11] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.14/plexus-interpolation-1.14.jar
> [ERROR] urls[12] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-utils/2.0.4/plexus-utils-2.0.4.jar
> [ERROR] urls[13] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
> [ERROR] urls[14] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
> [ERROR] urls[15] = file:/C:/Users/Aurelien%20Pupier/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.4/plexus-component-annotations-1.5.4.jar
> [ERROR] Number of foreign imports: 1
> [ERROR] import: Entry[import from realm ClassRealm[project>org.fusesource.ide:org.fusesource.ide.targetplatform:8.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]]
> [ERROR]
> [ERROR] -----------------------------------------------------
> [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/PluginContainerException
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22355) Build qualifier still say Alpha2
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22355?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-22355:
------------------------------------
Related issue: if we move to jgit timestamp qualifiers and drop BUILD_ALIAS for all but the deliverables (update site folders/zips, installer jars, etc.), we might have a better time here.
See JBIDE-13671
> Build qualifier still say Alpha2
> --------------------------------
>
> Key: JBIDE-22355
> URL: https://issues.jboss.org/browse/JBIDE-22355
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Reporter: Mickael Istria
> Assignee: Nick Boldt
> Priority: Critical
> Fix For: 4.4.0.Alpha2
>
>
> Build qualifiers, parent pom version, and version of parent pom referenced by components are still Alpha1.
> All those should be moved to Alpha2 (they should be moved just when branching/releasing actually)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22355) Build qualifier still say Alpha2
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22355?page=com.atlassian.jira.plugi... ]
Nick Boldt edited comment on JBIDE-22355 at 5/16/16 11:24 AM:
--------------------------------------------------------------
This was intentional. I wanted to see if we could survive NOT churning the parent pom & root poms for JBT 4.4 / DS 10. You may have noticed we did create 4.4.0.Alpha1x branches - we simply staged the latest CI build from master. Way faster!
We need to discuss how to handle this, because going forward, I think we should only have to bump root poms and parent pom versions when something in parent pom ACTUALLY CHANGES. ([~maxandersen] has been asking for this for 2+ years. Time to become more CI/CD capable.)
* Should the Alpha2 qualifier appear as a -DBUILD_ALIAS=Alpha2 override in Jenkins, and thus dev's local builds will still use Alpha1 (and therefore be considered "older" even when the timestamp is newer) ? Or should we move the alias to AFTER the date/timestamp (as it used to be) so that the determinant for "what is new" becomes the date/timestamp, rather than the subjective quality descriptor?
* Should we only use the Alpha2 qualifier on JBT and DS folders/zips which are staged for QE, and thus all component bits will stay Alpha1 until we declare we're ready to move up to Beta, CR, or Final? In this case, there's no need to reorder qualifiers to put date/timestamp BEFORE the BUILD_ALIAS. And we would still need to bump parent pom once in a while, but ONLY when it's time to move to a more "stable quality" descriptor.
* What if we drop the qualifier entirely from all the component builds, and only retain it as part of the JBT/DS productization process?
was (Author: nickboldt):
This was intentional. I wanted to see if we could survive NOT churning the parent pom & root poms for JBT 4.4 / DS 10.
We need to discuss how to handle this, because going forward, I think we should only have to bump root poms and parent pom versions when something in parent pom ACTUALLY CHANGES. ([~maxandersen] has been asking for this for 2+ years. Time to become more CI/CD capable.)
* Should the Alpha2 qualifier appear as a -DBUILD_ALIAS=Alpha2 override in Jenkins, and thus dev's local builds will still use Alpha1 (and therefore be considered "older" even when the timestamp is newer) ? Or should we move the alias to AFTER the date/timestamp (as it used to be) so that the determinant for "what is new" becomes the date/timestamp, rather than the subjective quality descriptor?
* Should we only use the Alpha2 qualifier on JBT and DS folders/zips which are staged for QE, and thus all component bits will stay Alpha1 until we declare we're ready to move up to Beta, CR, or Final? In this case, there's no need to reorder qualifiers to put date/timestamp BEFORE the BUILD_ALIAS. And we would still need to bump parent pom once in a while, but ONLY when it's time to move to a more "stable quality" descriptor.
* What if we drop the qualifier entirely from all the component builds, and only retain it as part of the JBT/DS productization process?
> Build qualifier still say Alpha2
> --------------------------------
>
> Key: JBIDE-22355
> URL: https://issues.jboss.org/browse/JBIDE-22355
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Reporter: Mickael Istria
> Priority: Critical
> Fix For: 4.4.0.Alpha2
>
>
> Build qualifiers, parent pom version, and version of parent pom referenced by components are still Alpha1.
> All those should be moved to Alpha2 (they should be moved just when branching/releasing actually)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months
[JBoss JIRA] (JBIDE-22355) Build qualifier still say Alpha2
by Nick Boldt (JIRA)
[ https://issues.jboss.org/browse/JBIDE-22355?page=com.atlassian.jira.plugi... ]
Nick Boldt commented on JBIDE-22355:
------------------------------------
This was intentional. I wanted to see if we could survive NOT churning the parent pom & root poms for JBT 4.4 / DS 10.
We need to discuss how to handle this, because going forward, I think we should only have to bump root poms and parent pom versions when something in parent pom ACTUALLY CHANGES. ([~maxandersen] has been asking for this for 2+ years. Time to become more CI/CD capable.)
* Should the Alpha2 qualifier appear as a -DBUILD_ALIAS=Alpha2 override in Jenkins, and thus dev's local builds will still use Alpha1 (and therefore be considered "older" even when the timestamp is newer) ? Or should we move the alias to AFTER the date/timestamp (as it used to be) so that the determinant for "what is new" becomes the date/timestamp, rather than the subjective quality descriptor?
* Should we only use the Alpha2 qualifier on JBT and DS folders/zips which are staged for QE, and thus all component bits will stay Alpha1 until we declare we're ready to move up to Beta, CR, or Final? In this case, there's no need to reorder qualifiers to put date/timestamp BEFORE the BUILD_ALIAS. And we would still need to bump parent pom once in a while, but ONLY when it's time to move to a more "stable quality" descriptor.
* What if we drop the qualifier entirely from all the component builds, and only retain it as part of the JBT/DS productization process?
> Build qualifier still say Alpha2
> --------------------------------
>
> Key: JBIDE-22355
> URL: https://issues.jboss.org/browse/JBIDE-22355
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: build
> Reporter: Mickael Istria
> Priority: Critical
> Fix For: 4.4.0.Alpha2
>
>
> Build qualifiers, parent pom version, and version of parent pom referenced by components are still Alpha1.
> All those should be moved to Alpha2 (they should be moved just when branching/releasing actually)
--
This message was sent by Atlassian JIRA
(v6.4.11#64026)
9 years, 11 months