[jira] [Comment Edited] (SUREFIRE-1402) I have an issue with maven surefire which uses Junit and Jmockit
[ https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16116629#comment-16116629 ] Arvind edited comment on SUREFIRE-1402 at 8/7/17 2:15 PM: -- i have attached my log.txt file was (Author: arvindpurohith...@gmail.com): i have my log.txt file > I have an issue with maven surefire which uses Junit and Jmockit > > > Key: SUREFIRE-1402 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1402 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, Maven Surefire Report > Plugin >Affects Versions: 2.8 > Environment: Windows 7 eclipse Java 1.8 >Reporter: Arvind >Assignee: Tibor Digana >Priority: Critical > Labels: build, test > Attachments: log.txt > > > When i try to build the maven project i get the following error. > --- > Test set: > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< > FAILURE! > java.lang.IllegalArgumentException > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) > at > org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) > at > org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (SUREFIRE-1402) I have an issue with maven surefire which uses Junit and Jmockit
[ https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16116604#comment-16116604 ] Arvind edited comment on SUREFIRE-1402 at 8/7/17 1:46 PM: -- yes sorry tibor, theirs one version as 2.16 all the rest are 2.20 so what can i do now? was (Author: arvindpurohith...@gmail.com): yes sorry tibor, theirs one version as 2.16 all the rest version are 2.20 so what can i do now? > I have an issue with maven surefire which uses Junit and Jmockit > > > Key: SUREFIRE-1402 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1402 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, Maven Surefire Report > Plugin >Affects Versions: 2.8 > Environment: Windows 7 eclipse Java 1.8 >Reporter: Arvind >Assignee: Tibor Digana >Priority: Critical > Labels: build, test > > When i try to build the maven project i get the following error. > --- > Test set: > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< > FAILURE! > java.lang.IllegalArgumentException > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) > at > org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) > at > org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (SUREFIRE-1402) I have an issue with maven surefire which uses Junit and Jmockit
[ https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16116597#comment-16116597 ] Arvind edited comment on SUREFIRE-1402 at 8/7/17 1:41 PM: -- shall i share my pom.xml? i got the version as 2.20 in log.txt as you mentioned was (Author: arvindpurohith...@gmail.com): shall i share my pom.xml? > I have an issue with maven surefire which uses Junit and Jmockit > > > Key: SUREFIRE-1402 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1402 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, Maven Surefire Report > Plugin >Affects Versions: 2.8 > Environment: Windows 7 eclipse Java 1.8 >Reporter: Arvind >Assignee: Tibor Digana >Priority: Critical > Labels: build, test > > When i try to build the maven project i get the following error. > --- > Test set: > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< > FAILURE! > java.lang.IllegalArgumentException > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) > at > org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) > at > org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (SUREFIRE-1402) I have an issue with maven surefire which uses Junit and Jmockit
[ https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16116577#comment-16116577 ] Arvind edited comment on SUREFIRE-1402 at 8/7/17 1:34 PM: -- Hi Tibor, when i did mvn org.apache.maven.plugins:maven-help-plugin:2.2:effective-pom > log.txt i got build success with maven-surefire-plugin 2.20. i got a build failure on when i did mvn clean install (with maven 3.3.9) this is with java 1.8 was (Author: arvindpurohith...@gmail.com): Hi Tibor, when i did mvn org.apache.maven.plugins:maven-help-plugin:2.2:effective-pom > log.txt i got build success with maven-surefire-plugin 2.20. i got a build failure on when i did mvn clean install (with maven 3.3.9) > I have an issue with maven surefire which uses Junit and Jmockit > > > Key: SUREFIRE-1402 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1402 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, Maven Surefire Report > Plugin >Affects Versions: 2.8 > Environment: Windows 7 eclipse Java 1.8 >Reporter: Arvind >Assignee: Tibor Digana >Priority: Critical > Labels: build, test > > When i try to build the maven project i get the following error. > --- > Test set: > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< > FAILURE! > java.lang.IllegalArgumentException > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) > at > org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) > at > org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) -- This message was sent by Atlassian JIRA (v6.4.14#64029)
[jira] [Comment Edited] (SUREFIRE-1402) I have an issue with maven surefire which uses Junit and Jmockit
[ https://issues.apache.org/jira/browse/SUREFIRE-1402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16115917#comment-16115917 ] Dan Tran edited comment on SUREFIRE-1402 at 8/6/17 8:23 PM: Not sure if this is related. jmocket 1.x reimplements org.junit.runner.Runner, so you must make sure it it loaded before junit ( define jmockit maven dependency before junit) was (Author: dantran): Not sure if this is related. jmocket 1.x reimplements org.junit.runner.Runner, so you must make sure it it loaded before junit ( define jmockit maven deppendency before junit) > I have an issue with maven surefire which uses Junit and Jmockit > > > Key: SUREFIRE-1402 > URL: https://issues.apache.org/jira/browse/SUREFIRE-1402 > Project: Maven Surefire > Issue Type: Bug > Components: Junit 4.7+ (parallel) support, Maven Surefire Report > Plugin >Affects Versions: 2.8 > Environment: Windows 7 eclipse Java 1.8 >Reporter: Arvind >Assignee: Tibor Digana >Priority: Critical > Labels: build, test > > When i try to build the maven project i get the following error. > --- > Test set: > --- > Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.469 sec <<< > FAILURE! > java.lang.IllegalArgumentException > at > org.apache.maven.surefire.junit4.JUnit4TestSet.execute(JUnit4TestSet.java:53) > at > org.apache.maven.surefire.junit4.JUnit4Provider.executeTestSet(JUnit4Provider.java:119) > at > org.apache.maven.surefire.junit4.JUnit4Provider.invoke(JUnit4Provider.java:101) > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > at java.lang.reflect.Method.invoke(Method.java:497) > at > org.apache.maven.surefire.booter.ProviderFactory$ClassLoaderProxy.invoke(ProviderFactory.java:103) > at > org.apache.maven.surefire.booter.SurefireStarter.invokeProvider(SurefireStarter.java:150) > at > org.apache.maven.surefire.booter.SurefireStarter.runSuitesInProcess(SurefireStarter.java:74) > at > org.apache.maven.surefire.booter.ForkedBooter.main(ForkedBooter.java:69) -- This message was sent by Atlassian JIRA (v6.4.14#64029)