takari / takari-lifecycle

Takari Maven Lifecycle
http://takari.io/book/40-lifecycle.html
Eclipse Public License 1.0
66 stars 35 forks source link

Compile error problem between 2 depedent takari-jars, using Maven 3.2.5 and takari-lifecycle 1.11.3 #13

Closed javapapo closed 9 years ago

javapapo commented 9 years ago

Platform : MacOSX Maven in Path: 3.2.5 JDK in Path : 1.7.0.xx Takari life cycle : 1.11.3 (problem) Takari life cycle : 1.10.3 (works!)

Part of a multi-module project , eBanking-persistence,

<artifactId>eBanking-persistence</artifactId>
    <name>eBanking-persistence</name>
    <packaging>takari-jar</packaging>
    <build>
        <finalName>${project.artifactId}</finalName>
    </build>
    <dependencies>
        <dependency>
            <groupId>com.afse.ebanking</groupId>
            <artifactId>eBanking-commons</artifactId>
            <version>${project.parent.version}</version>
        </dependency>

depends on eBanking-common.

<artifactId>eBanking-commons</artifactId>
    <name>eBanking-commons</name>
    <packaging>takari-jar</packaging>

    <build>
        <finalName>${project.artifactId}</finalName>
    </build>

Try to compile both modules under the same profile -Pcommon

mvn clean package -Pcommon

I get several compile errors, in the eBanking-persistence classes, indicating that they could not locate classes in the commons jar.

When I switch my takari-lifecycle version back to 1.10.3 compile and packaging works normal (as it used to be for a long time) we have been using takari-lifecycle for many months now with no big problems.

 <plugin>
                <!-- alternative maven lifecycle plugin takari.io -->
                <groupId>io.takari.maven.plugins</groupId>
                <artifactId>takari-lifecycle-plugin</artifactId>
                <version>${takari.maven.plugin.version}</version>
                <extensions>true</extensions>
                <configuration>
                    <source>${java.version}</source>
                    <target>${java.version}</target>
                </configuration>
            </plugin>
ifedorenko commented 9 years ago

Please provide small standalone example that demonstrates the problem.

javapapo commented 9 years ago

I will try, currently the problem is replicated on a complex multimodule build

javapapo commented 9 years ago

Unfortunately in a far simpler project (one parent, 2 modules with a linear dependency) and the same env (but with far less sources, I can not replicate it ). :/ Will need to provide an example from the real project source I guess.

kriegaex commented 9 years ago

I have the same problem with Maven 3.2.5 and Takari Lifecycle Plugin 1.11.8, but we have a complex build and I cannot provide a small sample. The funny thing is that it works locally on my Win7 machine, but not on our Linux-based Jenkins. No matter what I tried, JDT or Javac compiler, the result is the same. Locally it works with both Maven 3.2.5 and 3.3.3.

Here is an (anonymised) part of my build log:

[INFO] ------------------------------------------------------------------------
[INFO] Building my.api 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
(...)
[INFO] --- takari-lifecycle-plugin:1.11.8:jar (default-jar) @ my.api ---
[INFO] Performing incremental build
[INFO] Building main JAR.
(...)
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ my.api ---
[INFO] Installing /root/.jenkins/workspace/.../target/my.api-0.12.0-SNAPSHOT.jar to ...
[INFO] Installing /root/.jenkins/workspace/.../pom.xml to ...
(...)
[INFO] ------------------------------------------------------------------------
[INFO] Building my.impl 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
(...)
[INFO] --- takari-lifecycle-plugin:1.11.8:compile (default-compile) @ my.impl ---
[INFO] Incremental build configuration change detected, performing full build
[INFO] Compiling 3 sources to /root/.jenkins/workspace/...
[ERROR] ... RestClientImpl.java:[3,8] The import my.api cannot be resolved
[ERROR] ... RestClientImpl.java:[15,40] RestClient cannot be resolved to a type
[ERROR] ... RestClientImpl.java:[23,19] The method performGetRequest(MediaType, String, int...) of type RestClientImpl must override or implement a supertype method
(...)
[INFO] Compiled 3 out of 3 sources (318 ms)

As you can see, the dependent module cannot find its dependencies even though they are declared. What I found out is that the dependency JAR actually does not contain any classes, only a META-INF directory. The sources JAR does contain the RestClient.java file though. So it seems to be a JAR packaging problem.

Please let me know if there is any other info I can provide.

ifedorenko commented 9 years ago

I can't guess what's going on from the log, it simply does not provide enough information. Ideally, I need a small standalone example that demonstrates the problem. You may be able to glean more information from build debug log, i.e. -X build parameter. See if there is anything interesting related my.api build, if target/classes/ were created as expected, if target/my.api-0.12.0-SNAPSHOT.jar is valid, etc.

kriegaex commented 9 years ago

As I already said, target/my.api-0.12.0-SNAPSHOT.jar does not contain any class files, only a META-INF directory. With the normal Maven lifecycle and jar packaging instead of takari-jar it works.

Here is an anonymised log with -X (we upgraded the Jenkins build to Maven 3.3.3, but to no avail):

Started by user Alexander Kriegisch
[EnvInject] - Loading node environment variables.
Building in workspace /root/.jenkins/workspace/BAR-team_xa_takari
 > /usr/bin/git rev-parse --is-inside-work-tree # timeout=10
Fetching changes from the remote Git repository
 > /usr/bin/git config remote.origin.url https://git.foo.de/git/xyza/xyza.git # timeout=10
Fetching upstream changes from https://git.foo.de/git/xyza/xyza.git
 > /usr/bin/git --version # timeout=10
using .gitcredentials to set credentials
 > /usr/bin/git config --local credential.helper store --file=/opt/tomcat/temp/git15780660232713307.credentials # timeout=10
Setting http proxy: proxy.foo.de:3128
 > /usr/bin/git -c core.askpass=true fetch --tags --progress https://git.foo.de/git/xyza/xyza.git +refs/heads/*:refs/remotes/origin/*
 > /usr/bin/git config --local --remove-section credential # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/team/xa/takari^{commit} # timeout=10
 > /usr/bin/git rev-parse refs/remotes/origin/origin/team/xa/takari^{commit} # timeout=10
Checking out Revision a7fc9992591b961e6b86921d0eb2f8812fd95d70 (refs/remotes/origin/team/xa/takari)
 > /usr/bin/git config core.sparsecheckout # timeout=10
 > /usr/bin/git checkout -f a7fc9992591b961e6b86921d0eb2f8812fd95d70
 > /usr/bin/git rev-list a7fc9992591b961e6b86921d0eb2f8812fd95d70 # timeout=10
Parsing POMs
[BAR-team_xa_takari] $ /var/jdk18/bin/java -Xmx1536M -cp /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/usr/local/maven3.3.3/boot/plexus-classworlds-2.5.2.jar:/usr/local/maven3.3.3/conf/logging jenkins.maven3.agent.Maven31Main /usr/local/maven3.3.3 /opt/tomcat/webapps/jenkins/WEB-INF/lib/remoting-2.49.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 50006
<===[JENKINS REMOTING CAPACITY]===>   channel started
Executing Maven:  -B -f /root/.jenkins/workspace/BAR-team_xa_takari/pom.xml install -P Jenkins,install-wildfly-8,configure-wildfly-8 -X
Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00)
Maven home: /usr/local/maven3.3.3
Java version: 1.8.0_40, vendor: Oracle Corporation
Java home: /var/jdk18/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "2.6.18-406.el5", arch: "amd64", family: "unix"
[INFO] Error stacktraces are turned on.
[DEBUG] Reading global settings from /usr/local/maven3.3.3/conf/settings.xml
[DEBUG] Reading user settings from /root/.m2/settings.xml
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO] 
[INFO] foo
[INFO] foo.server
[INFO] foo.bar
[INFO] foo.bar.tech
[INFO] foo.bar.rest.api
[INFO] foo.bar.rest.impl
[INFO] foo.bar.zot
[INFO] foo.bar.zot.model
[INFO] foo.bar.zot.wildfly
[INFO] foo.bar.baz
[INFO] foo.bar.baz.model
[INFO] foo.bar.baz.wildfly
[INFO] foo.bar.bla
[INFO] foo.bar.bla.model
[INFO] foo.bar.bla.wildfly
[INFO] foo.bar.mdjgrwr
[INFO] foo.bar.mdjgrwr.service
[INFO] foo.bar.mdjgrwr.wildfly
[INFO] xyz.xhg.yza
[INFO] xyz.xhg.yza.core-api
[INFO] xyz.xhg.yza.core-impl
[INFO] xyz.xhg-komponenten
[INFO] xyz.xhg-komponenten.yza
[INFO] xyz.xhg-komponenten.yza.cms
[INFO] xyz.xhg-komponenten.yza.cms.zzzzz
[INFO] xyz.xhg-komponenten.yza.cms.qqqqq
[INFO] xyz.xhg-komponenten.yza.cms.yyyyy
[INFO] xyz.xhg-komponenten.yza.baz
[INFO] xyz.xhg-komponenten.yza.baz.zzzzz
[INFO] xyz.xhg-komponenten.yza.baz.qqqqq
[INFO] xyz.xhg-komponenten.yza.baz.yyyyy
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.zzzzz
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.qqqqq
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.yyyyy
[INFO] xyz.xhg-komponenten.yza.email
[INFO] xyz.xhg-komponenten.yza.email.zzzzz
[INFO] xyz.xhg-komponenten.yza.email.qqqqq
[INFO] xyz.xhg-komponenten.yza.email.yyyyy
[INFO] foo.frontend
[INFO] foo.frontend.klsd
[INFO] foo.frontend.klsd.mobile
[INFO] foo.aggregate
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ foo ---
[INFO] No sources specified for compilation.  Skipping.
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9.1:bsh-property (randomize-arquillian-min-port) @ foo ---
[DEBUG] define property arquillian.port.min = "38272"
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9.1:reserve-network-port (reserve-network-ports) @ foo ---
[DEBUG] maxPortNumber unspecified: using default value 65536
[DEBUG] Next port: 38272
[INFO] Reserved port 38272 for arquillian.port.no
[INFO] 
[INFO] --- build-helper-maven-plugin:1.9.1:bsh-property (calculate-arquillian-ports) @ foo ---
[DEBUG] define property arquillian.port.offset = "30192"
[DEBUG] define property arquillian.port.management = "40182"
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default-integration-test) @ foo ---
[INFO] No tests to run.
[JENKINS] Recording test results
log4j:WARN No appenders could be found for logger (org.apache.commons.beanutils.converters.BooleanConverter).
log4j:WARN Please initialize the log4j system properly.
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:write-project-properties (write) @ foo ---
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default-integration-test) @ foo ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ foo ---
[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/pom.xml to /opt/mvn-local-repo3.2.5/foo/yza/foo/0.12.0-SNAPSHOT/foo-0.12.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo/0.12.0-SNAPSHOT/_remote.repositories
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ foo ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) > generate-sources @ foo >>>
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) < generate-sources @ foo <<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ foo ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo.server 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.server ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- maven-dependency-plugin:2.9:unpack (install-wildfly-8) @ foo.server ---
[INFO] Configured Artifact: org.wildfly:wildfly-dist:8.2.0.Final:zip
[INFO] Unpacking /opt/mvn-local-repo3.2.5/org/wildfly/wildfly-dist/8.2.0.Final/wildfly-dist-8.2.0.Final.zip to /root/.jenkins/workspace/BAR-team_xa_takari/server with includes "" and excludes "**/META-INF/*"
[DEBUG] Found unArchiver by type: org.codehaus.plexus.archiver.zip.ZipUnArchiver@370fae4f
[DEBUG] Expanding: /opt/mvn-local-repo3.2.5/org/wildfly/wildfly-dist/8.2.0.Final/wildfly-dist-8.2.0.Final.zip into /root/.jenkins/workspace/BAR-team_xa_takari/server
[DEBUG] expand complete
[INFO] 
[INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ foo.server ---
[INFO] No sources specified for compilation.  Skipping.
[INFO] 
[INFO] --- maven-resources-plugin:2.7:copy-resources (configure-wildfly-8) @ foo.server ---
[DEBUG] properties used {file.encoding.pkg=sun.io, env.SELINUX_INIT=YES, SELINUX_INIT=YES, java.home=/var/jdk18/jre, XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, env.GIT_URL=https://git.foo.de/git/xyza/xyza.git, arquillian.port.no=38272, NODE_NAME=, PWD=/opt/tomcat/bin, JENKINS_URL=http://uiprz1:8080/jenkins/, sun.font.fontmanager=sun.awt.X11FontManager, wildfly-8.install.dir=/root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final, java.endorsed.dirs=/var/jdk18/jre/lib/endorsed, env.POM_VERSION=0.12.0-SNAPSHOT, env.HUDSON_HOME=/root/.jenkins, env.RUNLEVEL=3, server.jndi.baustein.jklsdfkljkl=http://localhost:30192/xyz.xhg-komponenten.yza.jklsdfkljkl.yyyyy/resource/jklsdfkljkl/klsd, sun.os.patch.level=unknown, java.vendor.url=http://java.oracle.com/, JAVA_OPTS= -XX:MaxPermSize=256m -Dhttp.proxyHost=proxy.foo.de -Dhttp.proxyPort=3128 -Dhttp.proxyUser=u00qsbp -Dhttp.proxyPassword=Tfro837f -Dhttp.agent= -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager, env.INIT_VERSION=sysvinit-2.86, java.version=1.8.0_40, JOB_NAME=BAR-team_xa_takari, env.MAVEN_OPTS=-Xmx1536M, INIT_VERSION=sysvinit-2.86, env.NODE_LABELS=master, env.JENKINS_SERVER_COOKIE=11b3eaa5edac17c9, java.vendor.url.bug=http://bugreport.sun.com/bugreport/, server.jndi.baustein.baz=http://localhost:30192/xyz.xhg-komponenten.yza.baz.yyyyy/rest/json, BUILD_CAUSE=MANUALTRIGGER, env.JAVA_OPTS= -XX:MaxPermSize=256m -Dhttp.proxyHost=proxy.foo.de -Dhttp.proxyPort=3128 -Dhttp.proxyUser=u00qsbp -Dhttp.proxyPassword=Tfro837f -Dhttp.agent= -Dfile.encoding=UTF-8 -Djava.util.logging.manager=org.apache.juli.ClassLoaderLogManager, user.name=root, env.LANG=en_US.UTF-8, sun.io.unicode.encoding=UnicodeLittle, sun.jnu.encoding=UTF-8, java.runtime.name=Java(TM) SE Runtime Environment, GIT_COMMITTER_EMAIL=thomas.hahn@foo.de, version.jboss.xnio=3.3.0.Final, server.loglevel=INFO, java.specification.name=Java Platform API Specification, user.timezone=Europe/Berlin, path.separator=:, server.jndi.baustein.email=http://localhost:30192/xyz.xhg-komponenten.yza.email.yyyyy/rest/service/email, BUILD_TAG=jenkins-BAR-team_xa_takari-11, TERM=linux, integration.password=${settings.jboss.password}, file.encoding=UTF-8, PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/apache-maven/apache-maven-3.0.4/bin, env.HOME=/, sun.java.command=jenkins.maven3.agent.Maven31Main /usr/local/maven3.3.3 /opt/tomcat/webapps/jenkins/WEB-INF/lib/remoting-2.49.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar /root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar 50006, HUDSON_URL=http://uiprz1:8080/jenkins/, JENKINS_SERVER_COOKIE=11b3eaa5edac17c9, version.spock=0.7-groovy-2.0, env.CONSOLE=/dev/console, EXECUTOR_NUMBER=1, env.BUILD_TAG=jenkins-BAR-team_xa_takari-11, env.GIT_COMMITTER_NAME=jenkins.git, env._=/usr/bin/java, GIT_COMMIT=a7fc9992591b961e6b86921d0eb2f8812fd95d70, GIT_COMMITTER_NAME=jenkins.git, java.io.tmpdir=/tmp, version.jackson=2.4.1, CONSOLE=/dev/console, user.language=en, line.separator=
, PREVLEVEL=N, BUILD_URL=http://uiprz1:8080/jenkins/job/BAR-team_xa_takari/11/, previous=N, SHLVL=3, version.arquillian.core=1.1.8.Final, M2_HOME=/usr/local/maven3.3.3, yza.root=/root/.jenkins/workspace/BAR-team_xa_takari, version.groovy=2.4.1, env.JOB_NAME=BAR-team_xa_takari, java.vm.info=mixed mode, env.BUILD_DISPLAY_NAME=#11, server.jndi.operationEnvironment=e, java.vm.specification.name=Java Virtual Machine Specification, BUILD_DISPLAY_NAME=#11, project.reporting.outputEncoding=UTF-8, sonar.jdbc.password=root, env.PREVLEVEL=N, env.BUILD_URL=http://uiprz1:8080/jenkins/job/BAR-team_xa_takari/11/, env.M2_HOME=/usr/local/maven3.3.3, guice.disable.misplaced.annotation.check=true, integration.user=admin, HUDSON_SERVER_COOKIE=11b3eaa5edac17c9, env.BUILD_CAUSE_MANUALTRIGGER=true, env.GIT_COMMITTER_EMAIL=thomas.hahn@foo.de, env.POM_ARTIFACTID=foo, MAVEN_HOME=/usr/local/maven3.3.3, java.awt.printerjob=sun.print.PSPrinterJob, server.jndi.baustein.cms=http://localhost:30192/xyz.xhg-komponenten.yza.cms.yyyyy/rest/json, maven3.interceptor.common=/root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.5.jar, CLASSPATH=, version.jboss.bom=8.2.1.Final, env.HUDSON_SERVER_COOKIE=11b3eaa5edac17c9, server.jndi.bar.baz=http://localhost:30192/foo.bar.baz.wildfly/rest/service, arquillian.port.management=40182, app.id=xyz.xhg.referenz.war, https_proxy=http://proxy.foo.de:3128, server.jndi.cmsbackend=https://uejbxs1.nbg.xyz.foo.de:8206/content, env.BUILD_NUMBER=11, os.name=Linux, java.specification.vendor=Oracle Corporation, env.TERM=linux, java.vm.name=Java HotSpot(TM) 64-Bit Server VM, BUILD_NUMBER=11, env.JOB_URL=http://uiprz1:8080/jenkins/job/BAR-team_xa_takari/, maven3.interceptor=/root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-interceptor-1.5.jar, java.library.path=/var/jdk18/jre/lib/amd64/server:/var/jdk18/jre/lib/amd64:/var/jdk18/jre/../lib/amd64:/usr/java/jdk1.6.0_45/jre/lib/amd64/server:/usr/java/jdk1.6.0_45/jre/lib/amd64:/usr/java/jdk1.6.0_45/jre/../lib/amd64:/usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib, env.PATH=/usr/local/maven3.3.3/bin:/var/jdk18/bin:/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/apache-maven/apache-maven-3.0.4/bin, GIT_AUTHOR_EMAIL=thomas.hahn@foo.de, env.HUDSON_URL=http://uiprz1:8080/jenkins/, http_proxy=http://proxy.foo.de:3128, env.JENKINS_URL=http://uiprz1:8080/jenkins/, POM_GROUPID=de.xyzrz.yza, POM_ARTIFACTID=foo, java.class.version=52.0, env.SHLVL=3, env.LD_LIBRARY_PATH=/var/jdk18/jre/lib/amd64/server:/var/jdk18/jre/lib/amd64:/var/jdk18/jre/../lib/amd64:/usr/java/jdk1.6.0_45/jre/lib/amd64/server:/usr/java/jdk1.6.0_45/jre/lib/amd64:/usr/java/jdk1.6.0_45/jre/../lib/amd64, version.gmaven=1.5, JOB_URL=http://uiprz1:8080/jenkins/job/BAR-team_xa_takari/, version.arquillian_jacoco=1.0.0.Alpha8, env.BUILD_CAUSE=MANUALTRIGGER, sonar.jdbc.url=jdbc:mysql://10.2.7.192:3306/sonar, env.GIT_COMMIT=a7fc9992591b961e6b86921d0eb2f8812fd95d70, GIT_PREVIOUS_COMMIT=a7fc9992591b961e6b86921d0eb2f8812fd95d70, env.JENKINS_HOME=/root/.jenkins, GIT_BRANCH=origin/team/xa/takari, JENKINS_HOME=/root/.jenkins, BUILD_ID=2015-07-20_07-21-55, sun.boot.library.path=/var/jdk18/jre/lib/amd64, project.build.sourceEncoding=UTF-8, M2=/usr/local/apache-maven/apache-maven-3.0.4/bin, wildfly-8.version=8.2.0.Final, sun.management.compiler=HotSpot 64-Bit Tiered Compilers, env.POM_DISPLAYNAME=foo, java.awt.graphicsenv=sun.awt.X11GraphicsEnvironment, POM_VERSION=0.12.0-SNAPSHOT, HUDSON_HOME=/root/.jenkins, PATH+MAVEN=/usr/local/maven3.3.3/bin, NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, env.previous=N, wildfly-8.parent.dir=/root/.jenkins/workspace/BAR-team_xa_takari/server, BUILD_CAUSE_MANUALTRIGGER=true, server.jndi.bar.bla=http://localhost:30192/foo.bar.bla.wildfly/rest/service, java.vm.specification.version=1.8, JAVA_HOME=/var/jdk18, env.NLSPATH=/usr/dt/lib/nls/msg/%L/%N.cat, awt.toolkit=sun.awt.X11.XToolkit, NODE_LABELS=master, env.GIT_AUTHOR_NAME=jenkins.git, env.MAVEN_HOME=/usr/local/maven3.3.3, sun.cpu.isalist=, server.jndi.bar.mdjgrwr=http://localhost:30192/foo.bar.mdjgrwr.wildfly/rest/service, securerandom.source=file:/dev/./urandom, java.ext.dirs=/var/jdk18/jre/lib/ext:/usr/java/packages/lib/ext, os.version=2.6.18-406.el5, env.GIT_AUTHOR_EMAIL=thomas.hahn@foo.de, user.home=/root, arquillian.port.min=38272, _=/usr/bin/java, java.vm.vendor=Oracle Corporation, server.jndi.etracker.code=https://qpqpqp-xyz.entwicklung.foo.de/e.js, env.JAVA_HOME=/var/jdk18, sonar.jdbc.username=root, user.dir=/opt/.jenkins/workspace/BAR-team_xa_takari, app.location=xyz.xhg.referenz.war, env.XFILESEARCHPATH=/usr/dt/app-defaults/%L/Dt, db2.jcc.version=4.13.127, env.M2=/usr/local/apache-maven/apache-maven-3.0.4/bin, env.PWD=/opt/tomcat/bin, sonar.java.coveragePlugin=jacoco, sun.cpu.endian=little, version.jboss.marshalling=1.4.10.Final, sonar.jdbc.driver=com.mysql.jdbc.Driver, env.GIT_PREVIOUS_COMMIT=a7fc9992591b961e6b86921d0eb2f8812fd95d70, java.vm.version=25.40-b25, integration.hostname=uiyza01, java.class.path=/root/.jenkins/plugins/maven-plugin/WEB-INF/lib/maven31-agent-1.5.jar:/usr/local/maven3.3.3/boot/plexus-classworlds-2.5.2.jar:/usr/local/maven3.3.3/conf/logging, RUNLEVEL=3, org.slf4j.simpleLogger.defaultLogLevel=debug, MAVEN_OPTS=-Xmx1536M, env.http_proxy=http://proxy.foo.de:3128, os.arch=amd64, maven.build.version=Apache Maven 3.3.3 (7994120775791599e205a5524ec3e0dfe41d4a06; 2015-04-22T13:57:37+02:00), WORKSPACE=/root/.jenkins/workspace/BAR-team_xa_takari, env.POM_PACKAGING=pom, sun.java.launcher=SUN_STANDARD, server.jndi.plzzuordnungen=http://resources.schulung.foo.de/global/data/qpqpqp/plz-zuordnungen.xml, LANG=en_US.UTF-8, env.BUILD_ID=2015-07-20_07-21-55, server.jndi.etracker.privacy=https://privacy.qpqpqp.entwicklung.foo.de/js, java.vm.specification.vendor=Oracle Corporation, version.jacoco=0.7.4.201502262128, file.separator=/, env.GIT_BRANCH=origin/team/xa/takari, version.wildfly=8.2.0.Final, java.runtime.version=1.8.0_40-b26, sun.boot.class.path=/var/jdk18/jre/lib/resources.jar:/var/jdk18/jre/lib/rt.jar:/var/jdk18/jre/lib/sunrsasign.jar:/var/jdk18/jre/lib/jsse.jar:/var/jdk18/jre/lib/jce.jar:/var/jdk18/jre/lib/charsets.jar:/var/jdk18/jre/lib/jfr.jar:/var/jdk18/jre/classes, LD_LIBRARY_PATH=/usr/java/jdk1.6.0_45/jre/lib/amd64/server:/usr/java/jdk1.6.0_45/jre/lib/amd64:/usr/java/jdk1.6.0_45/jre/../lib/amd64, env.WORKSPACE=/root/.jenkins/workspace/BAR-team_xa_takari, server.jndi.bar.jklsdfkljkl=http://localhost:30192/foo.bar.zot.wildfly/rest, maven.version=3.3.3, env.https_proxy=http://proxy.foo.de:3128, PATH+JDK=/var/jdk18/bin, version.selenium=2.42.2, user.country=US, env.EXECUTOR_NUMBER=1, POM_PACKAGING=pom, maven.home=/usr/local/maven3.3.3, maven.compiler.target=1.8, wildfly-8.resources.dir=/root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8, arquillian.port.offset=30192, HOME=/, java.vendor=Oracle Corporation, GIT_AUTHOR_NAME=jenkins.git, env.POM_GROUPID=de.xyzrz.yza, maven.compiler.source=1.8, env.HUDSON_COOKIE=7e1f0c24-fb1c-4394-8a99-9cf842973882, version.chromedriver=2.14, java.specification.version=1.8, POM_DISPLAYNAME=foo, GIT_URL=https://git.foo.de/git/xyza/xyza.git, sun.arch.data.model=64}
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[DEBUG] resource with targetPath null
directory /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8
excludes []
includes []
[DEBUG] ignoreDelta true
[INFO] Copying 5 resources
[DEBUG] file example_store.jceks has a non filtered file extension
[DEBUG] copy /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8/standalone/configuration/example_store.jceks to /root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/standalone/configuration/example_store.jceks
[DEBUG] file MARKETING.integration.consumer.jks has a non filtered file extension
[DEBUG] copy /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8/standalone/configuration/MARKETING.integration.consumer.jks to /root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/standalone/configuration/MARKETING.integration.consumer.jks
[DEBUG] file cacerts.jks has a non filtered file extension
[DEBUG] copy /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8/standalone/configuration/cacerts.jks to /root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/standalone/configuration/cacerts.jks
[DEBUG] file standalone.xml has a filtered file extension
[DEBUG] filtering /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8/standalone/configuration/standalone.xml to /root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/standalone/configuration/standalone.xml
[DEBUG] file standalone.conf.bat has a filtered file extension
[DEBUG] filtering /root/.jenkins/workspace/BAR-team_xa_takari/server/configuration-resources-wildfly-8/bin/standalone.conf.bat to /root/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/bin/standalone.conf.bat
[DEBUG] no use filter components
[INFO] 
[INFO] --- wildfly-maven-plugin:1.1.0.Alpha2:start (pre-integration-phase) @ foo.server ---
[INFO] JAVA_HOME=/var/jdk18/jre
[INFO] JBOSS_HOME=/opt/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final

[DEBUG] No <id> element was found in the POM - Getting credentials from CLI entry
[INFO] Server is starting up.
[INFO] XNIO version 3.3.0.Final
[INFO] XNIO NIO Implementation Version 3.3.0.Final
[INFO] JBoss Remoting version 4.0.8.Final
07:22:11,620 INFO  [org.jboss.modules] (main) JBoss Modules version 1.3.3.Final
07:22:11,838 INFO  [org.jboss.msc] (main) JBoss MSC version 1.2.2.Final
07:22:11,894 WARN  [org.jboss.as.warn.fd-limit] (main) JBAS015972: The operating system has limited the number of open files to 1024 for this process; a value of at least 4096 is recommended
07:22:11,926 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015899: WildFly 8.2.0.Final "Tweek" starting
07:22:13,237 INFO  [org.jboss.as.server] (Controller Boot Thread) JBAS015888: Creating http management service using socket-binding (management-http)
07:22:13,264 INFO  [org.xnio] (MSC service thread 1-1) XNIO version 3.3.0.Final
07:22:13,286 INFO  [org.xnio.nio] (MSC service thread 1-1) XNIO NIO Implementation Version 3.3.0.Final
07:22:13,303 INFO  [org.wildfly.extension.io] (ServerService Thread Pool -- 31) WFLYIO001: Worker 'default' has auto-configured to 8 core threads with 64 task threads based on your 4 available processors
07:22:13,312 INFO  [org.jboss.as.naming] (ServerService Thread Pool -- 40) JBAS011800: Activating Naming Subsystem
07:22:13,326 INFO  [org.jboss.as.security] (ServerService Thread Pool -- 45) JBAS013171: Activating Security Subsystem
07:22:13,331 INFO  [org.jboss.as.clustering.infinispan] (ServerService Thread Pool -- 32) JBAS010280: Activating Infinispan subsystem.
07:22:13,339 INFO  [org.jboss.as.jsf] (ServerService Thread Pool -- 38) JBAS012615: Activated the following JSF Implementations: [main]
07:22:13,364 WARN  [org.jboss.as.txn] (ServerService Thread Pool -- 46) JBAS010153: Node identifier property is set to the default value. Please make sure it is unique.
07:22:13,368 INFO  [org.jboss.as.connector.logging] (MSC service thread 1-3) JBAS010408: Starting JCA Subsystem (IronJacamar 1.1.9.Final)
07:22:13,376 INFO  [org.jboss.as.webqqqqq] (ServerService Thread Pool -- 48) JBAS015537: Activating WebServices Extension
07:22:13,407 INFO  [org.jboss.as.security] (MSC service thread 1-6) JBAS013170: Current PicketBox version=4.0.21.Final
07:22:13,527 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-8) JBAS015400: Bound mail session [java:jboss/mail/yza]
07:22:13,526 INFO  [org.jboss.as.naming] (MSC service thread 1-2) JBAS011802: Starting Naming Service
07:22:13,529 INFO  [org.jboss.as.connector.subsystems.datasources] (ServerService Thread Pool -- 27) JBAS010403: Deploying JDBC-compliant driver class org.h2.Driver (version 1.3)
07:22:13,529 INFO  [org.jboss.as.mail.extension] (MSC service thread 1-5) JBAS015400: Bound mail session [java:jboss/mail/Default]
07:22:13,540 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-3) JBAS010417: Started Driver service with driver-name = h2
07:22:13,561 INFO  [org.jboss.remoting] (MSC service thread 1-7) JBoss Remoting version 4.0.6.Final
07:22:13,647 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-2) JBAS017502: Undertow 1.1.0.Final starting
07:22:13,647 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017502: Undertow 1.1.0.Final starting
07:22:13,926 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017525: Started server default-server.
07:22:13,926 INFO  [org.wildfly.extension.undertow] (ServerService Thread Pool -- 47) JBAS017527: Creating file handler for path /opt/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/welcome-content
07:22:13,981 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-7) JBAS017531: Host default-host starting
07:22:14,002 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017519: Undertow HTTP listener default listening on /127.0.0.1:38272
07:22:14,030 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010400: Bound data source [java:jboss/datasources/ExampleDS]
07:22:14,100 INFO  [org.jboss.as.server.deployment.scanner] (MSC service thread 1-5) JBAS015012: Started FileSystemDeploymentService for directory /opt/.jenkins/workspace/BAR-team_xa_takari/server/wildfly-8.2.0.Final/standalone/deployments
07:22:14,348 INFO  [org.jboss.ws.common.management] (MSC service thread 1-2) JBWS022052: Starting JBoss Web Services - Stack CXF Server 4.3.2.Final
07:22:14,480 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015961: Http management interface listening on http://127.0.0.1:40182/management
07:22:14,480 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015951: Admin console listening on http://127.0.0.1:40182
07:22:14,481 INFO  [org.jboss.as] (Controller Boot Thread) JBAS015874: WildFly 8.2.0.Final "Tweek" started in 3236ms - Started 209 of 259 qqqqq (83 qqqqq are lazy, passive or on-demand)
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default-integration-test) @ foo.server ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default-integration-test) @ foo.server ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ foo.server ---
[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/server/pom.xml to /opt/mvn-local-repo3.2.5/foo/yza/foo.server/0.12.0-SNAPSHOT/foo.server-0.12.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo.server/0.12.0-SNAPSHOT/_remote.repositories
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ foo.server ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) > generate-sources @ foo.server >>>
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.server ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) < generate-sources @ foo.server <<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ foo.server ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo.bar 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ foo.bar ---
[INFO] No sources specified for compilation.  Skipping.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default-integration-test) @ foo.bar ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default-integration-test) @ foo.bar ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ foo.bar ---
[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/pom.xml to /opt/mvn-local-repo3.2.5/foo/yza/foo.bar/0.12.0-SNAPSHOT/foo.bar-0.12.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo.bar/0.12.0-SNAPSHOT/_remote.repositories
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ foo.bar ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) > generate-sources @ foo.bar >>>
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) < generate-sources @ foo.bar <<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ foo.bar ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo.bar.tech 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar.tech ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ foo.bar.tech ---
[INFO] No sources specified for compilation.  Skipping.
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default-integration-test) @ foo.bar.tech ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default-integration-test) @ foo.bar.tech ---
[INFO] No tests to run.
[JENKINS] Recording test results[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ foo.bar.tech ---

[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/pom.xml to /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.tech/0.12.0-SNAPSHOT/foo.bar.tech-0.12.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.tech/0.12.0-SNAPSHOT/_remote.repositories
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ foo.bar.tech ---
[INFO] Not executing Javadoc as the project is not a Java classpath-capable package
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) > generate-sources @ foo.bar.tech >>>
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar.tech ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) < generate-sources @ foo.bar.tech <<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ foo.bar.tech ---
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo.bar.rest.api 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:update-check (default-update-check) @ foo.bar.rest.api ---
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar.rest.api ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:process-resources (default-process-resources) @ foo.bar.rest.api ---
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:compile (default-compile) @ foo.bar.rest.api ---
[DEBUG] Loaded incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_compile_default-compile (17 ms)
[INFO] Performing incremental build
[DEBUG] Compile source roots:
/root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/src/main/java
   includes=[**/*.java] excludes=[] matched=1
[DEBUG] Compile classpath: 6 entries
   /opt/mvn-local-repo3.2.5/javax/javaee-web-api/7.0/javaee-web-api-7.0.jar
   /var/jdk18/lib/jconsole.jar
   /opt/mvn-local-repo3.2.5/io/undertow/undertow-core/1.2.0.Beta8/undertow-core-1.2.0.Beta8.jar
   /opt/mvn-local-repo3.2.5/org/jboss/logging/jboss-logging/3.2.1.Final/jboss-logging-3.2.1.Final.jar
   /opt/mvn-local-repo3.2.5/org/jboss/xnio/xnio-api/3.3.0.Final/xnio-api-3.3.0.Final.jar
   /opt/mvn-local-repo3.2.5/org/jboss/xnio/xnio-nio/3.3.0.Final/xnio-nio-3.3.0.Final.jar
[DEBUG] Analyzed 6 classpath dependencies (496 ms)
[DEBUG] Digested 0 types and 0 packages in 496 ms
[INFO] Compiling 1 sources to /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/classes
[INFO] Compiled 1 out of 1 sources (1045 ms)
[DEBUG] Stored incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_compile_default-compile (7 ms)
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:export-package (default-export-package) @ foo.bar.rest.api ---
[DEBUG] Loaded incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_export-package_default-export-package (1 ms)
[INFO] Performing incremental build
[DEBUG] Stored incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_export-package_default-export-package (0 ms)
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:process-test-resources (default-process-test-resources) @ foo.bar.rest.api ---
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:testCompile (default-testCompile) @ foo.bar.rest.api ---
[DEBUG] Loaded incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_testCompile_default-testCompile (1 ms)
[INFO] Performing incremental build
[DEBUG] Compile source roots:
/root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/src/test/java
   does not exist or not a directory, skiped
[INFO] No sources, skipping compilation
[DEBUG] Stored incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_testCompile_default-testCompile (1 ms)
[INFO] 
[INFO] --- gmavenplus-plugin:1.5:testCompile (default) @ foo.bar.rest.api ---
[INFO] No sources specified for compilation.  Skipping.
[INFO] 
[INFO] --- maven-surefire-plugin:2.18.1:test (default-test) @ foo.bar.rest.api ---
[INFO] No tests to run.
[JENKINS] Recording test results[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:jar (default-jar) @ foo.bar.rest.api ---

[DEBUG] Loaded incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_jar_default-jar (0 ms)
[INFO] Performing incremental build
[DEBUG] Stored incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_jar_default-jar (0 ms)
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:integration-test (default-integration-test) @ foo.bar.rest.api ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- maven-failsafe-plugin:2.18.1:verify (default-integration-test) @ foo.bar.rest.api ---
[INFO] No tests to run.
[JENKINS] Recording test results
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:install (default-install) @ foo.bar.rest.api ---
[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT.jar to /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT.jar
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.rest.api/0.12.0-SNAPSHOT/_remote.repositories
[INFO] Installing /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/pom.xml to /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT.pom
[DEBUG] Writing tracking file /opt/mvn-local-repo3.2.5/foo/yza/foo.bar.rest.api/0.12.0-SNAPSHOT/_remote.repositories
[INFO] 
[INFO] --- maven-javadoc-plugin:2.10.3:jar (attach-javadocs) @ foo.bar.rest.api ---
[DEBUG] Found Java API link: http://docs.oracle.com/javase/8/docs/api/
[DEBUG] Trying to add links for modules...
[DEBUG] /var/jdk18/jre/../bin/javadoc @options @packages
[INFO] 
Loading source files for package de.xyzrz.cas.rest.api...
Constructing Javadoc information...
Standard Doclet version 1.8.0_40
Building tree for all the packages and classes...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/RestClient.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/package-frame.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/package-summary.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/package-tree.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/constant-values.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/class-use/RestClient.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/foo/cas/rest/api/package-use.html...
Building index for all the packages and classes...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/overview-tree.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/index-all.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/deprecated-list.html...
Building index for all classes...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/allclasses-frame.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/allclasses-noframe.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/index.html...
Generating /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/apidocs/help-doc.html...
[INFO] Building jar: /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT-javadoc.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory de/
[DEBUG] adding directory foo/
[DEBUG] adding directory foo/cas/
[DEBUG] adding directory foo/cas/rest/
[DEBUG] adding directory foo/cas/rest/api/
[DEBUG] adding directory foo/cas/rest/api/class-use/
[DEBUG] adding entry script.js
[DEBUG] adding entry help-doc.html
[DEBUG] adding entry foo/cas/rest/api/package-frame.html
[DEBUG] adding entry foo/cas/rest/api/RestClient.html
[DEBUG] adding entry foo/cas/rest/api/package-summary.html
[DEBUG] adding entry foo/cas/rest/api/package-use.html
[DEBUG] adding entry foo/cas/rest/api/package-tree.html
[DEBUG] adding entry foo/cas/rest/api/class-use/RestClient.html
[DEBUG] adding entry stylesheet.css
[DEBUG] adding entry package-list
[DEBUG] adding entry allclasses-frame.html
[DEBUG] adding entry deprecated-list.html
[DEBUG] adding entry constant-values.html
[DEBUG] adding entry index.html
[DEBUG] adding entry allclasses-noframe.html
[DEBUG] adding entry overview-tree.html
[DEBUG] adding entry index-all.html
[INFO] 
[INFO] >>> maven-source-plugin:2.1.2:jar (attach-sources) > generate-sources @ foo.bar.rest.api >>>
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:update-check (default-update-check) @ foo.bar.rest.api ---
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar.rest.api ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[WARNING] Failed to getClass for org.apache.maven.plugin.source.SourceJarMojo
[INFO] 
[INFO] <<< maven-source-plugin:2.1.2:jar (attach-sources) < generate-sources @ foo.bar.rest.api <<<
[INFO] 
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ foo.bar.rest.api ---
[DEBUG] isUp2date: false (Resource with newer modification date found.)
[INFO] Building jar: /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT-sources.jar
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory de/
[DEBUG] adding directory foo/
[DEBUG] adding directory foo/cas/
[DEBUG] adding directory foo/cas/rest/
[DEBUG] adding directory foo/cas/rest/api/
[DEBUG] adding entry foo/cas/rest/api/RestClient.java
[INFO]                                                                         
[INFO] ------------------------------------------------------------------------
[INFO] Building foo.bar.rest.impl 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:update-check (default-update-check) @ foo.bar.rest.impl ---
[INFO] 
[INFO] --- properties-maven-plugin:1.0-alpha-2:read-project-properties (read) @ foo.bar.rest.impl ---
[DEBUG] Loading property file: /opt/.jenkins/workspace/BAR-team_xa_takari/target/build.properties
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:process-resources (default-process-resources) @ foo.bar.rest.impl ---
[INFO] 
[INFO] --- takari-lifecycle-plugin:1.11.8:compile (default-compile) @ foo.bar.rest.impl ---
[DEBUG] Loaded incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_compile_default-compile (7 ms)
[INFO] Performing incremental build
[DEBUG] Compile source roots:
/root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java
   includes=[**/*.java] excludes=[] matched=3
[DEBUG] Compile classpath: 13 entries
   /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT.jar
   /opt/mvn-local-repo3.2.5/org/jboss/resteasy/jaxrs-api/3.0.10.Final/jaxrs-api-3.0.10.Final.jar
   /opt/mvn-local-repo3.2.5/org/hibernate/hibernate-validator/5.1.3.Final/hibernate-validator-5.1.3.Final.jar
   /opt/mvn-local-repo3.2.5/javax/validation/validation-api/1.1.0.Final/validation-api-1.1.0.Final.jar
   /opt/mvn-local-repo3.2.5/org/jboss/logging/jboss-logging/3.2.1.Final/jboss-logging-3.2.1.Final.jar
   /opt/mvn-local-repo3.2.5/com/fasterxml/classmate/1.0.0/classmate-1.0.0.jar
   /opt/mvn-local-repo3.2.5/commons-beanutils/commons-beanutils/1.8.3/commons-beanutils-1.8.3.jar
   /opt/mvn-local-repo3.2.5/commons-logging/commons-logging/1.1.3/commons-logging-1.1.3.jar
   /opt/mvn-local-repo3.2.5/org/slf4j/slf4j-api/1.7.10/slf4j-api-1.7.10.jar
   /var/jdk18/lib/jconsole.jar
   /opt/mvn-local-repo3.2.5/io/undertow/undertow-core/1.2.0.Beta8/undertow-core-1.2.0.Beta8.jar
   /opt/mvn-local-repo3.2.5/org/jboss/xnio/xnio-api/3.3.0.Final/xnio-api-3.3.0.Final.jar
   /opt/mvn-local-repo3.2.5/org/jboss/xnio/xnio-nio/3.3.0.Final/xnio-nio-3.3.0.Final.jar
[DEBUG] Analyzed 13 classpath dependencies (111 ms)
[DEBUG] Digested 0 types and 0 packages in 111 ms
[INFO] Skipped compilation, all 3 classes are up to date
[DEBUG] Stored incremental build state /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_compile_default-compile (4 ms)
[INFO] Replaying recorded messages...
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[3,8] The import de.xyzrz.cas.rest.api cannot be resolved
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[15,40] RestClient cannot be resolved to a type
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[23,19] The method performGetRequest(MediaType, String, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[30,19] The method performPostRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[39,19] The method performPostRequest(MediaType, MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[48,19] The method performPutRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[56,20] The method buildWebTarget(String) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[95,28] DEFAULT_HTTP_STATUS_OK cannot be resolved to a variable
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] foo ............................................ SUCCESS [  4.666 s]
[INFO] foo.server ..................................... SUCCESS [  7.222 s]
[INFO] foo.bar ....................................... SUCCESS [  0.655 s]
[INFO] foo.bar.tech .................................. SUCCESS [  0.672 s]
[INFO] foo.bar.rest.api .............................. SUCCESS [  4.094 s]
[INFO] foo.bar.rest.impl ............................. FAILURE [  0.414 s]
[INFO] foo.bar.zot ................... SKIPPED
[INFO] foo.bar.zot.model ............. SKIPPED
[INFO] foo.bar.zot.wildfly ........... SKIPPED
[INFO] foo.bar.baz ........................... SKIPPED
[INFO] foo.bar.baz.model ..................... SKIPPED
[INFO] foo.bar.baz.wildfly ................... SKIPPED
[INFO] foo.bar.bla .............................. SKIPPED
[INFO] foo.bar.bla.model ........................ SKIPPED
[INFO] foo.bar.bla.wildfly ...................... SKIPPED
[INFO] foo.bar.mdjgrwr ............................... SKIPPED
[INFO] foo.bar.mdjgrwr.service ....................... SKIPPED
[INFO] foo.bar.mdjgrwr.wildfly ....................... SKIPPED
[INFO] xyz.xhg.yza ........................................ SKIPPED
[INFO] xyz.xhg.yza.core-api ............................... SKIPPED
[INFO] xyz.xhg.yza.core-impl .............................. SKIPPED
[INFO] xyz.xhg-komponenten ................................ SKIPPED
[INFO] xyz.xhg-komponenten.yza ............................ SKIPPED
[INFO] xyz.xhg-komponenten.yza.cms ........................ SKIPPED
[INFO] xyz.xhg-komponenten.yza.cms.zzzzz .............. SKIPPED
[INFO] xyz.xhg-komponenten.yza.cms.qqqqq ............... SKIPPED
[INFO] xyz.xhg-komponenten.yza.cms.yyyyy .............. SKIPPED
[INFO] xyz.xhg-komponenten.yza.baz ................ SKIPPED
[INFO] xyz.xhg-komponenten.yza.baz.zzzzz ...... SKIPPED
[INFO] xyz.xhg-komponenten.yza.baz.qqqqq ....... SKIPPED
[INFO] xyz.xhg-komponenten.yza.baz.yyyyy ...... SKIPPED
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl ................... SKIPPED
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.zzzzz ......... SKIPPED
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.qqqqq .......... SKIPPED
[INFO] xyz.xhg-komponenten.yza.jklsdfkljkl.yyyyy ......... SKIPPED
[INFO] xyz.xhg-komponenten.yza.email ...................... SKIPPED
[INFO] xyz.xhg-komponenten.yza.email.zzzzz ............ SKIPPED
[INFO] xyz.xhg-komponenten.yza.email.qqqqq ............. SKIPPED
[INFO] xyz.xhg-komponenten.yza.email.yyyyy ............ SKIPPED
[INFO] foo.frontend ................................... SKIPPED
[INFO] foo.frontend.klsd .............................. SKIPPED
[INFO] foo.frontend.klsd.mobile ....................... SKIPPED
[INFO] foo.aggregate .................................. SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 24.367 s
[INFO] Finished at: 2015-07-20T07:22:24+02:00
[INFO] Final Memory: 77M/643M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.8:compile (default-compile) on project foo.bar.rest.impl: 8 error(s) encountered:
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[3:8] The import de.xyzrz.cas.rest.api cannot be resolved
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[15:40] RestClient cannot be resolved to a type
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[23:19] The method performGetRequest(MediaType, String, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[30:19] The method performPostRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[39:19] The method performPostRequest(MediaType, MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[48:19] The method performPutRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[56:20] The method buildWebTarget(String) of type RestClientImpl must override or implement a supertype method
[ERROR] /opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[95:28] DEFAULT_HTTP_STATUS_OK cannot be resolved to a variable
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.8:compile (default-compile) on project foo.bar.rest.impl: 8 error(s) encountered:
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[3:8] The import de.xyzrz.cas.rest.api cannot be resolved
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[15:40] RestClient cannot be resolved to a type
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[23:19] The method performGetRequest(MediaType, String, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[30:19] The method performPostRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[39:19] The method performPostRequest(MediaType, MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[48:19] The method performPutRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[56:20] The method buildWebTarget(String) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[95:28] DEFAULT_HTTP_STATUS_OK cannot be resolved to a variable

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:216)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
    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:497)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
    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:497)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
    at hudson.remoting.UserRequest.perform(UserRequest.java:121)
    at hudson.remoting.UserRequest.perform(UserRequest.java:49)
    at hudson.remoting.Request$2.run(Request.java:324)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.maven.plugin.MojoExecutionException: 8 error(s) encountered:
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[3:8] The import de.xyzrz.cas.rest.api cannot be resolved
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[15:40] RestClient cannot be resolved to a type
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[23:19] The method performGetRequest(MediaType, String, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[30:19] The method performPostRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[39:19] The method performPostRequest(MediaType, MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[48:19] The method performPutRequest(MediaType, String, Object, int...) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[56:20] The method buildWebTarget(String) of type RestClientImpl must override or implement a supertype method
/opt/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/src/main/java/foo/cas/rest/impl/RestClientImpl.java:[95:28] DEFAULT_HTTP_STATUS_OK cannot be resolved to a variable

    at io.takari.incrementalbuild.maven.internal.MavenBuildContextFinalizer.failBuild(MavenBuildContextFinalizer.java:105)
    at io.takari.incrementalbuild.maven.internal.MavenBuildContextFinalizer.afterMojoExecutionSuccess(MavenBuildContextFinalizer.java:82)
    at org.apache.maven.execution.scope.internal.MojoExecutionScope.afterMojoExecutionSuccess(MojoExecutionScope.java:163)
    at org.apache.maven.plugin.CompoundMojoExecutionListener.afterMojoExecutionSuccess(CompoundMojoExecutionListener.java:52)
    at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:136)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)
    ... 31 more
[ERROR] 
[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/MojoExecutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :foo.bar.rest.impl
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/email/qqqqq/pom.xml to de.xyzrz.xhg-komponenten.yza.email/xyz.xhg-komponenten.yza.email.qqqqq/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.email.qqqqq-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/jklsdfkljkl/zzzzz/pom.xml to de.xyzrz.xhg-komponenten.yza.jklsdfkljkl/xyz.xhg-komponenten.yza.jklsdfkljkl.zzzzz/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.jklsdfkljkl.zzzzz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-interessent/yza-bar-interessent-wildfly/pom.xml to de.xyzrz.yza/foo.bar.baz.wildfly/0.12.0-SNAPSHOT/foo.bar.baz.wildfly-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-jklsdfkljklgenerierung/pom.xml to de.xyzrz.yza/foo.bar.zot/0.12.0-SNAPSHOT/foo.bar.zot-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-institut/yza-bar-institut-wildfly/pom.xml to de.xyzrz.yza/foo.bar.bla.wildfly/0.12.0-SNAPSHOT/foo.bar.bla.wildfly-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/email/yyyyy/pom.xml to de.xyzrz.xhg-komponenten.yza.email/xyz.xhg-komponenten.yza.email.yyyyy/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.email.yyyyy-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/cms/qqqqq/pom.xml to de.xyzrz.xhg-komponenten.yza.cms/xyz.xhg-komponenten.yza.cms.qqqqq/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.cms.qqqqq-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-jklsdfkljklgenerierung/yza-bar-jklsdfkljklgenerierung-wildfly/pom.xml to de.xyzrz.yza/foo.bar.zot.wildfly/0.12.0-SNAPSHOT/foo.bar.zot.wildfly-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/interessent/zzzzz/pom.xml to de.xyzrz.xhg-komponenten.yza.baz/xyz.xhg-komponenten.yza.baz.zzzzz/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.baz.zzzzz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-institut/yza-bar-institut-model/pom.xml to de.xyzrz.yza/foo.bar.bla.model/0.12.0-SNAPSHOT/foo.bar.bla.model-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/interessent/yyyyy/pom.xml to de.xyzrz.xhg-komponenten.yza.baz/xyz.xhg-komponenten.yza.baz.yyyyy/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.baz.yyyyy-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-frontend/yza-frontend-klsd/yza-frontend-klsd-mobile/pom.xml to de.xyzrz.yza/foo.frontend.klsd.mobile/0.12.0-SNAPSHOT/foo.frontend.klsd.mobile-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/pom.xml to de.xyzrz.xhg-komponenten.yza/xyz.xhg-komponenten.yza/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-jklsdfkljklgenerierung/yza-bar-jklsdfkljklgenerierung-model/pom.xml to de.xyzrz.yza/foo.bar.zot.model/0.12.0-SNAPSHOT/foo.bar.zot.model-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/pom.xml to de.xyzrz.yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT.jar to de.xyzrz.yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT.jar
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT-javadoc.jar to de.xyzrz.yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT-javadoc.jar
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-api/target/foo.bar.rest.api-0.12.0-SNAPSHOT-sources.jar to de.xyzrz.yza/foo.bar.rest.api/0.12.0-SNAPSHOT/foo.bar.rest.api-0.12.0-SNAPSHOT-sources.jar
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/jklsdfkljkl/yyyyy/pom.xml to de.xyzrz.xhg-komponenten.yza.jklsdfkljkl/xyz.xhg-komponenten.yza.jklsdfkljkl.yyyyy/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.jklsdfkljkl.yyyyy-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg/core-api/pom.xml to de.xyzrz.xhg/xyz.xhg.yza.core-api/0.12.0-SNAPSHOT/xyz.xhg.yza.core-api-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-interessent/yza-bar-interessent-model/pom.xml to de.xyzrz.yza/foo.bar.baz.model/0.12.0-SNAPSHOT/foo.bar.baz.model-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-institut/pom.xml to de.xyzrz.yza/foo.bar.bla/0.12.0-SNAPSHOT/foo.bar.bla-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-mdjgrwr/yza-bar-mdjgrwr-wildfly/pom.xml to de.xyzrz.yza/foo.bar.mdjgrwr.wildfly/0.12.0-SNAPSHOT/foo.bar.mdjgrwr.wildfly-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-aggregate/pom.xml to de.xyzrz.yza/foo.aggregate/0.12.0-SNAPSHOT/foo.aggregate-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-interessent/pom.xml to de.xyzrz.yza/foo.bar.baz/0.12.0-SNAPSHOT/foo.bar.baz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-frontend/pom.xml to de.xyzrz.yza/foo.frontend/0.12.0-SNAPSHOT/foo.frontend-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/email/zzzzz/pom.xml to de.xyzrz.xhg-komponenten.yza.email/xyz.xhg-komponenten.yza.email.zzzzz/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.email.zzzzz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/cms/pom.xml to de.xyzrz.xhg-komponenten.yza.cms/xyz.xhg-komponenten.yza.cms/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.cms-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/cms/zzzzz/pom.xml to de.xyzrz.xhg-komponenten.yza.cms/xyz.xhg-komponenten.yza.cms.zzzzz/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.cms.zzzzz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/email/pom.xml to de.xyzrz.xhg-komponenten.yza.email/xyz.xhg-komponenten.yza.email/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.email-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/interessent/qqqqq/pom.xml to de.xyzrz.xhg-komponenten.yza.baz/xyz.xhg-komponenten.yza.baz.qqqqq/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.baz.qqqqq-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/pom.xml to de.xyzrz.xhg-komponenten/xyz.xhg-komponenten/0.12.0-SNAPSHOT/xyz.xhg-komponenten-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-frontend/yza-frontend-klsd/pom.xml to de.xyzrz.yza/foo.frontend.klsd/0.12.0-SNAPSHOT/foo.frontend.klsd-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/pom.xml to de.xyzrz.yza/foo/0.12.0-SNAPSHOT/foo-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/jklsdfkljkl/pom.xml to de.xyzrz.xhg-komponenten.yza.jklsdfkljkl/xyz.xhg-komponenten.yza.jklsdfkljkl/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.jklsdfkljkl-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/pom.xml to de.xyzrz.yza/foo.bar/0.12.0-SNAPSHOT/foo.bar-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/server/pom.xml to de.xyzrz.yza/foo.server/0.12.0-SNAPSHOT/foo.server-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/yza-bar-rest-impl/pom.xml to de.xyzrz.yza/foo.bar.rest.impl/0.12.0-SNAPSHOT/foo.bar.rest.impl-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-mdjgrwr/yza-bar-mdjgrwr-service/pom.xml to de.xyzrz.yza/foo.bar.mdjgrwr.service/0.12.0-SNAPSHOT/foo.bar.mdjgrwr.service-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg/pom.xml to de.xyzrz.xhg/xyz.xhg.yza/0.12.0-SNAPSHOT/xyz.xhg.yza-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/cms/yyyyy/pom.xml to de.xyzrz.xhg-komponenten.yza.cms/xyz.xhg-komponenten.yza.cms.yyyyy/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.cms.yyyyy-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-tech/pom.xml to de.xyzrz.yza/foo.bar.tech/0.12.0-SNAPSHOT/foo.bar.tech-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/jklsdfkljkl/qqqqq/pom.xml to de.xyzrz.xhg-komponenten.yza.jklsdfkljkl/xyz.xhg-komponenten.yza.jklsdfkljkl.qqqqq/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.jklsdfkljkl.qqqqq-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg-komponenten/yza/interessent/pom.xml to de.xyzrz.xhg-komponenten.yza.baz/xyz.xhg-komponenten.yza.baz/0.12.0-SNAPSHOT/xyz.xhg-komponenten.yza.baz-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/yza-bar/yza-bar-mdjgrwr/pom.xml to de.xyzrz.yza/foo.bar.mdjgrwr/0.12.0-SNAPSHOT/foo.bar.mdjgrwr-0.12.0-SNAPSHOT.pom
[JENKINS] Archiving /root/.jenkins/workspace/BAR-team_xa_takari/xhg/core-impl/pom.xml to de.xyzrz.xhg/xyz.xhg.yza.core-impl/0.12.0-SNAPSHOT/xyz.xhg.yza.core-impl-0.12.0-SNAPSHOT.pom
channel stopped
07:22:25,157 INFO  [org.jboss.as.connector.subsystems.datasources] (MSC service thread 1-6) JBAS010409: Unbound data source [java:jboss/datasources/ExampleDS]
07:22:25,158 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-6) JBAS017532: Host default-host stopping
07:22:25,165 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017521: Undertow HTTP listener default suspending
07:22:25,165 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017520: Undertow HTTP listener default stopped, was bound to /127.0.0.1:38272
07:22:25,167 INFO  [org.wildfly.extension.undertow] (MSC service thread 1-8) JBAS017506: Undertow 1.1.0.Final stopping
07:22:25,181 INFO  [org.jboss.as.connector.deployers.jdbc] (MSC service thread 1-7) JBAS010418: Stopped Driver service with driver-name = h2
07:22:25,200 INFO  [org.jboss.as] (MSC service thread 1-7) JBAS015950: WildFly 8.2.0.Final "Tweek" stopped in 51ms
Sending e-mails to: recipient@xxx.yyy.de
Finished: FAILURE

I still find it funny that it works on my Windows box.

ifedorenko commented 9 years ago

@kriegaex there is a lot going on in your build and I can't really tell why the jar is empty without small standalone example, ideally will all groovy, wildfly, etc, plugins removed.

Not sure this is related, but I noticed that your build assume /opt/.jenkins/workspace/BAR-team_xa_takari and /root/.jenkins/workspace/BAR-team_xa_takari are the same directory. May be worth a closer look.

Takari jar mojo should probably log little more, especially with -X. I can make this change in 1.11.9, if you think it'll help you troubleshoot the problem.

kriegaex commented 9 years ago

I asked the admin, the two paths are actually identical. As for a stand-alone example, I don't know if or when I will be able to provide one. If I get your e-mail address and you tell me what exactly you need to know I can provide more logs (non-obfuscated).

ifedorenko commented 9 years ago

I've added more logging to jar mojo. I'd appreciate if you could rerun your build with debug log enabled using takari lifecycle 1.11.9-SNAPSHOT. You need to add the following <repository> element in your pom.xml file to use Takari SNAPSHOTs

<repository>
  <id>takari-snapshots</id>
  <url>https://otto.takari.io/content/repositories/snapshots/</url>
  <snapshots>
    <enabled>true</enabled>
  </snapshots>
</repository>

What you are looking for are log messages like Analyzing main classes directory ... with ... entries followed by Created archive ... with ... entries log messages, which hopefully will help narrow down the problem.

kriegaex commented 9 years ago

Sorry, I am not allowed to use repositories other than the mirrored ones here.

kriegaex commented 9 years ago

I tried it from my local machine (not from the Jenkins server), temporarily using modified proxy and mirror settings. But now I have this problem:

[DEBUG] Could not find metadata io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT/maven-metadata.xml in one-jar (http://onejar-maven-plugin.googlecode.com/svn/mavenrepo)
[DEBUG] Could not find metadata io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT/maven-metadata.xml in sdv-maven-mirror (http://upqsart1.nbg.sdv.spb.de:8080/artifactory/repo)
[WARNING] Could not transfer metadata io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT/maven-metadata.xml from/to takari-snapshots (https://otto.takari.io/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
org.eclipse.aether.transfer.MetadataTransferException: Could not transfer metadata io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT/maven-metadata.xml from/to takari-snapshots (https://otto.takari.io/content/repositories/snapshots): sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at org.eclipse.aether.connector.basic.MetadataTransportListener.transferFailed(MetadataTransportListener.java:43)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:355)
    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$DirectExecutor.execute(BasicRepositoryConnector.java:581)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector.get(BasicRepositoryConnector.java:222)
    at org.eclipse.aether.internal.impl.DefaultMetadataResolver$ResolveTask.run(DefaultMetadataResolver.java:607)
    at org.eclipse.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:67)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.maven.wagon.TransferFailedException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1085)
    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:977)
    at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116)
    at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88)
    at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61)
    at org.eclipse.aether.transport.wagon.WagonTransporter$GetTaskRunner.run(WagonTransporter.java:560)
    at org.eclipse.aether.transport.wagon.WagonTransporter.execute(WagonTransporter.java:427)
    at org.eclipse.aether.transport.wagon.WagonTransporter.get(WagonTransporter.java:404)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$GetTaskRunner.runTask(BasicRepositoryConnector.java:447)
    at org.eclipse.aether.connector.basic.BasicRepositoryConnector$TaskRunner.run(BasicRepositoryConnector.java:350)
    ... 8 more
Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.ssl.Alerts.getSSLException(Alerts.java:192)
    at sun.security.ssl.SSLSocketImpl.fatal(SSLSocketImpl.java:1937)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:302)
    at sun.security.ssl.Handshaker.fatalSE(Handshaker.java:296)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1478)
    at sun.security.ssl.ClientHandshaker.processMessage(ClientHandshaker.java:212)
    at sun.security.ssl.Handshaker.processLoop(Handshaker.java:969)
    at sun.security.ssl.Handshaker.process_record(Handshaker.java:904)
    at sun.security.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:1050)
    at sun.security.ssl.SSLSocketImpl.performInitialHandshake(SSLSocketImpl.java:1363)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1391)
    at sun.security.ssl.SSLSocketImpl.startHandshake(SSLSocketImpl.java:1375)
    at org.apache.maven.wagon.providers.http.httpclient.conn.ssl.SSLConnectionSocketFactory.createLayeredSocket(SSLConnectionSocketFactory.java:275)
    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.HttpClientConnectionOperator.upgrade(HttpClientConnectionOperator.java:169)
    at org.apache.maven.wagon.providers.http.httpclient.impl.conn.PoolingHttpClientConnectionManager.upgrade(PoolingHttpClientConnectionManager.java:333)
    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.establishRoute(MainClientExec.java:398)
    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.MainClientExec.execute(MainClientExec.java:219)
    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.ProtocolExec.execute(ProtocolExec.java:195)
    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RetryExec.execute(RetryExec.java:86)
    at org.apache.maven.wagon.providers.http.httpclient.impl.execchain.RedirectExec.execute(RedirectExec.java:108)
    at org.apache.maven.wagon.providers.http.httpclient.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:184)
    at org.apache.maven.wagon.providers.http.httpclient.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:82)
    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.execute(AbstractHttpClientWagon.java:848)
    at org.apache.maven.wagon.providers.http.AbstractHttpClientWagon.fillInputData(AbstractHttpClientWagon.java:1000)
    ... 17 more
Caused by: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:387)
    at sun.security.validator.PKIXValidator.engineValidate(PKIXValidator.java:292)
    at sun.security.validator.Validator.validate(Validator.java:260)
    at sun.security.ssl.X509TrustManagerImpl.validate(X509TrustManagerImpl.java:324)
    at sun.security.ssl.X509TrustManagerImpl.checkTrusted(X509TrustManagerImpl.java:229)
    at sun.security.ssl.X509TrustManagerImpl.checkServerTrusted(X509TrustManagerImpl.java:124)
    at sun.security.ssl.ClientHandshaker.serverCertificate(ClientHandshaker.java:1460)
    ... 36 more
Caused by: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
    at sun.security.provider.certpath.SunCertPathBuilder.build(SunCertPathBuilder.java:145)
    at sun.security.provider.certpath.SunCertPathBuilder.engineBuild(SunCertPathBuilder.java:131)
    at java.security.cert.CertPathBuilder.build(CertPathBuilder.java:280)
    at sun.security.validator.PKIXValidator.doBuild(PKIXValidator.java:382)
    ... 42 more

Update: These Wagon settings doe not have any positive effect:

-Dmaven.wagon.http.ssl.insecure=true
-Dmaven.wagon.http.ssl.allowall=true
-Dmaven.wagon.http.ssl.ignore.validity.dates=true

Update 2: Okay, I was able to work around this problem by uploading the snapshot to our 3rd party repo in Artifactory after the admin enabled it to serve snapshots, not just releases. Stay tuned for more feedback after I have put the new version into action on our Jenkins server.

ifedorenko commented 9 years ago

Your local java installation does not recognize otto.takari.io SSL certificate. Can you check you are running the build with java 7 or better (otto.takari.io SSL setup is not compatible with older versions of java) and that you have well-known SSL CA certificates installed (on some Linux flavours they come as separate packages, but your company IT could remove them on other platforms too).

Of course, you can also build takari-lifecycle 1.11.9-SNAPSHOT locally. Or wait until we release new version.

kriegaex commented 9 years ago

See my update 2 in the previous comment. And yes, I am building with and running on Java 8.

Anyway, the next problem when using the 1.11.9-SNAPSHOT version:

[ERROR] -----------------------------------------------------: io.takari.incrementalbuild.BuildContext
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources (default-process-resources) on project sdv.okv.cbom.rest.api: Execution default-process-resources of goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources failed: A required class was missing while executing io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources: Lio/takari/incrementalbuild/BuildContext;
-----------------------------------------------------
realm =    extension>io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/opt/mvn-local-repo3.2.5/io/takari/maven/plugins/takari-lifecycle-plugin/1.11.9-SNAPSHOT/takari-lifecycle-plugin-1.11.9-SNAPSHOT.jar
urls[1] = file:/opt/mvn-local-repo3.2.5/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

-----------------------------------------------------

    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:224)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
    at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)
    at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)
    at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)
    at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:128)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:307)
    at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:193)
    at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:106)
    at org.jvnet.hudson.maven3.launcher.Maven31Launcher.main(Maven31Launcher.java:132)
    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:497)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launchStandard(Launcher.java:330)
    at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:238)
    at jenkins.maven3.agent.Maven31Main.launch(Maven31Main.java:181)
    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:497)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:136)
    at hudson.maven.Maven3Builder.call(Maven3Builder.java:71)
    at hudson.remoting.UserRequest.perform(UserRequest.java:121)
    at hudson.remoting.UserRequest.perform(UserRequest.java:49)
    at hudson.remoting.Request$2.run(Request.java:324)
    at hudson.remoting.InterceptingExecutorService$1.call(InterceptingExecutorService.java:68)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    at java.lang.Thread.run(Thread.java:745)
Caused by: org.apache.maven.plugin.PluginExecutionException: Execution default-process-resources of goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources failed: A required class was missing while executing io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources: Lio/takari/incrementalbuild/BuildContext;
ifedorenko commented 9 years ago

Don't know, sorry. There was no change in incrementalbuild dependency between 1.11.8 and current master, so I can't tell why BuildContext class is missing at runtime. Probably just wait until 1.11.9 is out.

kriegaex commented 9 years ago

Hmm, okay, if you say so. Thanks anyway.

Is the new version due anytime soon?

ifedorenko commented 9 years ago

No specific schedule for 1.11.9 atm.

kriegaex commented 9 years ago

Looking at this again...

[ERROR] -----------------------------------------------------: io.takari.incrementalbuild.BuildContext
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources (default-process-resources) on project sdv.okv.cbom.rest.api: Execution default-process-resources of goal io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources failed: A required class was missing while executing io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT:process-resources: Lio/takari/incrementalbuild/BuildContext;
-----------------------------------------------------
realm =    extension>io.takari.maven.plugins:takari-lifecycle-plugin:1.11.9-SNAPSHOT
strategy = org.codehaus.plexus.classworlds.strategy.SelfFirstStrategy
urls[0] = file:/opt/mvn-local-repo3.2.5/io/takari/maven/plugins/takari-lifecycle-plugin/1.11.9-SNAPSHOT/takari-lifecycle-plugin-1.11.9-SNAPSHOT.jar
urls[1] = file:/opt/mvn-local-repo3.2.5/org/codehaus/plexus/plexus-utils/1.1/plexus-utils-1.1.jar
Number of foreign imports: 1
import: Entry[import  from realm ClassRealm[maven.api, parent: null]]

... I am wondering if it might be a problem that plexus-utils-1.1 is used here, while in the takari-lifecycle-plugin POM you declare this with a compile scope:

<dependency>
  <groupId>org.codehaus.plexus</groupId>
  <artifactId>plexus-utils</artifactId>
  <version>3.0.20</version>
  <scope>compile</scope>
</dependency>

If this is a classloading problem and you have any expecatations about how plexus-utils resolves classes, could this be an issue? This is just a wild guess, but I am pretty desparate at this point because again, Takari works locally on my Windows box under Maven 3.3.3, but not on Linux (Jenkins server) with also Maven 3.3.3.

ifedorenko commented 9 years ago

All takari-lifecycle-plugin dependencies are missing, but I do not know why. Do you see log messages related takari-lifecycle-plugin-1.11.9-SNAPSHOT.pom download?

kriegaex commented 9 years ago

Okay, I found out that my manual Artifactory upload for the plugin snapshot produced an auto-created POM. When I replaced it by the actual project POM, the BuildContext class was finally found again by the plugin. My bad, sorry. So your snapshot plugin is in action now.

Anyway, my project build fails with the same error message, RestClient.class was not found because it was not packaged into the takari-jar artifact. With the new logging you added to the plugin the console log looks like this now:

[INFO] ------------------------------------------------------------------------
[INFO] Building xyz.pqr.asdf.rest.api 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ xyz.pqr.asdf.rest.api ---
(...)
[INFO] Deleting file /opt/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/classes/de/xyzrz/abc/rest/api/RestClient.class
(...)
[INFO] --- takari-lifecycle-plugin:1.11.9-SNAPSHOT:compile (default-compile) @ xyz.pqr.asdf.rest.api ---
[INFO] Previous incremental build state does not exist, performing full build
[DEBUG] Compile source roots:
/root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/src/main/java
   includes=[**/*.java] excludes=[] matched=1
(...)
[DEBUG] Analyzed 6 classpath dependencies (453 ms)
[DEBUG] Digested 0 types and 0 packages in 454 ms
[INFO] Compiling 1 sources to /root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/classes
[INFO] Compiled 1 out of 1 sources (989 ms)
[DEBUG] Stored incremental build state /root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_compile_default-compile (14 ms)
(...)
[INFO] --- takari-lifecycle-plugin:1.11.9-SNAPSHOT:jar (default-jar) @ xyz.pqr.asdf.rest.api ---
[INFO] Previous incremental build state does not exist, performing full build
[DEBUG] Analyzing main classes directory /root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/classes with 2 entries
[INFO] Building main JAR.
[DEBUG] Created archive /opt/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/xyz.pqr.asdf.rest.api-0.12.0-SNAPSHOT.jar with 4 entries
[DEBUG] Stored incremental build state /root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/incremental/io.takari.maven.plugins_takari-lifecycle-plugin_jar_default-jar (0 ms)
(...)
[INFO] --- maven-source-plugin:2.1.2:jar (attach-sources) @ xyz.pqr.asdf.rest.api ---
(...)
[DEBUG] adding entry de/xyzrz/abc/rest/api/RestClient.java
(...)
[INFO] ------------------------------------------------------------------------
[INFO] Building xyz.pqr.asdf.rest.impl 0.12.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] 
[INFO] Compiling 5 sources to /root/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-impl/target/classes
[ERROR] /opt/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-impl/src/main/java/de/xyzrz/abc/rest/impl/RestClientImpl.java:[8,8] The import de.xyzrz.abc.rest.api cannot be resolved
[ERROR] /opt/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-impl/src/main/java/de/xyzrz/abc/rest/impl/RestClientImpl.java:[24,40] RestClient cannot be resolved to a type
(...)

As you can see, the RestClient class gets deleted during the clean phase (i.e. there is no incremental build in my example, but a fresh recompile), then it gets compiled ("1 out of 1 sources" and there only is one source file in that module). Later, the source file RestClient.java is also added to the source JAR, but there is no log output earlier which explicitly states which class files are packaged into the module JAR, even though I use verbose mode for the Maven Compiler Plugin. But again, the class file is missing in xyz.pqr.asdf.rest.api-0.12.0-SNAPSHOT.jar, I double-checked.

Would it help if I e-mailed _io.takari.maven.plugins_takari-lifecycle-plugin_compiledefault-compile and _io.takari.maven.plugins_takari-lifecycle-plugin_jardefault-jar to you? There is partly binary content in those files, and RestClient.class is mentioned in both of them, but I do not understand the binary flags.

ifedorenko commented 9 years ago

Did you check both /opt/.jenkins/workspace/pqr-team_xa_takari/pqr-asdf/pqr-asdf-tech/pqr-asdf-rest-api/target/xyz.pqr.asdf.rest.api-0.12.0-SNAPSHOT.jar and /root/.jenkins/.../xyz.pqr.asdf.rest.api-0.12.0-SNAPSHOT.jar? I honestly don't see how the build can use both these directories, even if one is a symlink of the other.

You can add more logging to io.takari.maven.plugins.jar.Jar, but I am not sure how much more information this will provide. Created archive /opt/.jenkins/.../xyz.pqr.asdf.rest.api-0.12.0-SNAPSHOT.jar with 4 entries almost certainly means there was an attempt to add RestClient.class to the jar. At this point I recommend you run the build in a debugger and see what actually happens.

kriegaex commented 9 years ago

I just noticed the original poster's comment that plugin version 1.10.3 works. I tried and it really does work on our Jenkins server. So the path is not an issue, it is the plugin version. Even though it is gonna be slow, I intend to git bisect the problem down to a commit between versions 1.10.3 and 1.11.3 (32 commits, i.e. probably 7 full cycles).

kriegaex commented 9 years ago

Actually I had to skip many bisected commits because I could not even build the plugin as during development cycles it depended on several snapshot versions of other tools. Sometimes I could get it to work by changing the snapshot versions to corresponding release versions, but sometimes there was no such version or big version jumps. Even if there was such a release version, it would not always compile. It is virtually impossible to recreate those builds easily now, thus git bisect is not very helpful.

I guess you just have to check this diff: https://github.com/takari/takari-lifecycle/compare/takari-lifecycle-1.10.3...takari-lifecycle-1.11.3

Please note that also dependencies have changed in the meantime, such as io.takari:incrementalbuild, io.takari.maven.plugins:takari-plugin-testing and org.apache.maven:maven-*.

Sorry, but I cannot do much more in order to help narrow down the problem.

ifedorenko commented 9 years ago

I need a way to reproduce the problem locally to be able to help you troubleshoot the problem.

kriegaex commented 9 years ago

Well, or you could use my information, combine it with the diff (it is not so huge actually, e.g. you can ignore diffs in test classes and concentrate on classes related to JAR creation) and make an educated guess. I also offered you logs and two binary meta data files via e-mail, which you did not even comment on. Even I cannot reproduce it locally on Windows. On the Linux Jenkins server I am not permitted to log in via SSH, as much as I would like to. I have narrowed down the problem for you and confirmed what the original poster has said about which versions work and which do not. Two users, one problem. Sounds like a real bug to me. I am ready to help you help me and have invested much more time on it so far than you. I even bisected the bug (or tried at least), but you have snapshot dependencies in your code, which makes the builds irreproduceable. What else can I do? I am not ready to give up yet. Are you?

ifedorenko commented 9 years ago

I do not have enough information to make a guess. Takari lifecycle works successfully for all projects I am using it in, including some really large internal projects that run in various CI systems. There is something very special about your environment that interferes with takari-lifecycle, but I have no way to guess what that might be. I am sorry, but there is nothing more I can do without a way to reproduce the problem.

kriegaex commented 9 years ago

Okay, I was able to find the problem's root cause by adding more debug output and subsequently fixing the problem. Please review and accept my pull request.

kriegaex commented 9 years ago

@javapapo: Would you mind testing my pull request and see if it also fixes your problem?

ifedorenko commented 9 years ago

Thank you for the investigation and the pull request, this is certainly helpful. We will need signed CLA [1] on file before we can accept the pull request. We will also need a regression test to make sure this problem is not reintroduced in the future, but I can implement the test myself if you don't have time.

[1] http://takari.io/support/TakariCLA.pdf

kriegaex commented 9 years ago

I have just e-mailed the signed CLA to the address mentioned in the document. As for automated tests, your guess was right: I am too busy trying to get Takari working in my project. I am happy I could make your life as a maintainer a bit easier by reproducing + fixing this bug, but would much appreciate you writing the tests yourself. I think it is important that you actually reproduce it locally and check if there might be other parts of the code where something similar could happen, e.g. Javadoc or source JARs.

kriegaex commented 9 years ago

Built locally and retested, works nicely in my environment. Thank you, looking forward to the new release.

ifedorenko commented 9 years ago

Released 1.11.9, should be synced to Central in next couple of hours.

Btw, incrementalbuild was pretty much broken on Windows, which particular affected m2e integration but could cause problems during command line build too.

kriegaex commented 9 years ago

Update: The new release is already available, so I have upgraded the plugin in my POM and just tested the project on our problematic Jenkins server. The build is green (well, or blue in Jenkins terms).

As for the plugin's Windows build, I have not mentioned that when lately I tried to build my/your snapshots, I had to use -DskipTests because some integration tests were failing on Windows. Should I try to also run the tests on 1.11.9 locally?

ifedorenko commented 9 years ago

I am not aware of any outstanding problems with incrementalbuild or takari-lifecycle. Please open new issues if it misbehaves for you.

And to clarify, incrementalbuild problem affects all projects that use takari-lifecycle 1.11.8 and earlier. For example, if you enable privatePackageReference=error in your project pom.xml file, you may get unexpected compile errors during incremental build on Windows.

kriegaex commented 9 years ago

I was referring to the Takari Lifecycle Plugin's own test suite, not my project's.

ifedorenko commented 9 years ago

takari lifecycle plugin is still built with defective version 1.11.4. I expect full mvn clean package to run successfully, but incremental mvn package may fail.

kriegaex commented 9 years ago

I had tried a full rebuild with the old snapshot and it failed. Now my mvn clean verify works, I tried twice. Case closed. Thank you.