Sorry for the noise, fixed the build with https://svn.apache.org/viewvc?view=revision&revision=1770406. It turned out m2e in version 1.6 includes Maven Archetype 2.3 which is incompatible with the 2.0 beta 3 shipped with previous versions of m2e. Therefore I had to adjust the EmbeddedArchetypeInstaller. Konrad
> On 18 Nov 2016, at 15:06, Apache Jenkins Server <[email protected]> > wrote: > > See <https://builds.apache.org/job/sling-ide/81/changes> > > Changes: > > [kwin] SLING-6268 make project configurators work also when m2e-tycho is > installed > > only provide quickfixes for incremental build if m2e-tycho is not installed > > ------------------------------------------ > [...truncated 2147 lines...] > [INFO] > [INFO] --- tycho-p2-plugin:0.22.0:p2-metadata-default > (default-p2-metadata-default) @ org.apache.sling.ide.eclipse-ui --- > [INFO] > [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ > org.apache.sling.ide.eclipse-ui --- > [INFO] > [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ > org.apache.sling.ide.eclipse-ui --- > [INFO] Checking legal files in: > org.apache.sling.ide.eclipse-ui-1.1.1-SNAPSHOT.jar > [INFO] > [INFO] --- apache-rat-plugin:0.10:check (default) @ > org.apache.sling.ide.eclipse-ui --- > [INFO] 51 implicit excludes (use -debug for more details). > [INFO] Exclude: derby.log > [INFO] Exclude: .gitignore > [INFO] Exclude: README.md > [INFO] Exclude: *.launch > [INFO] Exclude: build.properties > [INFO] Exclude: .options > [INFO] Exclude: META-INF/MANIFEST.MF > [INFO] Exclude: **/*.binary > [INFO] Exclude: eclipse-test/** > [INFO] Exclude: source-bundle/target/** > [INFO] Exclude: .Xauthority-* > [INFO] 106 resources included (use -debug for more details) > Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' > Warning: org.apache.xerces.parsers.SAXParser: Feature > 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 > approved: 90 licence. > [JENKINS] Archiving disabled > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Sling IDE Tools: Eclipse Feature 1.1.1-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ > org.apache.sling.ide.feature --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:build-qualifier-aggregator > (default-build-qualifier-aggregator) @ org.apache.sling.ide.feature --- > [INFO] The project's OSGi version is 1.1.1.201611181404 > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-id (default-validate-id) @ > org.apache.sling.ide.feature --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-version > (default-validate-version) @ org.apache.sling.ide.feature --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > org.apache.sling.ide.feature --- > [INFO] > [INFO] --- target-platform-configuration:0.22.0:target-platform > (default-target-platform) @ org.apache.sling.ide.feature --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:package-feature > (default-package-feature) @ org.apache.sling.ide.feature --- > [INFO] Building jar: > <https://builds.apache.org/job/sling-ide/ws/feature/target/org.apache.sling.ide.feature-1.1.1-SNAPSHOT.jar> > [INFO] > [INFO] --- tycho-p2-plugin:0.22.0:p2-metadata-default > (default-p2-metadata-default) @ org.apache.sling.ide.feature --- > [INFO] > [INFO] --- tycho-p2-plugin:0.22.0:feature-p2-metadata > (default-feature-p2-metadata) @ org.apache.sling.ide.feature --- > [INFO] > [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ > org.apache.sling.ide.feature --- > [INFO] > [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ > org.apache.sling.ide.feature --- > [INFO] Checking legal files in: > org.apache.sling.ide.feature-1.1.1-SNAPSHOT.jar > [INFO] > [INFO] --- apache-rat-plugin:0.10:check (default) @ > org.apache.sling.ide.feature --- > [INFO] 51 implicit excludes (use -debug for more details). > [INFO] Exclude: derby.log > [INFO] Exclude: .gitignore > [INFO] Exclude: README.md > [INFO] Exclude: *.launch > [INFO] Exclude: build.properties > [INFO] Exclude: .options > [INFO] Exclude: META-INF/MANIFEST.MF > [INFO] Exclude: **/*.binary > [INFO] Exclude: eclipse-test/** > [INFO] Exclude: source-bundle/target/** > [INFO] Exclude: .Xauthority-* > [INFO] 4 resources included (use -debug for more details) > Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' > Warning: org.apache.xerces.parsers.SAXParser: Feature > 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 > approved: 2 licence. > [JENKINS] Archiving disabled > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Sling IDE Tools: Eclipse M2Eclipse-based Core 1.1.1-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:build-qualifier > (default-build-qualifier) @ org.apache.sling.ide.eclipse-m2e-core --- > [INFO] The project's OSGi version is 1.1.1.201611181404 > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-id (default-validate-id) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-version > (default-validate-version) @ org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 2 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- tycho-compiler-plugin:0.22.0:compile (default-compile) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] Compiling 1 source file to > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-core/target/classes> > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-core/src/test/resources> > [INFO] Copying 3 resources > [INFO] > [INFO] --- target-platform-configuration:0.22.0:target-platform > (default-target-platform) @ org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:package-plugin > (default-package-plugin) @ org.apache.sling.ide.eclipse-m2e-core --- > [INFO] Building jar: > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-core/target/org.apache.sling.ide.eclipse-m2e-core-1.1.1-SNAPSHOT.jar> > [INFO] > [INFO] --- tycho-p2-plugin:0.22.0:p2-metadata-default > (default-p2-metadata-default) @ org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- maven-site-plugin:3.3:attach-descriptor (attach-descriptor) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] > [INFO] --- ianal-maven-plugin:1.0-alpha-1:verify-legal-files (default) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] Checking legal files in: > org.apache.sling.ide.eclipse-m2e-core-1.1.1-SNAPSHOT.jar > [INFO] > [INFO] --- apache-rat-plugin:0.10:check (default) @ > org.apache.sling.ide.eclipse-m2e-core --- > [INFO] 51 implicit excludes (use -debug for more details). > [INFO] Exclude: derby.log > [INFO] Exclude: .gitignore > [INFO] Exclude: README.md > [INFO] Exclude: *.launch > [INFO] Exclude: build.properties > [INFO] Exclude: .options > [INFO] Exclude: META-INF/MANIFEST.MF > [INFO] Exclude: **/*.binary > [INFO] Exclude: eclipse-test/** > [INFO] Exclude: source-bundle/target/** > [INFO] Exclude: .Xauthority-* > [INFO] 3 resources included (use -debug for more details) > Warning: org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > Compiler warnings: > WARNING: 'org.apache.xerces.jaxp.SAXParserImpl: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized.' > Warning: org.apache.xerces.parsers.SAXParser: Feature > 'http://javax.xml.XMLConstants/feature/secure-processing' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://javax.xml.XMLConstants/property/accessExternalDTD' is not recognized. > Warning: org.apache.xerces.parsers.SAXParser: Property > 'http://www.oracle.com/xml/jaxp/properties/entityExpansionLimit' is not > recognized. > [INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0 > approved: 3 licence. > [JENKINS] Archiving disabled > [INFO] > > [INFO] > ------------------------------------------------------------------------ > [INFO] Building Sling IDE Tools: Eclipse M2Eclipse-based UI 1.1.1-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ > org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:build-qualifier > (default-build-qualifier) @ org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] The project's OSGi version is 1.1.1.201611181404 > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-id (default-validate-id) @ > org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] > [INFO] --- tycho-packaging-plugin:0.22.0:validate-version > (default-validate-version) @ org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] > [INFO] --- maven-remote-resources-plugin:1.5:process (default) @ > org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 4 resources > [INFO] Copying 3 resources > [INFO] > [INFO] --- tycho-compiler-plugin:0.22.0:compile (default-compile) @ > org.apache.sling.ide.eclipse-m2e-ui --- > [INFO] Compiling 17 source files to > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-ui/target/classes> > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled > [JENKINS] Archiving disabled[INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] Sling IDE Tools: Reactor ........................... SUCCESS [ 3.829 > s] > [INFO] Sling IDE Tools: Target definition ................. SUCCESS [ 1.924 > s] > [INFO] Sling IDE Tools: FileVault wrapper ................. SUCCESS [ 8.254 > s] > [INFO] Sling IDE Tools: API ............................... SUCCESS [ 2.609 > s] > [INFO] Sling IDE Tools: API Tests ......................... SUCCESS [ 9.948 > s] > [INFO] Sling IDE Tools: Embedded Artifacts ................ SUCCESS [ 1.565 > s] > [INFO] Sling IDE Tools: Resource-based Implementation ..... SUCCESS [ 1.394 > s] > [INFO] Sling IDE Tools: Resource-based Implementation Tests SUCCESS [ 1.780 > s] > [INFO] Sling IDE Tools: Eclipse Core ...................... SUCCESS [ 2.199 > s] > [INFO] Sling IDE Tools: FileVault implementation .......... SUCCESS [ 2.353 > s] > [INFO] Sling IDE Tools: FileVault Implementation Tests .... SUCCESS [ 24.910 > s] > [INFO] Sling IDE Tools: Eclipse UI ........................ SUCCESS [ 3.251 > s] > [INFO] Sling IDE Tools: Eclipse Feature ................... SUCCESS [ 1.102 > s] > [INFO] Sling IDE Tools: Eclipse M2Eclipse-based Core ...... SUCCESS [ 1.537 > s] > [INFO] Sling IDE Tools: Eclipse M2Eclipse-based UI ........ FAILURE [ 1.790 > s] > [INFO] Sling IDE Tools: Eclipse Sightly Core .............. SKIPPED > [INFO] Sling IDE Tools: Eclipse Sightly UI ................ SKIPPED > [INFO] Sling IDE Tools: Sightly Feature ................... SKIPPED > [INFO] Sling IDE Tools: Eclipse Tests ..................... SKIPPED > [INFO] Sling IDE Tools: Eclipse M2Eclipse-based Tests ..... SKIPPED > [INFO] Sling IDE Tools: M2Eclipse-based Feature ........... SKIPPED > [INFO] Sling IDE Tools: Update Site ....................... SKIPPED > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD FAILURE > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 05:39 min > [INFO] Finished at: 2016-11-18T14:06:10+00:00 > > [INFO] Final Memory: 164M/834M > [INFO] > ------------------------------------------------------------------------ > Waiting for Jenkins to finish collecting data > [ERROR] Failed to execute goal > org.eclipse.tycho:tycho-compiler-plugin:0.22.0:compile (default-compile) on > project org.apache.sling.ide.eclipse-m2e-ui: Compilation failure: Compilation > failure: > [ERROR] > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/EmbeddedArchetypeInstaller.java>:[152] > [ERROR] org.apache.maven.archetype.Archetype archetyper = > MavenPluginActivator.getDefault().getArchetype(); > [ERROR] ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > [ERROR] org.apache.maven.archetype.Archetype cannot be resolved to a type > [ERROR] > <https://builds.apache.org/job/sling-ide/ws/eclipse-m2e-ui/src/org/apache/sling/ide/eclipse/m2e/EmbeddedArchetypeInstaller.java>:[152] > [ERROR] org.apache.maven.archetype.Archetype archetyper = > MavenPluginActivator.getDefault().getArchetype(); > [ERROR] ^^^^^^^^^^^^ > [ERROR] The method getArchetype() is undefined for the type > MavenPluginActivator > [ERROR] 2 problems (2 errors) > [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/MojoFailureException > [ERROR] > [ERROR] After correcting the problems, you can resume the build with the > command > [ERROR] mvn <goals> -rf :org.apache.sling.ide.eclipse-m2e-ui > Xvfb stopping > channel stopped > Found 39 test results > Found 11 test results > Found 60 test results
