Hi, It works ok here, with both maven 3.1.0 and 3.2.1, oracle Java 1.7.0_45
from the logs it sounds like the jacoco maven plugin is failing, you may want to deactivate it to see if it goes better. On Thu, Aug 28, 2014 at 10:39 PM, tertelos <[email protected]> wrote: > I expect some unit tests to run, here is the pom file, the latest console > output and the github project: > > GitHub project: > > https://github.com/karkalos/game-of-life > > > > POM file: > <?xml version="1.0" encoding="UTF-8"?> > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 > http://maven.apache.org/xsd/maven-4.0.0.xsd"> > <modelVersion>4.0.0</modelVersion> > <groupId>com.wakaleo.gameoflife</groupId> > <artifactId>gameoflife</artifactId> > <version>1.0-SNAPSHOT</version> > <packaging>pom</packaging> > <name>gameoflife</name> > <url>https://github.com/wakaleo/game-of-life</url> > <properties> > <build.number>SNAPSHOT</build.number> > <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> > <easyb.version>1.4</easyb.version> > <cobertura.version>2.6</cobertura.version> > > <targetJdk>1.7</targetJdk> > <github.account>wakaleo</github.account> > <thucydides.version>0.9.222</thucydides.version> > <jelastic.context>gameoflife</jelastic.context> > <jelastic.environment>wakaleo</jelastic.environment> > </properties> > > <scm> > > <connection>scm:git:[email protected]: > ${github.account}/game-of-life.git</connection> > > <developerConnection>scm:git:[email protected]: > ${github.account}/game-of-life.git</developerConnection> > <url>scm:git:[email protected]: > ${github.account}/game-of-life.git</url> > </scm> > <build> > <plugins> > <plugin> > <artifactId>maven-compiler-plugin</artifactId> > <version>2.3.2</version> > <configuration> > <source>1.6</source> > <target>1.6</target> > </configuration> > </plugin> > <plugin> > <artifactId>maven-surefire-plugin</artifactId> > <version>2.10</version> > <configuration> > <skip>true</skip> > </configuration> > <executions> > <execution> > <id>unit-tests</id> > <phase>test</phase> > <goals> > <goal>test</goal> > </goals> > <configuration> > <skip>false</skip> > <includes> > <include>**/When*.java</include> > <include>**/*Test.java</include> > > <include>**/Test*.java</include> > > <include>**/*TestCase.java</include> > </includes> > <excludes> > <exclude>%regex[.*integration.*]</exclude> > </excludes> > </configuration> > </execution> > <execution> > <id>integration-tests</id> > <phase>integration-test</phase> > <goals> > <goal>test</goal> > </goals> > <configuration> > <skip>false</skip> > <includes> > <include>%regex[.*integration.*]</include> > </includes> > </configuration> > </execution> > </executions> > </plugin> > > <plugin> > <groupId>org.jacoco</groupId> > <artifactId>jacoco-maven-plugin</artifactId> > <version>0.6.3.201306030806</version> > <executions> > <execution> > <id>jacoco-initialize</id> > <phase>process-resources</phase> > <goals> > <goal>prepare-agent</goal> > </goals> > </execution> > <execution> > <id>jacoco-site</id> > <phase>post-integration-test</phase> > <goals> > <goal>report</goal> > </goals> > </execution> > </executions> > </plugin> > > <plugin> > <artifactId>maven-release-plugin</artifactId> > <version>2.2</version> > <configuration> > <preparationGoals>clean install</preparationGoals> > </configuration> > </plugin> > > <plugin> > <artifactId>maven-deploy-plugin</artifactId> > <version>2.7</version> > </plugin> > > <plugin> > <groupId>org.easyb</groupId> > <artifactId>maven-easyb-plugin</artifactId> > <version>1.4</version> > <executions> > <execution> > <goals> > <goal>test</goal> > </goals> > </execution> > </executions> > <configuration> > <storyType>html</storyType> > <storyReport>target/easyb/easyb.html</storyReport> > > <easybTestDirectory>src/test/stories</easybTestDirectory> > <jvmArguments>-Xmx512m > -Dwebdriver.driver=${webdriver.driver}</jvmArguments> > </configuration> > </plugin> > > <plugin> > <groupId>com.jelastic</groupId> > <artifactId>jelastic-maven-plugin</artifactId> > <version>1.6</version> > <configuration> > ${jelastic.username} > <password>${jelastic.password}</password> > <context>${jelastic.context}</context> > <environment>${jelastic.environment}</environment> > <api_hoster>app.jelastic.servint.net</api_hoster> > </configuration> > </plugin> > > </plugins> > > <pluginManagement> > <plugins> > <plugin> > <groupId>org.easyb</groupId> > <artifactId>maven-easyb-plugin</artifactId> > <version>${easyb.version}</version> > <executions> > <execution> > <goals> > <goal>test</goal> > </goals> > </execution> > </executions> > <configuration> > <storyType>html</storyType> > l > > <storyReport>${basedir}/target/easyb/easyb-report.html > </storyReport> > </configuration> > </plugin> > > </plugins> > </pluginManagement> > <extensions> > <extension> > <groupId>org.apache.maven.wagon</groupId> > <artifactId>wagon-webdav-jackrabbit</artifactId> > <version>2.2</version> > </extension> > </extensions> > </build> > <dependencyManagement> > <dependencies> > <dependency> > <groupId>org.easyb</groupId> > <artifactId>easyb-core</artifactId> > <version>${easyb.version}</version> > <scope>test</scope> > </dependency> > </dependencies> > </dependencyManagement> > <dependencies> > <dependency> > <groupId>junit</groupId> > <artifactId>junit-dep</artifactId> > <version>4.10</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.hamcrest</groupId> > <artifactId>hamcrest-all</artifactId> > <version>1.1</version> > <scope>test</scope> > </dependency> > <dependency> > <groupId>org.mockito</groupId> > <artifactId>mockito-all</artifactId> > <version>1.9.0</version> > <scope>test</scope> > </dependency> > </dependencies> > > <modules> > <module>gameoflife-build</module> > <module>gameoflife-core</module> > <module>gameoflife-web</module> > </modules> > <profiles> > <profile> > <id>development</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > > </profile> > <profile> > <id>metrics</id> > <build> > <plugins> > > > > > > > > > > > > > > > > > > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-pmd-plugin</artifactId> > <version>2.5</version> > <configuration> > <targetJdk>1.6</targetJdk> > <aggregate>true</aggregate> > <format>xml</format> > > <minimumTokens>20</minimumTokens> > > <failOnViolation>true</failOnViolation> > <failurePriority>2</failurePriority> > </configuration> > </plugin> > > > <plugin> > <artifactId>findbugs-maven-plugin</artifactId> > <version>2.5.2</version> > <configuration> > <effort>Max</effort> > <xmlOutput>true</xmlOutput> > </configuration> > </plugin> > </plugins> > </build> > </profile> > <profile> > <id>maven3</id> > <activation> > <activeByDefault>true</activeByDefault> > </activation> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-enforcer-plugin</artifactId> > <version>1.0</version> > <executions> > <execution> > <id>enforce-versions</id> > <goals> > <goal>enforce</goal> > </goals> > <configuration> > <rules> > <requireMavenVersion> > <version>[3.0,)</version> > </requireMavenVersion> > </rules> > </configuration> > </execution> > </executions> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <version>3.0</version> > <configuration> > <reportPlugins> > <plugin> > > <artifactId>maven-project-info-reports-plugin</artifactId> > <version>2.2</version> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > > <artifactId>cobertura-maven-plugin</artifactId> > <version>${cobertura.version}</version> > <configuration> > <formats> > <format>xml</format> > </formats> > </configuration> > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-checkstyle-plugin</artifactId> > <version>2.9.1</version> > > > > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-pmd-plugin</artifactId> > <version>2.5</version> > <configuration> > <targetJdk>1.6</targetJdk> > <aggregate>true</aggregate> > <format>xml</format> > <rulesets> > > <ruleset>/pmd-rules.xml</ruleset> > </rulesets> > > <minimumTokens>20</minimumTokens> > > <ignoreIdentifiers>true</ignoreIdentifiers> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > > <artifactId>findbugs-maven-plugin</artifactId> > <version>2.3.2</version> > <configuration> > <effort>Max</effort> > <xmlOutput>true</xmlOutput> > </configuration> > </plugin> > <plugin> > > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.9.1</version> > <configuration> > <source>1.6</source> > <doclet> > > gr.spinellis.umlgraph.doclet.UmlGraphDoc > </doclet> > <docletArtifact> > <groupId>gr.spinellis</groupId> > > <artifactId>UmlGraph</artifactId> > <version>4.6</version> > </docletArtifact> > <additionalparam> > -inferrel -inferdep -hide > java.* > -collpackages > java.util.* -attributes > -operations > -enumerations -enumconstants > </additionalparam> > </configuration> > </plugin> > <plugin> > > <groupId>org.apache.maven.plugins</groupId> > > <artifactId>maven-jxr-plugin</artifactId> > <version>2.1</version> > </plugin> > </reportPlugins> > </configuration> > <dependencies> > <dependency> > <groupId>com.wakaleo.gameoflife</groupId> > <artifactId>gameoflife-build</artifactId> > <version>${project.version}</version> > </dependency> > </dependencies> > </plugin> > </plugins> > </build> > </profile> > <profile> > <id>maven2</id> > <build> > <plugins> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-enforcer-plugin</artifactId> > <version>1.0</version> > <executions> > <execution> > <id>enforce-versions</id> > <goals> > <goal>enforce</goal> > </goals> > <configuration> > <rules> > <requireMavenVersion> > <version>[2.0.9, > 2.2.1]</version> > </requireMavenVersion> > </rules> > </configuration> > </execution> > </executions> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-site-plugin</artifactId> > <version>2.1.1</version> > <dependencies> > <dependency> > <groupId>com.wakaleo.gameoflife</groupId> > <artifactId>gameoflife-build</artifactId> > <version>${project.version}</version> > </dependency> > </dependencies> > </plugin> > </plugins> > </build> > <reporting> > <plugins> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>cobertura-maven-plugin</artifactId> > <version>${cobertura.version}</version> > <configuration> > <formats> > <format>html</format> > <format>xml</format> > </formats> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-pmd-plugin</artifactId> > <version>2.5</version> > <configuration> > <targetJdk>1.6</targetJdk> > <aggregate>true</aggregate> > <format>xml</format> > <rulesets> > <ruleset>/pmd-rules.xml</ruleset> > </rulesets> > > <minimumTokens>20</minimumTokens> > <ignoreIdentifiers>true</ignoreIdentifiers> > > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-checkstyle-plugin</artifactId> > <version>2.9.1</version> > <configuration> > > <configLocation>gameoflife-build/checkstyle.xml</configLocation> > </configuration> > </plugin> > <plugin> > <groupId>org.codehaus.mojo</groupId> > <artifactId>findbugs-maven-plugin</artifactId> > <version>2.3</version> > <configuration> > <effort>Max</effort> > <xmlOutput>true</xmlOutput> > </configuration> > </plugin> > <plugin> > <artifactId>maven-javadoc-plugin</artifactId> > <version>2.7</version> > <configuration> > <source>1.6</source> > <doclet> > gr.spinellis.umlgraph.doclet.UmlGraphDoc > </doclet> > <docletArtifact> > <groupId>gr.spinellis</groupId> > <artifactId>UmlGraph</artifactId> > <version>4.6</version> > </docletArtifact> > <additionalparam> > -inferrel -inferdep -hide java.* > -collpackages > java.util.* -attributes -operations > -enumerations -enumconstants > </additionalparam> > </configuration> > </plugin> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jxr-plugin</artifactId> > <version>2.1</version> > </plugin> > </plugins> > </reporting> > </profile> > </profiles> > </project> > > > > Console Output: > > Started by an SCM change > Building in workspace C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace > > C:\Program Files (x86)\Git\bin\git.exe rev-parse --is-inside-work-tree # > timeout=10 > Fetching changes from the remote Git repository > > C:\Program Files (x86)\Git\bin\git.exe config remote.origin.url > https://github.com/karkalos/game-of-life.git # timeout=10 > Fetching upstream changes from > https://github.com/karkalos/game-of-life.git > > C:\Program Files (x86)\Git\bin\git.exe --version # timeout=10 > > C:\Program Files (x86)\Git\bin\git.exe fetch --tags --progress > https://github.com/karkalos/game-of-life.git > +refs/heads/*:refs/remotes/origin/* > > C:\Program Files (x86)\Git\bin\git.exe rev-parse > "origin/master^{commit}" > # timeout=10 > Checking out Revision 067f950a3c09a5f9395cb9647c09025087ade770 > (origin/master) > > C:\Program Files (x86)\Git\bin\git.exe config core.sparsecheckout # > timeout=10 > > C:\Program Files (x86)\Git\bin\git.exe checkout -f > 067f950a3c09a5f9395cb9647c09025087ade770 > > C:\Program Files (x86)\Git\bin\git.exe rev-list > 9044560d5697d6f5a246809a8f5b24901a1c4518 # timeout=10 > [workspace] $ "C:\Program Files > > (x86)\Jenkins\tools\hudson.tasks.Maven_MavenInstallation\Maven_3.2.1\bin\mvn.bat" > clean install > [INFO] Scanning for projects... > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Build Order: > [INFO] > [INFO] gameoflife > [INFO] gameoflife-build > [INFO] gameoflife-core > [INFO] gameoflife-web > [INFO] > [INFO] Using the builder > > org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder > with a thread count of 1 > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building gameoflife 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife --- > [INFO] Deleting C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\target > [INFO] > [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ > gameoflife > --- > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent > (jacoco-initialize) @ gameoflife --- > [INFO] Skipping JaCoCo for project with packaging type 'pom' > [INFO] argLine set to > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (unit-tests) @ gameoflife --- > [INFO] No tests to run. > [INFO] Surefire report directory: C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife --- > [INFO] C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\src\test\stories does not > exists. Skipping easyb testing > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (integration-tests) @ gameoflife > --- > [INFO] No tests to run. > [INFO] Surefire report directory: C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (jacoco-site) @ > gameoflife --- > [INFO] Skipping JaCoCo for project with packaging type 'pom' > [INFO] > [INFO] --- maven-install-plugin:2.4:install (default-install) @ gameoflife > --- > [INFO] Installing C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\pom.xml to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife\1.0-SNAPSHOT\gameoflife-1.0-SNAPSHOT.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building gameoflife-build 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-build > --- > [INFO] Deleting C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target > [INFO] > [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ > gameoflife-build --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > gameoflife-build --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 2 resources > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent > (jacoco-initialize) @ gameoflife-build --- > [INFO] argLine set to > > "-javaagent:C:\Windows\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=C:\Program > Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\jacoco.exec" > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > gameoflife-build --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) > @ gameoflife-build --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > gameoflife-build --- > [INFO] No sources to compile > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ > gameoflife-build > --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (unit-tests) @ gameoflife-build > --- > [INFO] No tests to run. > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > ... 9 more > FATAL ERROR in native method: processing of -javaagent failed > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife-build --- > [INFO] C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\src\test\stories > does not exists. Skipping easyb testing > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gameoflife-build --- > [INFO] Building jar: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\gameoflife-build-1.0-SNAPSHOT.jar > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (integration-tests) @ > gameoflife-build --- > [INFO] No tests to run. > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > ... 9 more > FATAL ERROR in native method: processing of -javaagent failed > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (jacoco-site) @ > gameoflife-build --- > [INFO] > [INFO] --- maven-install-plugin:2.4:install (default-install) @ > gameoflife-build --- > [INFO] Installing C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\target\gameoflife-build-1.0-SNAPSHOT.jar > to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-build\1.0-SNAPSHOT\gameoflife-build-1.0-SNAPSHOT.jar > [INFO] Installing C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-build\pom.xml to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-build\1.0-SNAPSHOT\gameoflife-build-1.0-SNAPSHOT.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building gameoflife-core 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-core > --- > [INFO] Deleting C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target > [INFO] > [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ > gameoflife-core --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > gameoflife-core --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\src\main\resources > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent > (jacoco-initialize) @ gameoflife-core --- > [INFO] argLine set to > > "-javaagent:C:\Windows\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=C:\Program > Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\jacoco.exec" > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > gameoflife-core --- > [INFO] Compiling 5 source files to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\classes > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) > @ gameoflife-core --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > gameoflife-core --- > [INFO] Compiling 10 source files to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ gameoflife-core > --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (unit-tests) @ gameoflife-core > --- > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > ... 9 more > FATAL ERROR in native method: processing of -javaagent failed > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife-core --- > [INFO] Using easyb dependency org.easyb:easyb-core:jar:1.6:compile > [INFO] Using easyb dependency > org.easyb:easyb-composite-groovy:pom:1.2:compile > [INFO] Using easyb dependency > org.codehaus.groovy:groovy-all:jar:2.3.6:compile > [INFO] Using easyb dependency org.easyb:easyb-ast:jar:1.1:compile > [INFO] Using easyb dependency commons-cli:commons-cli:jar:1.2:compile > [INFO] Using easyb dependency commons-lang:commons-lang:jar:2.5:compile > [java] Running counting things story (C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\src\test\stories\CountingThings.story) > [java] Scenarios run: 1, Failures: 0, Pending: 0, Time elapsed: 0.557 > sec > [java] Running multiplying things story (C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\src\test\stories\MultiplyingThings.story) > [java] Scenarios run: 1, Failures: 0, Pending: 1, Time elapsed: 0.036 > sec > [java] 2 total behaviors ran with no failures > [java] Writing JUnit report to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target/surefire-reports/TEST-behavior.CountingThings.xml > [java] JUnit report written to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target/surefire-reports/TEST-behavior.CountingThings.xml > [java] Writing JUnit report to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target/surefire-reports/TEST-behavior.MultiplyingThings.xml > [java] JUnit report written to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target/surefire-reports/TEST-behavior.MultiplyingThings.xml > [INFO] > [INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ gameoflife-core --- > [INFO] Building jar: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\gameoflife-core-1.0-SNAPSHOT.jar > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (integration-tests) @ > gameoflife-core --- > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > ... 9 more > FATAL ERROR in native method: processing of -javaagent failed > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (jacoco-site) @ > gameoflife-core --- > [INFO] > [INFO] --- maven-install-plugin:2.4:install (default-install) @ > gameoflife-core --- > [INFO] Installing C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\target\gameoflife-core-1.0-SNAPSHOT.jar > to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-core\1.0-SNAPSHOT\gameoflife-core-1.0-SNAPSHOT.jar > [INFO] Installing C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-core\pom.xml to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-core\1.0-SNAPSHOT\gameoflife-core-1.0-SNAPSHOT.pom > [INFO] > [INFO] > ------------------------------------------------------------------------ > [INFO] Building gameoflife-web 1.0-SNAPSHOT > [INFO] > ------------------------------------------------------------------------ > [INFO] > [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ gameoflife-web > --- > [INFO] Deleting C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target > [INFO] > [INFO] --- maven-enforcer-plugin:1.0:enforce (enforce-versions) @ > gameoflife-web --- > [INFO] > [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ > gameoflife-web --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] Copying 1 resource > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:prepare-agent > (jacoco-initialize) @ gameoflife-web --- > [INFO] argLine set to > > "-javaagent:C:\Windows\system32\config\systemprofile\.m2\repository\org\jacoco\org.jacoco.agent\0.6.3.201306030806\org.jacoco.agent-0.6.3.201306030806-runtime.jar=destfile=C:\Program > Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\jacoco.exec" > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:compile (default-compile) @ > gameoflife-web --- > [INFO] Compiling 2 source files to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\classes > [INFO] > [INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) > @ gameoflife-web --- > [INFO] Using 'UTF-8' encoding to copy filtered resources. > [INFO] skip non existing resourceDirectory C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\src\test\resources > [INFO] > [INFO] --- maven-compiler-plugin:2.3.2:testCompile (default-testCompile) @ > gameoflife-web --- > [INFO] Compiling 3 source files to C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\test-classes > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (default-test) @ gameoflife-web > --- > [INFO] Tests are skipped. > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (unit-tests) @ gameoflife-web > --- > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > ... 9 more > FATAL ERROR in native method: processing of -javaagent failed > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- maven-easyb-plugin:1.4:test (default) @ gameoflife-web --- > [INFO] C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\src\test\stories > does not exists. Skipping easyb testing > [INFO] > [INFO] --- maven-war-plugin:2.1.1:war (default-war) @ gameoflife-web --- > [INFO] Packaging webapp > [INFO] Assembling webapp [gameoflife-web] in [C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\gameoflife] > [INFO] Processing war project > [INFO] Copying webapp resources [C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\src\main\webapp] > [INFO] Webapp assembled in [308 msecs] > [INFO] Building war: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\gameoflife.war > [WARNING] Warning: selected war files include a WEB-INF/web.xml which will > be ignored > (webxml attribute is missing from war task, or ignoreWebxml attribute is > specified as 'true') > [INFO] > [INFO] --- maven-surefire-plugin:2.10:test (integration-tests) @ > gameoflife-web --- > [INFO] Surefire report directory: C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\surefire-reports > > ------------------------------------------------------- > T E S T S > ------------------------------------------------------- > java.lang.reflect.InvocationTargetException > 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:483) > at > > sun.instrument.InstrumentationImpl.loadClassAndStartAgent(InstrumentationImpl.java:386) > at > > sun.instrument.InstrumentationImpl.loadClassAndCallPremain(InstrumentationImpl.java:401) > Caused by: java.lang.RuntimeException: Class java/util/UUID could not be > instrumented. > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:138) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:99) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.createRuntime(PreMain.java:55) > at > org.jacoco.agent.rt.internal_9dd1198.PreMain.premain(PreMain.java:47) > ... 6 more > Caused by: java.lang.NoSuchFieldException: $jacocoAccess > at java.lang.Class.getField(Class.java:1690) > at > > org.jacoco.agent.rt.internal_9dd1198.core.runtime.ModifiedSystemClassRuntime.createFor(ModifiedSystemClassRuntime.java:136) > FATAL ERROR in native method: processing of -javaagent failed > ... 9 more > Exception in thread "main" > > Results : > > Tests run: 0, Failures: 0, Errors: 0, Skipped: 0 > > [INFO] > [INFO] --- jacoco-maven-plugin:0.6.3.201306030806:report (jacoco-site) @ > gameoflife-web --- > [INFO] > [INFO] --- maven-thucydides-plugin:0.9.222:aggregate (thucydides-reports) @ > gameoflife-web --- > [INFO] LOADING LOCAL THUCYDIDES PROPERTIES FROM > C:\Windows\system32\config\systemprofile\thucydides.properties > [INFO] LOADING LOCAL THUCYDIDES PROPERTIES FROM C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\thucydides.properties > [INFO] LOADING LOCAL THUCYDIDES PROPERTIES FROM C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\thucydides.properties > [INFO] Using requirements providers: > [net.thucydides.core.statistics.service.AnnotationBasedTagProvider@5a06eeef > , > net.thucydides.core.statistics.service.FeatureStoryTagProvider@1c0cf193, > net.thucydides.core.requirements.FileSystemRequirementsTagProvider@3dd66ff5 > , > net.thucydides.core.requirements.AnnotationBasedTagProvider@24258b54] > [INFO] ADDING REQUIREMENTS PROVIDER > net.thucydides.core.requirements.FileSystemRequirementsTagProvider@3dd66ff5 > [INFO] ADDING REQUIREMENTS PROVIDER > net.thucydides.core.requirements.AnnotationBasedTagProvider@24258b54 > [INFO] Reading requirements from > net.thucydides.core.requirements.FileSystemRequirementsTagProvider@3dd66ff5 > [INFO] Reading requirements from > net.thucydides.core.requirements.AnnotationBasedTagProvider@24258b54 > [INFO] Requirements found:[] > log4j:WARN No appenders could be found for logger (freemarker.cache). > log4j:WARN Please initialize the log4j system properly. > [INFO] Generating release reports for: [] > [INFO] > [INFO] --- maven-install-plugin:2.4:install (default-install) @ > gameoflife-web --- > [INFO] Installing C:\Program Files > > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\target\gameoflife.war > to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-web\1.0-SNAPSHOT\gameoflife-web-1.0-SNAPSHOT.war > [INFO] Installing C:\Program Files > (x86)\Jenkins\jobs\gameoflife-default\workspace\gameoflife-web\pom.xml to > > C:\Windows\system32\config\systemprofile\.m2\repository\com\wakaleo\gameoflife\gameoflife-web\1.0-SNAPSHOT\gameoflife-web-1.0-SNAPSHOT.pom > [INFO] > ------------------------------------------------------------------------ > [INFO] Reactor Summary: > [INFO] > [INFO] gameoflife ........................................ SUCCESS [ 5.440 > s] > [INFO] gameoflife-build .................................. SUCCESS [ 2.074 > s] > [INFO] gameoflife-core ................................... SUCCESS [ 6.742 > s] > [INFO] gameoflife-web .................................... SUCCESS [ 13.336 > s] > [INFO] > ------------------------------------------------------------------------ > [INFO] BUILD SUCCESS > [INFO] > ------------------------------------------------------------------------ > [INFO] Total time: 28.203 s > [INFO] Finished at: 2014-08-28T22:14:18+01:00 > [INFO] Final Memory: 48M/127M > [INFO] > ------------------------------------------------------------------------ > Archiving artifacts > Recording test results > Finished: SUCCESS > > > > -- > View this message in context: > http://maven.40175.n5.nabble.com/No-test-to-run-No-code-to-compile-tp5803100p5803288.html > Sent from the Maven - Users mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > > -- Adrien Rivard
