[
https://issues.redhat.com/browse/JBIDE-25303?page=com.atlassian.jira.plug...
]
André Dietisheim commented on JBIDE-25303:
------------------------------------------
I tried to reproduce this but I failed to build the project with maven.
steps:
# EXEC: in Eclipse: created a project *fuse-on-openshift* on my local cdk 3.10
# EXEC: downloaded
[
fuse-on-openshift.zip|https://github.com/jbosstools/jbosstools-openshift/...]
&& unzipped it
# EXEC: in the new folder, I rand the following command line (using local cdk 3.10):
{code}
mvn clean install fabric8:deploy -Dkubernetes.master=https://192.168.64.171:8443/
-Dkubernetes.namespace=fuse-on-openshift -Dkubernetes.auth.basic.username=developer
-Dkubernetes.auth.basic.password=XXXX -Dfabric8.mode=openshift
-Dkubernetes.trust.certificates=true -Dfabric8.build.strategy=s2i
-Dkubernetes.auth.tryServiceAccount=false -Dfabric8.generator.from=fabric8/s2i-java
-Dfabric8.generator.fromMode=docker -Dkubernetes.auth.tryKubeConfig=false
{code}
Result:
{code}
[INFO] Scanning for projects...
[WARNING]
[WARNING] Some problems were encountered while building the effective model for
org.mycompany:camel-ose-springboot-xml:jar:1.0.0-SNAPSHOT
[WARNING] 'build.plugins.plugin.(groupId:artifactId)' must be unique but found
duplicate declaration of plugin org.springframework.boot:spring-boot-maven-plugin @ line
172, column 15
[WARNING]
[WARNING] It is highly recommended to fix these problems because they threaten the
stability of your build.
[WARNING]
[WARNING] For this reason, future Maven versions might no longer support building such
malformed projects.
[WARNING]
[INFO]
[INFO] ---------------< org.mycompany:camel-ose-springboot-xml >---------------
[INFO] Building Fabric8 :: Quickstarts :: Spring-Boot :: Camel XML 1.0.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central:
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-core/2.2.11.re...
Downloading from jboss-public-repository-group:
http://repository.jboss.org/nexus/content/groups/public/com/sun/xml/bind/...
Downloading from
repository.jboss.org:
https://repository.jboss.org/nexus/content/repositories/releases/com/sun/...
Downloading from
maven.repository.redhat.com:
http://maven.repository.redhat.com/techpreview/all/com/sun/xml/bind/jaxb-...
Downloaded from
maven.repository.redhat.com:
http://maven.repository.redhat.com/techpreview/all/com/sun/xml/bind/jaxb-...
(15 kB at 9.7 kB/s)
[WARNING] The POM for com.sun.xml.bind:jaxb-core:jar:2.2.11.redhat-2 is invalid,
transitive dependencies (if any) will not be available, enable debug logging for more
details
[WARNING] The POM for com.sun.xml.bind:jaxb-impl:jar:2.2.11.redhat-2 is invalid,
transitive dependencies (if any) will not be available, enable debug logging for more
details
Downloading from central:
https://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-core/2.2.11.re...
Downloading from jboss-public-repository-group:
http://repository.jboss.org/nexus/content/groups/public/com/sun/xml/bind/...
Downloading from
repository.jboss.org:
https://repository.jboss.org/nexus/content/repositories/releases/com/sun/...
Downloading from
maven.repository.redhat.com:
http://maven.repository.redhat.com/techpreview/all/com/sun/xml/bind/jaxb-...
Downloaded from
maven.repository.redhat.com:
http://maven.repository.redhat.com/techpreview/all/com/sun/xml/bind/jaxb-...
(252 kB at 175 kB/s)
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ camel-ose-springboot-xml ---
[INFO] Deleting /Users/adietish/git/fuse-on-openshift/target
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @
camel-ose-springboot-xml ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 3 resources
[INFO]
[INFO] --- fabric8-maven-plugin:3.1.80.redhat-000019:resource (default) @
camel-ose-springboot-xml ---
[INFO] F8: Running in OpenShift mode
[INFO] F8: Using docker image name of namespace: fuse-on-openshift
[INFO] F8: spring-boot: Using fat jar packaging as the spring boot plugin is using
`repackage` goal execution
[INFO] F8: Running generator spring-boot
[INFO] F8: spring-boot: Using Docker image fabric8/s2i-java as base / builder
[INFO] F8: Using resource templates from
/Users/adietish/git/fuse-on-openshift/src/main/fabric8
2020-02-18 20:03:16 INFO Version:30 - HV000001: Hibernate Validator 5.2.4.Final
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11.006 s
[INFO] Finished at: 2020-02-18T20:03:17+01:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal
io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:resource (default) on project
camel-ose-springboot-xml: Execution default of goal
io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:resource failed: A required class was
missing while executing io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019:resource:
javax/xml/bind/ValidationException
[ERROR] -----------------------------------------------------
[ERROR] realm = plugin>io.fabric8:fabric8-maven-plugin:3.1.80.redhat-000019
[ERROR] strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
[ERROR] urls[0] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-plugin/3.1.80.redhat-000019/fabric8-maven-plugin-3.1.80.redhat-000019.jar
[ERROR] urls[1] =
file:/Users/adietish/.m2/repository/io/fabric8/docker-maven-plugin/0.16.9.redhat-000020/docker-maven-plugin-0.16.9.redhat-000020.jar
[ERROR] urls[2] =
file:/Users/adietish/.m2/repository/org/apache/httpcomponents/httpclient/4.5.2/httpclient-4.5.2.jar
[ERROR] urls[3] =
file:/Users/adietish/.m2/repository/org/apache/httpcomponents/httpcore/4.4.5/httpcore-4.4.5.jar
[ERROR] urls[4] =
file:/Users/adietish/.m2/repository/commons-codec/commons-codec/1.10/commons-codec-1.10.jar
[ERROR] urls[5] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-unixsocket/0.12/jnr-unixsocket-0.12.jar
[ERROR] urls[6] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-ffi/2.0.9/jnr-ffi-2.0.9.jar
[ERROR] urls[7] =
file:/Users/adietish/.m2/repository/com/github/jnr/jffi/1.2.11/jffi-1.2.11.jar
[ERROR] urls[8] =
file:/Users/adietish/.m2/repository/com/github/jnr/jffi/1.2.11/jffi-1.2.11-native.jar
[ERROR] urls[9] = file:/Users/adietish/.m2/repository/org/ow2/asm/asm/5.0.3/asm-5.0.3.jar
[ERROR] urls[10] =
file:/Users/adietish/.m2/repository/org/ow2/asm/asm-commons/5.0.3/asm-commons-5.0.3.jar
[ERROR] urls[11] =
file:/Users/adietish/.m2/repository/org/ow2/asm/asm-analysis/5.0.3/asm-analysis-5.0.3.jar
[ERROR] urls[12] =
file:/Users/adietish/.m2/repository/org/ow2/asm/asm-tree/5.0.3/asm-tree-5.0.3.jar
[ERROR] urls[13] =
file:/Users/adietish/.m2/repository/org/ow2/asm/asm-util/5.0.3/asm-util-5.0.3.jar
[ERROR] urls[14] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-x86asm/1.0.2/jnr-x86asm-1.0.2.jar
[ERROR] urls[15] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-constants/0.9.1/jnr-constants-0.9.1.jar
[ERROR] urls[16] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-enxio/0.12/jnr-enxio-0.12.jar
[ERROR] urls[17] =
file:/Users/adietish/.m2/repository/com/github/jnr/jnr-posix/3.0.29/jnr-posix-3.0.29.jar
[ERROR] urls[18] =
file:/Users/adietish/.m2/repository/org/apache/commons/commons-lang3/3.4/commons-lang3-3.4.jar
[ERROR] urls[19] =
file:/Users/adietish/.m2/repository/org/json/json/20140107/json-20140107.jar
[ERROR] urls[20] =
file:/Users/adietish/.m2/repository/org/bouncycastle/bcpkix-jdk15on/1.54/bcpkix-jdk15on-1.54.jar
[ERROR] urls[21] =
file:/Users/adietish/.m2/repository/org/bouncycastle/bcprov-jdk15on/1.54/bcprov-jdk15on-1.54.jar
[ERROR] urls[22] =
file:/Users/adietish/.m2/repository/org/apache/maven/plugins/maven-assembly-plugin/2.6/maven-assembly-plugin-2.6.jar
[ERROR] urls[23] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/maven-common-artifact-filters/1.4/maven-common-artifact-filters-1.4.jar
[ERROR] urls[24] =
file:/Users/adietish/.m2/repository/org/apache/xbean/xbean-reflect/3.4/xbean-reflect-3.4.jar
[ERROR] urls[25] =
file:/Users/adietish/.m2/repository/log4j/log4j/1.2.12/log4j-1.2.12.jar
[ERROR] urls[26] =
file:/Users/adietish/.m2/repository/commons-logging/commons-logging-api/1.1/commons-logging-api-1.1.jar
[ERROR] urls[27] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-archiver/3.0.1/plexus-archiver-3.0.1.jar
[ERROR] urls[28] =
file:/Users/adietish/.m2/repository/org/iq80/snappy/snappy/0.3/snappy-0.3.jar
[ERROR] urls[29] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/file-management/1.1/file-management-1.1.jar
[ERROR] urls[30] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/maven-shared-io/1.1/maven-shared-io-1.1.jar
[ERROR] urls[31] =
file:/Users/adietish/.m2/repository/commons-io/commons-io/2.2/commons-io-2.2.jar
[ERROR] urls[32] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/maven-filtering/1.3/maven-filtering-1.3.jar
[ERROR] urls[33] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/maven-shared-utils/0.6/maven-shared-utils-0.6.jar
[ERROR] urls[34] =
file:/Users/adietish/.m2/repository/com/google/code/findbugs/jsr305/2.0.1/jsr305-2.0.1.jar
[ERROR] urls[35] =
file:/Users/adietish/.m2/repository/org/sonatype/plexus/plexus-build-api/0.0.4/plexus-build-api-0.0.4.jar
[ERROR] urls[36] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-io/2.6/plexus-io-2.6.jar
[ERROR] urls[37] =
file:/Users/adietish/.m2/repository/org/apache/maven/maven-archiver/2.5/maven-archiver-2.5.jar
[ERROR] urls[38] =
file:/Users/adietish/.m2/repository/org/apache/maven/shared/maven-repository-builder/1.0/maven-repository-builder-1.0.jar
[ERROR] urls[39] =
file:/Users/adietish/.m2/repository/joda-time/joda-time/2.9.4/joda-time-2.9.4.jar
[ERROR] urls[40] =
file:/Users/adietish/.m2/repository/org/yaml/snakeyaml/1.17/snakeyaml-1.17.jar
[ERROR] urls[41] =
file:/Users/adietish/.m2/repository/com/google/guava/guava/19.0/guava-19.0.jar
[ERROR] urls[42] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-interpolation/1.22/plexus-interpolation-1.22.jar
[ERROR] urls[43] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-core/3.1.80.redhat-000019/fabric8-maven-core-3.1.80.redhat-000019.jar
[ERROR] urls[44] =
file:/Users/adietish/.m2/repository/org/javassist/javassist/3.20.0-GA/javassist-3.20.0-GA.jar
[ERROR] urls[45] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-enricher-api/3.1.80.redhat-000019/fabric8-maven-enricher-api-3.1.80.redhat-000019.jar
[ERROR] urls[46] =
file:/Users/adietish/.m2/repository/org/eclipse/jgit/org.eclipse.jgit/4.4.1.201607150455-r/org.eclipse.jgit-4.4.1.201607150455-r.jar
[ERROR] urls[47] =
file:/Users/adietish/.m2/repository/com/jcraft/jsch/0.1.53/jsch-0.1.53.jar
[ERROR] urls[48] =
file:/Users/adietish/.m2/repository/com/googlecode/javaewah/JavaEWAH/0.7.9/JavaEWAH-0.7.9.jar
[ERROR] urls[49] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-enricher-standard/3.1.80.redhat-000019/fabric8-maven-enricher-standard-3.1.80.redhat-000019.jar
[ERROR] urls[50] =
file:/Users/adietish/.m2/repository/io/fabric8/ianaservicehelper/0.0.1/ianaservicehelper-0.0.1.jar
[ERROR] urls[51] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-enricher-fabric8/3.1.80.redhat-000019/fabric8-maven-enricher-fabric8-3.1.80.redhat-000019.jar
[ERROR] urls[52] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-generator-api/3.1.80.redhat-000019/fabric8-maven-generator-api-3.1.80.redhat-000019.jar
[ERROR] urls[53] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-generator-java-exec/3.1.80.redhat-000019/fabric8-maven-generator-java-exec-3.1.80.redhat-000019.jar
[ERROR] urls[54] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-generator-spring-boot/3.1.80.redhat-000019/fabric8-maven-generator-spring-boot-3.1.80.redhat-000019.jar
[ERROR] urls[55] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-maven-generator-karaf/3.1.80.redhat-000019/fabric8-maven-generator-karaf-3.1.80.redhat-000019.jar
[ERROR] urls[56] =
file:/Users/adietish/.m2/repository/io/fabric8/kubernetes-api/2.2.170.redhat-000019/kubernetes-api-2.2.170.redhat-000019.jar
[ERROR] urls[57] =
file:/Users/adietish/.m2/repository/javax/validation/validation-api/1.1.0.Final-redhat-1/validation-api-1.1.0.Final-redhat-1.jar
[ERROR] urls[58] =
file:/Users/adietish/.m2/repository/io/fabric8/openshift-client/1.4.14.redhat-000021/openshift-client-1.4.14.redhat-000021.jar
[ERROR] urls[59] =
file:/Users/adietish/.m2/repository/io/fabric8/kubernetes-client/1.4.14.redhat-000021/kubernetes-client-1.4.14.redhat-000021.jar
[ERROR] urls[60] =
file:/Users/adietish/.m2/repository/io/fabric8/kubernetes-model/1.0.58.redhat-000021/kubernetes-model-1.0.58.redhat-000021.jar
[ERROR] urls[61] =
file:/Users/adietish/.m2/repository/com/squareup/okhttp3/okhttp/3.4.1/okhttp-3.4.1.jar
[ERROR] urls[62] =
file:/Users/adietish/.m2/repository/com/squareup/okio/okio/1.9.0/okio-1.9.0.jar
[ERROR] urls[63] =
file:/Users/adietish/.m2/repository/com/squareup/okhttp3/logging-interceptor/3.4.1/logging-interceptor-3.4.1.jar
[ERROR] urls[64] =
file:/Users/adietish/.m2/repository/com/squareup/okhttp3/okhttp-ws/3.4.1/okhttp-ws-3.4.1.jar
[ERROR] urls[65] =
file:/Users/adietish/.m2/repository/org/slf4j/jul-to-slf4j/1.7.21/jul-to-slf4j-1.7.21.jar
[ERROR] urls[66] =
file:/Users/adietish/.m2/repository/io/fabric8/zjsonpatch/0.2.3/zjsonpatch-0.2.3.jar
[ERROR] urls[67] =
file:/Users/adietish/.m2/repository/com/github/mifmif/generex/1.0.1/generex-1.0.1.jar
[ERROR] urls[68] =
file:/Users/adietish/.m2/repository/dk/brics/automaton/automaton/1.11-8/automaton-1.11-8.jar
[ERROR] urls[69] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-utils/2.2.170.redhat-000019/fabric8-utils-2.2.170.redhat-000019.jar
[ERROR] urls[70] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/core/jackson-core/2.8.3/jackson-core-2.8.3.jar
[ERROR] urls[71] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/dataformat/jackson-dataformat-yaml/2.8.3/jackson-dataformat-yaml-2.8.3.jar
[ERROR] urls[72] =
file:/Users/adietish/.m2/repository/dnsjava/dnsjava/2.1.7/dnsjava-2.1.7.jar
[ERROR] urls[73] =
file:/Users/adietish/.m2/repository/io/fabric8/fabric8-project-utils/2.2.170.redhat-000019/fabric8-project-utils-2.2.170.redhat-000019.jar
[ERROR] urls[74] =
file:/Users/adietish/.m2/repository/io/fabric8/gitrepo-api/2.2.170.redhat-000019/gitrepo-api-2.2.170.redhat-000019.jar
[ERROR] urls[75] =
file:/Users/adietish/.m2/repository/io/fabric8/cxf-utils/2.2.170.redhat-000019/cxf-utils-2.2.170.redhat-000019.jar
[ERROR] urls[76] =
file:/Users/adietish/.m2/repository/net/oauth/core/oauth/20100527/oauth-20100527.jar
[ERROR] urls[77] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.8.3/jackson-module-jaxb-annotations-2.8.3.jar
[ERROR] urls[78] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/core/jackson-annotations/2.8.3/jackson-annotations-2.8.3.jar
[ERROR] urls[79] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/core/jackson-databind/2.8.3/jackson-databind-2.8.3.jar
[ERROR] urls[80] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-json-provider/2.8.3/jackson-jaxrs-json-provider-2.8.3.jar
[ERROR] urls[81] =
file:/Users/adietish/.m2/repository/com/fasterxml/jackson/jaxrs/jackson-jaxrs-base/2.8.3/jackson-jaxrs-base-2.8.3.jar
[ERROR] urls[82] =
file:/Users/adietish/.m2/repository/org/apache/cxf/cxf-rt-rs-client/3.1.5.redhat-630283/cxf-rt-rs-client-3.1.5.redhat-630283.jar
[ERROR] urls[83] =
file:/Users/adietish/.m2/repository/org/apache/cxf/cxf-rt-transports-http/3.1.5.redhat-630283/cxf-rt-transports-http-3.1.5.redhat-630283.jar
[ERROR] urls[84] =
file:/Users/adietish/.m2/repository/org/apache/cxf/cxf-core/3.1.5.redhat-630283/cxf-core-3.1.5.redhat-630283.jar
[ERROR] urls[85] =
file:/Users/adietish/.m2/repository/org/codehaus/woodstox/woodstox-core-asl/4.4.1/woodstox-core-asl-4.4.1.jar
[ERROR] urls[86] =
file:/Users/adietish/.m2/repository/org/codehaus/woodstox/stax2-api/3.1.4/stax2-api-3.1.4.jar
[ERROR] urls[87] =
file:/Users/adietish/.m2/repository/org/apache/ws/xmlschema/xmlschema-core/2.2.1.redhat-1/xmlschema-core-2.2.1.redhat-1.jar
[ERROR] urls[88] =
file:/Users/adietish/.m2/repository/org/apache/cxf/cxf-rt-frontend-jaxrs/3.1.5.redhat-630283/cxf-rt-frontend-jaxrs-3.1.5.redhat-630283.jar
[ERROR] urls[89] =
file:/Users/adietish/.m2/repository/javax/ws/rs/javax.ws.rs-api/2.0.1/javax.ws.rs-api-2.0.1.jar
[ERROR] urls[90] =
file:/Users/adietish/.m2/repository/javax/annotation/javax.annotation-api/1.2/javax.annotation-api-1.2.jar
[ERROR] urls[91] =
file:/Users/adietish/.m2/repository/io/fabric8/gitective-core/0.9.16/gitective-core-0.9.16.jar
[ERROR] urls[92] =
file:/Users/adietish/.m2/repository/com/jcraft/jzlib/1.1.3/jzlib-1.1.3.jar
[ERROR] urls[93] =
file:/Users/adietish/.m2/repository/javax/enterprise/cdi-api/1.0/cdi-api-1.0.jar
[ERROR] urls[94] =
file:/Users/adietish/.m2/repository/org/eclipse/sisu/org.eclipse.sisu.inject/0.3.0/org.eclipse.sisu.inject-0.3.0.jar
[ERROR] urls[95] =
file:/Users/adietish/.m2/repository/org/apache/maven/maven-builder-support/3.3.1/maven-builder-support-3.3.1.jar
[ERROR] urls[96] =
file:/Users/adietish/.m2/repository/org/eclipse/aether/aether-util/1.0.2.v20150114/aether-util-1.0.2.v20150114.jar
[ERROR] urls[97] =
file:/Users/adietish/.m2/repository/org/sonatype/sisu/sisu-guice/3.2.5/sisu-guice-3.2.5-no_aop.jar
[ERROR] urls[98] =
file:/Users/adietish/.m2/repository/aopalliance/aopalliance/1.0/aopalliance-1.0.jar
[ERROR] urls[99] =
file:/Users/adietish/.m2/repository/org/sonatype/plexus/plexus-sec-dispatcher/1.3/plexus-sec-dispatcher-1.3.jar
[ERROR] urls[100] =
file:/Users/adietish/.m2/repository/org/sonatype/plexus/plexus-cipher/1.4/plexus-cipher-1.4.jar
[ERROR] urls[101] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-utils/3.0.22/plexus-utils-3.0.22.jar
[ERROR] urls[102] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-component-annotations/1.5.5/plexus-component-annotations-1.5.5.jar
[ERROR] urls[103] =
file:/Users/adietish/.m2/repository/org/codehaus/plexus/plexus-interactivity-api/1.0-alpha-6/plexus-interactivity-api-1.0-alpha-6.jar
[ERROR] urls[104] =
file:/Users/adietish/.m2/repository/org/springframework/boot/spring-boot-devtools/1.4.1.RELEASE/spring-boot-devtools-1.4.1.RELEASE.jar
[ERROR] urls[105] =
file:/Users/adietish/.m2/repository/org/springframework/boot/spring-boot/1.4.1.RELEASE/spring-boot-1.4.1.RELEASE.jar
[ERROR] urls[106] =
file:/Users/adietish/.m2/repository/org/springframework/boot/spring-boot-autoconfigure/1.4.1.RELEASE/spring-boot-autoconfigure-1.4.1.RELEASE.jar
[ERROR] urls[107] =
file:/Users/adietish/.m2/repository/org/springframework/spring-web/4.3.3.RELEASE/spring-web-4.3.3.RELEASE.jar
[ERROR] urls[108] =
file:/Users/adietish/.m2/repository/org/springframework/spring-aop/4.3.3.RELEASE/spring-aop-4.3.3.RELEASE.jar
[ERROR] urls[109] =
file:/Users/adietish/.m2/repository/org/springframework/spring-beans/4.3.3.RELEASE/spring-beans-4.3.3.RELEASE.jar
[ERROR] urls[110] =
file:/Users/adietish/.m2/repository/org/springframework/spring-context/4.3.3.RELEASE/spring-context-4.3.3.RELEASE.jar
[ERROR] urls[111] =
file:/Users/adietish/.m2/repository/org/springframework/spring-expression/4.3.3.RELEASE/spring-expression-4.3.3.RELEASE.jar
[ERROR] urls[112] =
file:/Users/adietish/.m2/repository/org/springframework/spring-core/4.3.3.RELEASE/spring-core-4.3.3.RELEASE.jar
[ERROR] urls[113] =
file:/Users/adietish/.m2/repository/commons-logging/commons-logging/1.2/commons-logging-1.2.jar
[ERROR] urls[114] =
file:/Users/adietish/.m2/repository/org/hibernate/hibernate-validator/5.2.4.Final/hibernate-validator-5.2.4.Final.jar
[ERROR] urls[115] =
file:/Users/adietish/.m2/repository/org/jboss/logging/jboss-logging/3.3.0.Final/jboss-logging-3.3.0.Final.jar
[ERROR] urls[116] =
file:/Users/adietish/.m2/repository/com/fasterxml/classmate/1.1.0/classmate-1.1.0.jar
[ERROR] Number of foreign imports: 1
[ERROR] import: Entry[import from realm ClassRealm[maven.api, parent: null]]
[ERROR]
[ERROR] -----------------------------------------------------
[ERROR] : javax.xml.bind.ValidationException
[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
{code}
Server adapter: support hot-deployment on OpenShift for SpringBoot
app
----------------------------------------------------------------------
Key: JBIDE-25303
URL:
https://issues.redhat.com/browse/JBIDE-25303
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: openshift
Affects Versions: 4.5.1.Final
Reporter: Aurélien Pupier
Assignee: André Dietisheim
Priority: Major
Labels: openshift_v3, server_adapter
Fix For: 4.5.3.AM3, 4.14.0.Final
Attachments: Image+Pasted+at+2018-1-16+10-58.png,
docker-explorer-inspect-image.png, fuse-on-openshift.zip, project-deployment-assembly.png,
screenshot-1.png, spring-boot-demo.zip
currently, Springboot jar projects (such as Fuse Integration Services) are rsynced with a
zipped jar file.
The requirements are:
- rsync unpacked jar
- rsync without the jar name as folder
- it will will work only if springboot devtool are included (so maybe need some dialog
guiding user to do i in case it is not activated)
use case "Develop SpringBoot application deployed on OpenShift as any other
applications in JBoss Tools":
- there is a SpringBoot app deployed on OpenShift
- the developer want to develop evolution of the SpringBoot app
-- when he/she modifies the project, the application needs to be automatically updated on
OpenShift instance
-- Remote java debug should be available when the OpenShift server adapter is in debug
mode.
Steps:
# EXEC: create a project in your OpenShift server (ex. camel-ose-springboot)
# EXEC: Import project within fuse-on-openshift.zip into your workspace
# EXEC: open launch configuration and change:
** -Dkubernetes.master= so that it first your cdk instance
** -Dkubernetes.namespace= to the name of the project that you create in step 1.
** -Dfabric8.generator.from=fabric8/s2i-java
# EXEC: run the launch config (that is included in the project), so that the project gets
deployed to OpenShift (cdk)
# ASSERT: your project in OpenShift now contains a service **camel-ose-springboot-xml**,
the pod for it is running.
# EXEC: in OpenShift Explorer: select this service and create a server adapter for it
(*Server Adapter..* in the context menu for the service)
# ASSERT: server adapter is created and is *[started]*
# EXEC: in OpenShift Explorer: pick *Pod Log...* in the context menu for the pod of your
service)
# ASSERT: pod log is opened in "Console" view and shows an output with random
numbers in the end
{code}
simple-route - >>> 455
simple-route - >>> 695
simple-route - >>> 935
{code}
# EXEC: In Project Explorer: open class MyTransformer and change the transform method
# ASSERT: "Console" view is opened and shows how the server adapter is
publishing the MyTransformer class to the pod
--
This message was sent by Atlassian Jira
(v7.13.8#713008)