ECF / JaxRSProviders

Remote Services distribution provider based upon JaxRS. Includes imples based upon Jersey and CXF.
Apache License 2.0
13 stars 18 forks source link

Clean clone of repo will not build #33

Closed tvogel8570 closed 3 years ago

tvogel8570 commented 3 years ago

A clean clone of the full repo will not build (at least) the project com.mycorp.examples.student.remoteservice.host. Full debug log from attempt follows `C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host>D:\dev\apache-maven-3.6.3\bin\mvn -e -X clean install Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f) Maven home: D:\dev\apache-maven-3.6.3\bin.. Java version: 14, vendor: AdoptOpenJDK, runtime: D:\java\AdoptOpenJDK\jdk-14.0.0.36-openj9 Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows" [DEBUG] Created new class realm maven.api [DEBUG] Importing foreign packages into class realm maven.api [DEBUG] Imported: javax.annotation. < plexus.core [DEBUG] Imported: javax.annotation.security. < plexus.core [DEBUG] Imported: javax.enterprise.inject. < plexus.core [DEBUG] Imported: javax.enterprise.util. < plexus.core [DEBUG] Imported: javax.inject. < plexus.core [DEBUG] Imported: org.apache.maven. < plexus.core [DEBUG] Imported: org.apache.maven.artifact < plexus.core [DEBUG] Imported: org.apache.maven.classrealm < plexus.core [DEBUG] Imported: org.apache.maven.cli < plexus.core [DEBUG] Imported: org.apache.maven.configuration < plexus.core [DEBUG] Imported: org.apache.maven.exception < plexus.core [DEBUG] Imported: org.apache.maven.execution < plexus.core [DEBUG] Imported: org.apache.maven.execution.scope < plexus.core [DEBUG] Imported: org.apache.maven.lifecycle < plexus.core [DEBUG] Imported: org.apache.maven.model < plexus.core [DEBUG] Imported: org.apache.maven.monitor < plexus.core [DEBUG] Imported: org.apache.maven.plugin < plexus.core [DEBUG] Imported: org.apache.maven.profiles < plexus.core [DEBUG] Imported: org.apache.maven.project < plexus.core [DEBUG] Imported: org.apache.maven.reporting < plexus.core [DEBUG] Imported: org.apache.maven.repository < plexus.core [DEBUG] Imported: org.apache.maven.rtinfo < plexus.core [DEBUG] Imported: org.apache.maven.settings < plexus.core [DEBUG] Imported: org.apache.maven.toolchain < plexus.core [DEBUG] Imported: org.apache.maven.usability < plexus.core [DEBUG] Imported: org.apache.maven.wagon. < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authentication < plexus.core [DEBUG] Imported: org.apache.maven.wagon.authorization < plexus.core [DEBUG] Imported: org.apache.maven.wagon.events < plexus.core [DEBUG] Imported: org.apache.maven.wagon.observers < plexus.core [DEBUG] Imported: org.apache.maven.wagon.proxy < plexus.core [DEBUG] Imported: org.apache.maven.wagon.repository < plexus.core [DEBUG] Imported: org.apache.maven.wagon.resource < plexus.core [DEBUG] Imported: org.codehaus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus. < plexus.core [DEBUG] Imported: org.codehaus.plexus.classworlds < plexus.core [DEBUG] Imported: org.codehaus.plexus.component < plexus.core [DEBUG] Imported: org.codehaus.plexus.configuration < plexus.core [DEBUG] Imported: org.codehaus.plexus.container < plexus.core [DEBUG] Imported: org.codehaus.plexus.context < plexus.core [DEBUG] Imported: org.codehaus.plexus.lifecycle < plexus.core [DEBUG] Imported: org.codehaus.plexus.logging < plexus.core [DEBUG] Imported: org.codehaus.plexus.personality < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core [DEBUG] Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core [DEBUG] Imported: org.eclipse.aether. < plexus.core [DEBUG] Imported: org.eclipse.aether.artifact < plexus.core [DEBUG] Imported: org.eclipse.aether.collection < plexus.core [DEBUG] Imported: org.eclipse.aether.deployment < plexus.core [DEBUG] Imported: org.eclipse.aether.graph < plexus.core [DEBUG] Imported: org.eclipse.aether.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.installation < plexus.core [DEBUG] Imported: org.eclipse.aether.internal.impl < plexus.core [DEBUG] Imported: org.eclipse.aether.metadata < plexus.core [DEBUG] Imported: org.eclipse.aether.repository < plexus.core [DEBUG] Imported: org.eclipse.aether.resolution < plexus.core [DEBUG] Imported: org.eclipse.aether.spi < plexus.core [DEBUG] Imported: org.eclipse.aether.transfer < plexus.core [DEBUG] Imported: org.eclipse.aether.version < plexus.core [DEBUG] Imported: org.fusesource.jansi. < plexus.core [DEBUG] Imported: org.slf4j. < plexus.core [DEBUG] Imported: org.slf4j.event. < plexus.core [DEBUG] Imported: org.slf4j.helpers. < plexus.core [DEBUG] Imported: org.slf4j.spi. < plexus.core [DEBUG] Populating class realm maven.api [INFO] Error stacktraces are turned on. [DEBUG] Message scheme: color [DEBUG] Message styles: debug info warning error success failure strong mojo project [DEBUG] Reading global settings from D:\dev\apache-maven-3.6.3\bin..\conf\settings.xml [DEBUG] Reading user settings from C:\Users\tvogel.m2\settings.xml [DEBUG] Reading global toolchains from D:\dev\apache-maven-3.6.3\bin..\conf\toolchains.xml [DEBUG] Reading user toolchains from C:\Users\tvogel.m2\toolchains.xml [DEBUG] Using local repository at C:\Users\tvogel.m2\repository [DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\tvogel.m2\repository [INFO] Scanning for projects... [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=564900, ConflictMarker.markTime=247600, ConflictMarker.nodeCount=97, ConflictIdSorter.graphTime=317500, ConflictIdSorter.topsortTime=207800, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=5152200, ConflictResolver.conflictItemCount=96, DefaultDependencyCollector.collectTime=206906700, DefaultDependencyCollector.transformTime=7607500} [DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0 [DEBUG] org.eclipse.tycho:tycho-core:jar:1.2.0:compile [DEBUG] org.apache.maven:maven-core:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-model:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from default) [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.24:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-archiver:jar:3.4:compile (version managed from default) (exclusions managed from default) [DEBUG] org.codehaus.plexus:plexus-io:jar:2.7.1:compile (version managed from default) [DEBUG] commons-io:commons-io:jar:2.5:compile [DEBUG] org.apache.commons:commons-compress:jar:1.15:compile (version managed from default) [DEBUG] org.objenesis:objenesis:jar:2.6:compile [DEBUG] org.iq80.snappy:snappy:jar:0.4:compile [DEBUG] org.tukaani:xz:jar:1.5:runtime [DEBUG] org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413:compile (version managed from default) [DEBUG] org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711:compile (version managed from default) [DEBUG] org.eclipse.tycho:sisu-equinox-api:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:tycho-metadata-model:jar:1.2.0:compile [DEBUG] de.pdark:decentxml:jar:1.3:compile (version managed from default) [DEBUG] org.eclipse.tycho:tycho-embedder-api:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0:compile [DEBUG] org.apache.maven:maven-compat:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile [DEBUG] org.eclipse.tycho:tycho-p2-facade:jar:1.2.0:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default) [DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0:compile [DEBUG] Created new class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0 [DEBUG] Importing foreign packages into class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0 [DEBUG] Imported: < maven.api [DEBUG] Populating class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0 [DEBUG] Included: org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:tycho-core:jar:1.2.0 [DEBUG] Included: org.sonatype.aether:aether-util:jar:1.7 [DEBUG] Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2 [DEBUG] Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7 [DEBUG] Included: org.codehaus.plexus:plexus-interpolation:jar:1.14 [DEBUG] Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3 [DEBUG] Included: org.sonatype.plexus:plexus-cipher:jar:1.7 [DEBUG] Included: org.codehaus.plexus:plexus-utils:jar:3.0.24 [DEBUG] Included: org.codehaus.plexus:plexus-archiver:jar:3.4 [DEBUG] Included: org.codehaus.plexus:plexus-io:jar:2.7.1 [DEBUG] Included: commons-io:commons-io:jar:2.5 [DEBUG] Included: org.apache.commons:commons-compress:jar:1.15 [DEBUG] Included: org.objenesis:objenesis:jar:2.6 [DEBUG] Included: org.iq80.snappy:snappy:jar:0.4 [DEBUG] Included: org.tukaani:xz:jar:1.5 [DEBUG] Included: org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413 [DEBUG] Included: org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711 [DEBUG] Included: org.eclipse.tycho:sisu-equinox-api:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:tycho-metadata-model:jar:1.2.0 [DEBUG] Included: de.pdark:decentxml:jar:1.3 [DEBUG] Included: org.eclipse.tycho:tycho-embedder-api:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:tycho-p2-facade:jar:1.2.0 [DEBUG] Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1 [DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0 [DEBUG] Included: org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0 [DEBUG] Extension realms for project org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:eclipse-plugin:2.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@bea95d50]] [DEBUG] Created new class realm project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT [DEBUG] Populating class realm project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT [DEBUG] Looking up lifecycle mappings for packaging eclipse-plugin from ClassRealm[project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=241600, ConflictMarker.markTime=119100, ConflictMarker.nodeCount=97, ConflictIdSorter.graphTime=119000, ConflictIdSorter.topsortTime=29700, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=2993200, ConflictResolver.conflictItemCount=96, DefaultDependencyCollector.collectTime=5505500, DefaultDependencyCollector.transformTime=3532700} [DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0 [DEBUG] org.eclipse.tycho:tycho-core:jar:1.2.0:compile [DEBUG] org.apache.maven:maven-core:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-model:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-settings:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven:maven-settings-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-repository-metadata:jar:3.0:compile [DEBUG] org.apache.maven:maven-artifact:jar:3.0:compile [DEBUG] org.apache.maven:maven-model-builder:jar:3.0:compile [DEBUG] org.apache.maven:maven-aether-provider:jar:3.0:runtime [DEBUG] org.sonatype.aether:aether-impl:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-spi:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-api:jar:1.7:compile [DEBUG] org.sonatype.aether:aether-util:jar:1.7:compile [DEBUG] org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile [DEBUG] org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile [DEBUG] org.codehaus.plexus:plexus-interpolation:jar:1.14:compile [DEBUG] org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile [DEBUG] org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile [DEBUG] org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from default) [DEBUG] org.apache.maven:maven-plugin-api:jar:3.0:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-utils:jar:3.0.24:compile (version managed from default) [DEBUG] org.codehaus.plexus:plexus-archiver:jar:3.4:compile (version managed from default) (exclusions managed from default) [DEBUG] org.codehaus.plexus:plexus-io:jar:2.7.1:compile (version managed from default) [DEBUG] commons-io:commons-io:jar:2.5:compile [DEBUG] org.apache.commons:commons-compress:jar:1.15:compile (version managed from default) [DEBUG] org.objenesis:objenesis:jar:2.6:compile [DEBUG] org.iq80.snappy:snappy:jar:0.4:compile [DEBUG] org.tukaani:xz:jar:1.5:runtime [DEBUG] org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413:compile (version managed from default) [DEBUG] org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711:compile (version managed from default) [DEBUG] org.eclipse.tycho:sisu-equinox-api:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:tycho-metadata-model:jar:1.2.0:compile [DEBUG] de.pdark:decentxml:jar:1.3:compile (version managed from default) [DEBUG] org.eclipse.tycho:tycho-embedder-api:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0:compile [DEBUG] org.apache.maven:maven-compat:jar:3.0:compile (version managed from default) [DEBUG] org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile [DEBUG] org.eclipse.tycho:tycho-p2-facade:jar:1.2.0:compile [DEBUG] org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default) [DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0:compile [DEBUG] org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0:compile [DEBUG] Extension realms for project org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.parent:pom:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0, parent: jdk.internal.loader.ClassLoaders$AppClassLoader@bea95d50]] [DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]] [DEBUG] org.eclipse.tycho:tycho-maven-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml [DEBUG] org.eclipse.tycho:tycho-source-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml [DEBUG] org.eclipse.tycho:tycho-p2-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml [DEBUG] org.eclipse.tycho:tycho-packaging-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml [DEBUG] org.eclipse.tycho:tycho-compiler-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml [DEBUG] target-platform-configuration for MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml: <?xml version="1.0" encoding="UTF-8"?>

org.eclipse.ecf.jaxrs org.eclipse.ecf.jaxrs.releng.target ecf-jaxrs-2019-12 1.0.0-SNAPSHOT consider win32 win32 x86 win32 win32 x86_64 linux gtk x86 linux gtk x86_64 macosx cocoa x86_64

[DEBUG] Could not find metadata org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:1.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Users\tvogel.m2\repository) [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo1.maven.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo1.maven.org/maven2 Downloading from central: https://repo1.maven.org/maven2/org/eclipse/ecf/jaxrs/org.eclipse.ecf.jaxrs.releng.target/1.0.0-SNAPSHOT/maven-metadata.xml [DEBUG] Writing tracking file C:\Users\tvogel.m2\repository\org\eclipse\ecf\jaxrs\org.eclipse.ecf.jaxrs.releng.target\1.0.0-SNAPSHOT\resolver-status.properties [DEBUG] Could not find metadata org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:1.0.0-SNAPSHOT/maven-metadata.xml in central (https://repo1.maven.org/maven2) [DEBUG] Using transporter WagonTransporter with priority -1.0 for https://repo1.maven.org/maven2 [DEBUG] Using connector BasicRepositoryConnector with priority 0.0 for https://repo1.maven.org/maven2 Downloading from central: https://repo1.maven.org/maven2/org/eclipse/ecf/jaxrs/org.eclipse.ecf.jaxrs.releng.target/1.0.0-SNAPSHOT/org.eclipse.ecf.jaxrs.releng.target-1.0.0-SNAPSHOT-ecf-jaxrs-2019-12.target [DEBUG] Writing tracking file C:\Users\tvogel.m2\repository\org\eclipse\ecf\jaxrs\org.eclipse.ecf.jaxrs.releng.target\1.0.0-SNAPSHOT\org.eclipse.ecf.jaxrs.releng.target-1.0.0-SNAPSHOT-ecf-jaxrs-2019-12.target.lastUpdated [ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT -> [Help 1] org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:120) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) Caused by: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.addTargetArtifact (DefaultTargetPlatformConfigurationReader.java:389) at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.setTarget (DefaultTargetPlatformConfigurationReader.java:342) at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.getTargetPlatformConfiguration (DefaultTargetPlatformConfigurationReader.java:75) at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject (DefaultTychoResolver.java:87) at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead (TychoMavenLifecycleParticipant.java:90) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:264) at org.apache.maven.DefaultMaven.doExecute (DefaultMaven.java:192) at org.apache.maven.DefaultMaven.execute (DefaultMaven.java:105) at org.apache.maven.cli.MavenCli.execute (MavenCli.java:957) at org.apache.maven.cli.MavenCli.doMain (MavenCli.java:289) at org.apache.maven.cli.MavenCli.main (MavenCli.java:193) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0 (Native Method) at jdk.internal.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:62) at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke (Method.java:564) at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced (Launcher.java:282) at org.codehaus.plexus.classworlds.launcher.Launcher.launch (Launcher.java:225) at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode (Launcher.java:406) at org.codehaus.plexus.classworlds.launcher.Launcher.main (Launcher.java:347) [ERROR] [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/InternalErrorException `

scottslewis commented 3 years ago

Hi Tim.

I'm currently able to build all projects from top-level pom with: mvn clean install and with java = jdk1.8.0_191.

Your output seems suggests that the target file: releng\org.eclipse.ecf.jaxrs.releng.target\ecf-jaxrs-2019-12.target can't be found...but it does exist in that project. I'm a little confused. Could you possibly run maven with -X for full debug output...after pulling all updates? Thanks.

tvogel8570 commented 3 years ago

Scott, I deleted my local git repo, pulled a fresh clone of JaxRSProviders, confirmed the referenced target exists and reran it from inside Eclipse with 1.8 JDK. Same issue, full debug as below. Note I also replaced my maven settings.xml file with the default to ensure I didn't have any side effects from my personal profile setups.

Tim

SLF4J: Found binding in [jar:file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/configuration/org.eclipse.osgi/1793/0/.cp/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/configuration/org.eclipse.osgi/2510/0/.cp/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/plugins/org.eclipse.m2e.maven.runtime.slf4j.simple_1.16.0.20200610-1735/jars/slf4j-simple-1.7.5.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/configuration/org.eclipse.osgi/1793/0/.cp/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [file:/D:/eclipse/eclipse-rcp-2020-03-R-win32-x86_64/eclipse/configuration/org.eclipse.osgi/2510/0/.cp/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [org.slf4j.impl.SimpleLoggerFactory]
Apache Maven 3.6.3 (cecedd343002696d0abb50b32b541b8a6ba2883f)
Maven home: C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\EMBEDDED
Java version: 1.8.0_242, vendor: Eclipse OpenJ9, runtime: D:\java\AdoptOpenJDK\jdk-8.0.242.08-openj9\jre
Default locale: en_US, platform encoding: Cp1252
OS name: "windows 10", version: "10.0", arch: "amd64", family: "windows"
[DEBUG] Created new class realm maven.api
[DEBUG] Importing foreign packages into class realm maven.api
[DEBUG]   Imported: javax.annotation.* < plexus.core
[DEBUG]   Imported: javax.annotation.security.* < plexus.core
[DEBUG]   Imported: javax.enterprise.inject.* < plexus.core
[DEBUG]   Imported: javax.enterprise.util.* < plexus.core
[DEBUG]   Imported: javax.inject.* < plexus.core
[DEBUG]   Imported: org.apache.maven.* < plexus.core
[DEBUG]   Imported: org.apache.maven.artifact < plexus.core
[DEBUG]   Imported: org.apache.maven.classrealm < plexus.core
[DEBUG]   Imported: org.apache.maven.cli < plexus.core
[DEBUG]   Imported: org.apache.maven.configuration < plexus.core
[DEBUG]   Imported: org.apache.maven.exception < plexus.core
[DEBUG]   Imported: org.apache.maven.execution < plexus.core
[DEBUG]   Imported: org.apache.maven.execution.scope < plexus.core
[DEBUG]   Imported: org.apache.maven.lifecycle < plexus.core
[DEBUG]   Imported: org.apache.maven.model < plexus.core
[DEBUG]   Imported: org.apache.maven.monitor < plexus.core
[DEBUG]   Imported: org.apache.maven.plugin < plexus.core
[DEBUG]   Imported: org.apache.maven.profiles < plexus.core
[DEBUG]   Imported: org.apache.maven.project < plexus.core
[DEBUG]   Imported: org.apache.maven.reporting < plexus.core
[DEBUG]   Imported: org.apache.maven.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.rtinfo < plexus.core
[DEBUG]   Imported: org.apache.maven.settings < plexus.core
[DEBUG]   Imported: org.apache.maven.toolchain < plexus.core
[DEBUG]   Imported: org.apache.maven.usability < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.* < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authentication < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.authorization < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.events < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.observers < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.proxy < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.repository < plexus.core
[DEBUG]   Imported: org.apache.maven.wagon.resource < plexus.core
[DEBUG]   Imported: org.codehaus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.* < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.classworlds < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.component < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.configuration < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.container < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.context < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.lifecycle < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.logging < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.personality < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.Xpp3Dom < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParser < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlPullParserException < plexus.core
[DEBUG]   Imported: org.codehaus.plexus.util.xml.pull.XmlSerializer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.* < plexus.core
[DEBUG]   Imported: org.eclipse.aether.artifact < plexus.core
[DEBUG]   Imported: org.eclipse.aether.collection < plexus.core
[DEBUG]   Imported: org.eclipse.aether.deployment < plexus.core
[DEBUG]   Imported: org.eclipse.aether.graph < plexus.core
[DEBUG]   Imported: org.eclipse.aether.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.installation < plexus.core
[DEBUG]   Imported: org.eclipse.aether.internal.impl < plexus.core
[DEBUG]   Imported: org.eclipse.aether.metadata < plexus.core
[DEBUG]   Imported: org.eclipse.aether.repository < plexus.core
[DEBUG]   Imported: org.eclipse.aether.resolution < plexus.core
[DEBUG]   Imported: org.eclipse.aether.spi < plexus.core
[DEBUG]   Imported: org.eclipse.aether.transfer < plexus.core
[DEBUG]   Imported: org.eclipse.aether.version < plexus.core
[DEBUG]   Imported: org.fusesource.jansi.* < plexus.core
[DEBUG]   Imported: org.slf4j.* < plexus.core
[DEBUG]   Imported: org.slf4j.event.* < plexus.core
[DEBUG]   Imported: org.slf4j.helpers.* < plexus.core
[DEBUG]   Imported: org.slf4j.spi.* < plexus.core
[DEBUG] Populating class realm maven.api
[INFO] Error stacktraces are turned on.
[DEBUG] Message scheme: plain
[DEBUG] Reading global settings from settings.xml
[DEBUG] Reading user settings from C:\Users\tvogel\.m2\settings.xml
[DEBUG] Reading global toolchains from toolchains.xml
[DEBUG] Reading user toolchains from C:\Users\tvogel\.m2\toolchains.xml
[DEBUG] Using local repository at C:\Users\tvogel\.m2\repository
[DEBUG] Using manager EnhancedLocalRepositoryManager with priority 10.0 for C:\Users\tvogel\.m2\repository
[INFO] Scanning for projects...
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=678000, ConflictMarker.markTime=281100, ConflictMarker.nodeCount=97, ConflictIdSorter.graphTime=371500, ConflictIdSorter.topsortTime=272700, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=4523900, ConflictResolver.conflictItemCount=96, DefaultDependencyCollector.collectTime=226513700, DefaultDependencyCollector.transformTime=8505300}
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0
[DEBUG]    org.eclipse.tycho:tycho-core:jar:1.2.0:compile
[DEBUG]       org.apache.maven:maven-core:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-model:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-settings:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]          org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]             org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]                org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from default)
[DEBUG]       org.apache.maven:maven-plugin-api:jar:3.0:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.0.24:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:3.4:compile (version managed from default) (exclusions managed from default)
[DEBUG]          org.codehaus.plexus:plexus-io:jar:2.7.1:compile (version managed from default)
[DEBUG]          commons-io:commons-io:jar:2.5:compile
[DEBUG]          org.apache.commons:commons-compress:jar:1.15:compile (version managed from default)
[DEBUG]             org.objenesis:objenesis:jar:2.6:compile
[DEBUG]          org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]          org.tukaani:xz:jar:1.5:runtime
[DEBUG]       org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711:compile (version managed from default)
[DEBUG]          org.eclipse.tycho:sisu-equinox-api:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:tycho-metadata-model:jar:1.2.0:compile
[DEBUG]          de.pdark:decentxml:jar:1.3:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:tycho-embedder-api:jar:1.2.0:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0:compile
[DEBUG]       org.apache.maven:maven-compat:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[DEBUG]    org.eclipse.tycho:tycho-p2-facade:jar:1.2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0:compile
[DEBUG] Created new class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0
[DEBUG] Importing foreign packages into class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0
[DEBUG]   Imported:  < maven.api
[DEBUG] Populating class realm extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0
[DEBUG]   Included: org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:tycho-core:jar:1.2.0
[DEBUG]   Included: org.sonatype.aether:aether-util:jar:1.7
[DEBUG]   Included: org.sonatype.sisu:sisu-inject-bean:jar:1.4.2
[DEBUG]   Included: org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-interpolation:jar:1.14
[DEBUG]   Included: org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3
[DEBUG]   Included: org.sonatype.plexus:plexus-cipher:jar:1.7
[DEBUG]   Included: org.codehaus.plexus:plexus-utils:jar:3.0.24
[DEBUG]   Included: org.codehaus.plexus:plexus-archiver:jar:3.4
[DEBUG]   Included: org.codehaus.plexus:plexus-io:jar:2.7.1
[DEBUG]   Included: commons-io:commons-io:jar:2.5
[DEBUG]   Included: org.apache.commons:commons-compress:jar:1.15
[DEBUG]   Included: org.objenesis:objenesis:jar:2.6
[DEBUG]   Included: org.iq80.snappy:snappy:jar:0.4
[DEBUG]   Included: org.tukaani:xz:jar:1.5
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413
[DEBUG]   Included: org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711
[DEBUG]   Included: org.eclipse.tycho:sisu-equinox-api:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:tycho-metadata-model:jar:1.2.0
[DEBUG]   Included: de.pdark:decentxml:jar:1.3
[DEBUG]   Included: org.eclipse.tycho:tycho-embedder-api:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:tycho-p2-facade:jar:1.2.0
[DEBUG]   Included: org.codehaus.plexus:plexus-component-annotations:jar:1.7.1
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0
[DEBUG]   Included: org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0
[DEBUG] Extension realms for project org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:eclipse-plugin:2.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@f91f6840]]
[DEBUG] Created new class realm project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT
[DEBUG] Populating class realm project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT
[DEBUG] Looking up lifecycle mappings for packaging eclipse-plugin from ClassRealm[project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] Dependency collection stats: {ConflictMarker.analyzeTime=231400, ConflictMarker.markTime=139400, ConflictMarker.nodeCount=97, ConflictIdSorter.graphTime=107400, ConflictIdSorter.topsortTime=30800, ConflictIdSorter.conflictIdCount=45, ConflictIdSorter.conflictIdCycleCount=0, ConflictResolver.totalTime=3052300, ConflictResolver.conflictItemCount=96, DefaultDependencyCollector.collectTime=6442300, DefaultDependencyCollector.transformTime=3591400}
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:jar:1.2.0
[DEBUG]    org.eclipse.tycho:tycho-core:jar:1.2.0:compile
[DEBUG]       org.apache.maven:maven-core:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-model:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-settings:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven:maven-settings-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-repository-metadata:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-artifact:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-model-builder:jar:3.0:compile
[DEBUG]          org.apache.maven:maven-aether-provider:jar:3.0:runtime
[DEBUG]          org.sonatype.aether:aether-impl:jar:1.7:compile
[DEBUG]             org.sonatype.aether:aether-spi:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-api:jar:1.7:compile
[DEBUG]          org.sonatype.aether:aether-util:jar:1.7:compile
[DEBUG]          org.sonatype.sisu:sisu-inject-plexus:jar:1.4.2:compile
[DEBUG]             org.sonatype.sisu:sisu-inject-bean:jar:1.4.2:compile
[DEBUG]                org.sonatype.sisu:sisu-guice:jar:noaop:2.1.7:compile
[DEBUG]          org.codehaus.plexus:plexus-interpolation:jar:1.14:compile
[DEBUG]          org.codehaus.plexus:plexus-classworlds:jar:2.2.3:compile
[DEBUG]          org.sonatype.plexus:plexus-sec-dispatcher:jar:1.3:compile
[DEBUG]             org.sonatype.plexus:plexus-cipher:jar:1.7:compile (version managed from default)
[DEBUG]       org.apache.maven:maven-plugin-api:jar:3.0:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-utils:jar:3.0.24:compile (version managed from default)
[DEBUG]       org.codehaus.plexus:plexus-archiver:jar:3.4:compile (version managed from default) (exclusions managed from default)
[DEBUG]          org.codehaus.plexus:plexus-io:jar:2.7.1:compile (version managed from default)
[DEBUG]          commons-io:commons-io:jar:2.5:compile
[DEBUG]          org.apache.commons:commons-compress:jar:1.15:compile (version managed from default)
[DEBUG]             org.objenesis:objenesis:jar:2.6:compile
[DEBUG]          org.iq80.snappy:snappy:jar:0.4:compile
[DEBUG]          org.tukaani:xz:jar:1.5:runtime
[DEBUG]       org.eclipse.tycho:org.eclipse.osgi.compatibility.state:jar:1.1.100.v20180131-1413:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:sisu-equinox-embedder:jar:1.2.0:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.osgi:jar:3.13.0.v20180226-1711:compile (version managed from default)
[DEBUG]          org.eclipse.tycho:sisu-equinox-api:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:tycho-metadata-model:jar:1.2.0:compile
[DEBUG]          de.pdark:decentxml:jar:1.3:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:tycho-embedder-api:jar:1.2.0:compile
[DEBUG]          org.eclipse.tycho:org.eclipse.tycho.embedder.shared:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.core.shared:jar:1.2.0:compile
[DEBUG]       org.apache.maven:maven-compat:jar:3.0:compile (version managed from default)
[DEBUG]          org.apache.maven.wagon:wagon-provider-api:jar:1.0-beta-6:compile
[DEBUG]    org.eclipse.tycho:tycho-p2-facade:jar:1.2.0:compile
[DEBUG]       org.codehaus.plexus:plexus-component-annotations:jar:1.7.1:compile (version managed from default)
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.resolver.shared:jar:1.2.0:compile
[DEBUG]       org.eclipse.tycho:org.eclipse.tycho.p2.tools.shared:jar:1.2.0:compile
[DEBUG] Extension realms for project org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.parent:pom:1.0.0-SNAPSHOT: [ClassRealm[extension>org.eclipse.tycho:tycho-maven-plugin:1.2.0, parent: sun.misc.Launcher$AppClassLoader@f91f6840]]
[DEBUG] Looking up lifecycle mappings for packaging pom from ClassRealm[project>org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT, parent: ClassRealm[maven.api, parent: null]]
[DEBUG] org.eclipse.tycho:tycho-maven-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml
[DEBUG] org.eclipse.tycho:tycho-source-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml
[DEBUG] org.eclipse.tycho:tycho-p2-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml
[DEBUG] org.eclipse.tycho:tycho-packaging-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml
[DEBUG] org.eclipse.tycho:tycho-compiler-plugin:1.2.0 configured in MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml
[DEBUG] target-platform-configuration for MavenProject: org.eclipse.ecf.jaxrs:com.mycorp.examples.student.remoteservice.host:2.0.0-SNAPSHOT @ C:\Users\tvogel\git\JaxRSProviders\examples\com.mycorp.examples.student.remoteservice.host\pom.xml:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
  <target>
    <artifact>
      <groupId>org.eclipse.ecf.jaxrs</groupId>
      <artifactId>org.eclipse.ecf.jaxrs.releng.target</artifactId>
      <classifier>ecf-jaxrs-2019-12</classifier>
      <version>1.0.0-SNAPSHOT</version>
    </artifact>
  </target>
  <pomDependencies>consider</pomDependencies>
  <environments>
    <environment>
      <os>win32</os>
      <ws>win32</ws>
      <arch>x86</arch>
    </environment>
    <environment>
      <os>win32</os>
      <ws>win32</ws>
      <arch>x86_64</arch>
    </environment>
    <environment>
      <os>linux</os>
      <ws>gtk</ws>
      <arch>x86</arch>
    </environment>
    <environment>
      <os>linux</os>
      <ws>gtk</ws>
      <arch>x86_64</arch>
    </environment>
    <environment>
      <os>macosx</os>
      <ws>cocoa</ws>
      <arch>x86_64</arch>
    </environment>
  </environments>
</configuration>
[DEBUG] Could not find metadata org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:1.0.0-SNAPSHOT/maven-metadata.xml in local (C:\Users\tvogel\.m2\repository)
[DEBUG] Using connector AetherRepositoryConnector with priority 100.0 for https://repo1.maven.org/maven2
[INFO] Downloading from : https://repo1.maven.org/maven2/org/eclipse/ecf/jaxrs/org.eclipse.ecf.jaxrs.releng.target/1.0.0-SNAPSHOT/maven-metadata.xml
[DEBUG] Writing tracking file C:\Users\tvogel\.m2\repository\org\eclipse\ecf\jaxrs\org.eclipse.ecf.jaxrs.releng.target\1.0.0-SNAPSHOT\resolver-status.properties
[DEBUG] Could not find metadata org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:1.0.0-SNAPSHOT/maven-metadata.xml in central (https://repo1.maven.org/maven2)
[DEBUG] Using connector AetherRepositoryConnector with priority 100.0 for https://repo1.maven.org/maven2
[INFO] Downloading from : https://repo1.maven.org/maven2/org/eclipse/ecf/jaxrs/org.eclipse.ecf.jaxrs.releng.target/1.0.0-SNAPSHOT/org.eclipse.ecf.jaxrs.releng.target-1.0.0-SNAPSHOT-ecf-jaxrs-2019-12.target
[DEBUG] Writing tracking file C:\Users\tvogel\.m2\repository\org\eclipse\ecf\jaxrs\org.eclipse.ecf.jaxrs.releng.target\1.0.0-SNAPSHOT\org.eclipse.ecf.jaxrs.releng.target-1.0.0-SNAPSHOT-ecf-jaxrs-2019-12.target.lastUpdated
[ERROR] Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT -> [Help 1]
org.apache.maven.InternalErrorException: Internal error: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:120)
    at org.apache.maven.cli.MavenCli.execute(MavenCli.java:957)
    at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:289)
    at org.apache.maven.cli.MavenCli.main(MavenCli.java:193)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:498)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:282)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:225)
    at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:406)
    at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:347)
Caused by: java.lang.RuntimeException: Could not resolve target platform specification artifact org.eclipse.ecf.jaxrs:org.eclipse.ecf.jaxrs.releng.target:target:ecf-jaxrs-2019-12:1.0.0-SNAPSHOT
    at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.addTargetArtifact(DefaultTargetPlatformConfigurationReader.java:389)
    at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.setTarget(DefaultTargetPlatformConfigurationReader.java:342)
    at org.eclipse.tycho.core.resolver.DefaultTargetPlatformConfigurationReader.getTargetPlatformConfiguration(DefaultTargetPlatformConfigurationReader.java:75)
    at org.eclipse.tycho.core.resolver.DefaultTychoResolver.setupProject(DefaultTychoResolver.java:87)
    at org.eclipse.tycho.core.maven.TychoMavenLifecycleParticipant.afterProjectsRead(TychoMavenLifecycleParticipant.java:90)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:264)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:192)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:105)
    ... 11 more
[ERROR] 
[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/InternalErrorException
scottslewis commented 3 years ago

Hi Tim. I'm not sure what's happening with your (and/or my) builder atm.

Could you potentially load the ecf-jaxrs-2019-12.target in Eclipse and see if it fails to load it for some reason? Obviously it's not failing for me, but just trying to figure out why it won't resolve for you in Tycho/maven.

In the mean time, would it be possible to use the binaries/jars in the build directory of this repo?

tvogel8570 commented 3 years ago

The target file loads properly in Eclipse. The content tab shows 650 of 650 selected.

I'm a bit surprised that it works at all with Tycho, as I thought Tyco required a software site not a directory.

I will use the binaries and a hand crafted pom dependency to get it to compile for now. Tim

tvogel8570 commented 3 years ago

Scott, Working through using standard maven dependencies, I am unable to get the ECF dependencies to resolve in maven. I added the following repositories

<repository>
    <id>eclipse-2019-12</id>
    <url>http://download.eclipse.org/releases/2019-12</url>
    <layout>p2</layout>
</repository>

<repository>
    <id>ECF</id>
    <name>ECF latest build</name>
    <url>https://download.eclipse.org/rt/ecf/3.14.18/site.p2</url>
    <layout>p2</layout>
</repository>

Maven is failing with Failed to execute goal on project com.vogelware.addressbook.server.services Could not resolve dependencies for project com.vogelware:com.vogelware.addressbook.server.services:bundle:0.0.1-SNAPSHOT: Could not transfer artifact org.eclipse.osgi:org.eclipse.osgi.services:jar:3.9.0 from/to eclipse-2019-12 (http://download.eclipse.org/releases/2019-12): Cannot access http://download.eclipse.org/releases/2019-12 with type p2 using the available connector factories: AetherRepositoryConnectorFactory, BasicRepositoryConnectorFactory org.apache.felix:maven-bundle-plugin:4.2.1:bundle:default-bundle:package)

My read is that it found the dependency in the eclipse.org site but could not download. How can I get maven to download from p2 layout? Tim

scottslewis commented 3 years ago

Hi Tim,

This is a very strange error for accessing the eclipse 2019-12 repo. For one...I don't see the org.eclipse.osgi.services:jar:3.9.0...rather I'm seeing 3.8.0 in the 2019-12 repo.

Is there a chance that there is a reference specifically to 3.9.0 of that bundle in your target file or other metadata?

tvogel8570 commented 3 years ago

Scott, I've tried several combinations of version and repos. None of which work.

Returning to the original issue that a clean install will not build, perhaps other projects have locally cached a "good version" of target / dependencies. To more closely mimic my build environment, can you rename the ~/.m2/repository on your dev/build machine and see if you get a clean build? Also try it with an empty repository and default ~/.m2/settings.xml? Tim

maven version 3.6.3, JVM 1.8.0_242

scottslewis commented 3 years ago

Hi Tim,

Very strange. I renamed my maven repository...and it succeeded. I then updated to tycho 1.7 (from 1.2) and build succeeded. Attached issue33.txt

is the output from that mvn clean install on my local workspace.

I see from your original output that maven is using java 14 on your local system. That might be a problem (I don't know why, but I think that Tycho has some issues with Java 14 wrt target platform) so I suggest you try to set JAVA_HOME=<location of 1.8> before running maven and see if that helps.

Don't forget to pull the tycho version changes I just put in the top-level pom.

I also am now running a github build action (i.e. like used to do with travis and that's also succeeding...see:

https://github.com/ECF/JaxRSProviders/actions/runs/363716875

tvogel8570 commented 3 years ago

Scott, Thanks for sticking with me on troubleshooting my issue. Following your attached file (issue33.txt), I have a clean build.

I only needed the project com.mycorp.examples.student.remoteservice.host so I have been trying to build just that pom.xml. That doesn't work b/c the master pom has a module that is the target.
Tim