MG>i am experiencing difficultly reproducing that error with command MG>mvn -e -X test -projects :axis2-metadata
MG>this is my console display when i run the above command [INFO] T E S T S [INFO] ------------------------------------------------------- [DEBUG] boot classpath: %USERPROFILE%\.m2\repository\org\apache\maven\surefire\surefire-booter\2.20\surefire-booter-2.20.jar %USERPROFILE%\.m2\repository\org\apache\maven\surefire\surefire-api\2.20\surefire-api-2.20.jar %USERPROFILE%\.m2\repository\org\apache\maven\surefire\surefire-logger-api\2.20\surefire-logger-api-2.20.jar C:\Axis\Thorsten\axis2-java-trunk\modules\metadata\target\test-classes C:\Axis\Thorsten\axis2-java-trunk\modules\metadata\target\classes %USERPROFILE%\.m2\repository\org\apache\maven\maven-project\3.3.3\maven-project-3.3.3.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-settings\2.2.1\maven-settings-2.2.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-profile\2.2.1\maven-profile-2.2.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-model\2.2.1\maven-model-2.2.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-artifact-manager\2.2.1\maven-artifact-manager-2.2.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-repository-metadata\2.2.1\maven-repository-metadata-2.2.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\wagon\wagon-provider-api\1.0-beta-6\wagon-provider-api-1.0-beta-6.jar %USERPROFILE%\.m2\repository\backport-util-concurrent\backport-util-concurrent\3.1\backport-util-concurrent-3.1.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-plugin-registry\2.2.1\maven-plugin-registry-2.2.1.jar %USERPROFILE%\.m2\repository\org\codehaus\plexus\plexus-interpolation\1.11\plexus-interpolation-1.11.jar %USERPROFILE%\.m2\repository\org\codehaus\plexus\plexus-utils\1.4.9\plexus-utils-1.4.9.jar %USERPROFILE%\.m2\repository\org\apache\maven\maven-artifact\3.3.9\maven-artifact-3.3.9.jar %USERPROFILE%\.m2\repository\org\apache\commons\commons-lang3\3.4\commons-lang3-3.4.jar %USERPROFILE%\.m2\repository\org\codehaus\plexus\plexus-container-default\1.0-alpha-9-stable-1\plexus-container-default-1.0-alpha-9-stable-1.jar %USERPROFILE%\.m2\repository\classworlds\classworlds\1.1-alpha-2\classworlds-1.1-alpha-2.jar %USERPROFILE%\.m2\repository\org\apache\axis2\axis2-kernel\1.8.0-SNAPSHOT\axis2-kernel-1.8.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\ws\commons\axiom\axiom-api\1.3.0-SNAPSHOT\axiom-api-1.3.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\jaxen\jaxen\1.1.6\jaxen-1.1.6.jar %USERPROFILE%\.m2\repository\org\apache\james\apache-mime4j-core\0.8.0\apache-mime4j-core-0.8.0.jar %USERPROFILE%\.m2\repository\org\apache\ws\commons\axiom\axiom-impl\1.3.0-SNAPSHOT\axiom-impl-1.3.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\codehaus\woodstox\woodstox-core-asl\4.2.0\woodstox-core-asl-4.2.0.jar %USERPROFILE%\.m2\repository\org\codehaus\woodstox\stax2-api\3.1.1\stax2-api-3.1.1.jar %USERPROFILE%\.m2\repository\org\apache\geronimo\specs\geronimo-ws-metadata_2.0_spec\1.1.2\geronimo-ws-metadata_2.0_spec-1.1.2.jar %USERPROFILE%\.m2\repository\org\apache\geronimo\specs\geronimo-jta_1.1_spec\1.1\geronimo-jta_1.1_spec-1.1.jar %USERPROFILE%\.m2\repository\javax\servlet\servlet-api\2.3\servlet-api-2.3.jar %USERPROFILE%\.m2\repository\commons-fileupload\commons-fileupload\1.3.3\commons-fileupload-1.3.3.jar %USERPROFILE%\.m2\repository\wsdl4j\wsdl4j\1.6.2\wsdl4j-1.6.2.jar %USERPROFILE%\.m2\repository\org\apache\ws\xmlschema\xmlschema-core\2.2.3-SNAPSHOT\xmlschema-core-2.2.3-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\neethi\neethi\3.0.4-SNAPSHOT\neethi-3.0.4-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\woden\woden-core\1.0M11-SNAPSHOT\woden-core-1.0M11-SNAPSHOT.jar %USERPROFILE%\.m2\repository\commons-logging\commons-logging\1.1.1\commons-logging-1.1.1.jar %USERPROFILE%\.m2\repository\javax\ws\rs\jsr311-api\1.1.1\jsr311-api-1.1.1.jar %USERPROFILE%\.m2\repository\commons-io\commons-io\2.1\commons-io-2.1.jar %USERPROFILE%\.m2\repository\org\apache\axis2\axis2-adb\1.8.0-SNAPSHOT\axis2-adb-1.8.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\ws\commons\axiom\axiom-dom\1.3.0-SNAPSHOT\axiom-dom-1.3.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\geronimo\specs\geronimo-jaxws_2.2_spec\1.0\geronimo-jaxws_2.2_spec-1.0.jar %USERPROFILE%\.m2\repository\org\apache\axis2\axis2-saaj\1.8.0-SNAPSHOT\axis2-saaj-1.8.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\xml-resolver\xml-resolver\1.2\xml-resolver-1.2.jar %USERPROFILE%\.m2\repository\com\sun\xml\bind\jaxb-impl\2.2.6\jaxb-impl-2.2.6.jar %USERPROFILE%\.m2\repository\junit\junit\4.12\junit-4.12.jar %USERPROFILE%\.m2\repository\org\hamcrest\hamcrest-core\1.3\hamcrest-core-1.3.jar %USERPROFILE%\.m2\repository\log4j\log4j\1.2.15\log4j-1.2.15.jar %USERPROFILE%\.m2\repository\javax\xml\bind\jaxb-api\2.2.6\jaxb-api-2.2.6.jar %USERPROFILE%\.m2\repository\com\sun\xml\ws\jaxws-tools\2.1.3\jaxws-tools-2.1.3.jar %USERPROFILE%\.m2\repository\org\apache\axis2\axis2-transport-http\1.8.0-SNAPSHOT\axis2-transport-http-1.8.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\httpcomponents\httpclient\4.5.3\httpclient-4.5.3.jar %USERPROFILE%\.m2\repository\org\apache\httpcomponents\httpcore\4.4.6\httpcore-4.4.6.jar %USERPROFILE%\.m2\repository\commons-codec\commons-codec\1.9\commons-codec-1.9.jar %USERPROFILE%\.m2\repository\org\apache\axis2\axis2-transport-local\1.8.0-SNAPSHOT\axis2-transport-local-1.8.0-SNAPSHOT.jar %USERPROFILE%\.m2\repository\org\apache\maven\surefire\surefire-junit4\2.20\surefire-junit4-2.20.jar [DEBUG] boot(compact) classpath: surefire-booter-2.20.jar surefire-api-2.20.jar surefire-logger-api-2.20.jar test-classes classes maven-project-3.3.3.jar maven-settings-2.2.1.jar maven-profile-2.2.1.jar maven-model-2.2.1.jar maven-artifact-manager-2.2.1.jar maven-repository-metadata-2.2.1.jar wagon-provider-api-1.0-beta-6.jar backport-util-concurrent-3.1.jar maven-plugin-registry-2.2.1.jar plexus-interpolation-1.11.jar plexus-utils-1.4.9.jar maven-artifact-3.3.9.jar commons-lang3-3.4.jar plexus-container-default-1.0-alpha-9-stable-1.jar classworlds-1.1-alpha-2.jar axis2-kernel-1.8.0-SNAPSHOT.jar axiom-api-1.3.0-SNAPSHOT.jar jaxen-1.1.6.jar apache-mime4j-core-0.8.0.jar axiom-impl-1.3.0-SNAPSHOT.jar woodstox-core-asl-4.2.0.jar stax2-api-3.1.1.jar geronimo-ws-metadata_2.0_spec-1.1.2.jar geronimo-jta_1.1_spec-1.1.jar servlet-api-2.3.jar commons-fileupload-1.3.3.jar wsdl4j-1.6.2.jar xmlschema-core-2.2.3-SNAPSHOT.jar neethi-3.0.4-SNAPSHOT.jar woden-core-1.0M11-SNAPSHOT.jar commons-logging-1.1.1.jar jsr311-api-1.1.1.jar commons-io-2.1.jar axis2-adb-1.8.0-SNAPSHOT.jar axiom-dom-1.3.0-SNAPSHOT.jar geronimo-jaxws_2.2_spec-1.0.jar axis2-saaj-1.8.0-SNAPSHOT.jar xml-resolver-1.2.jar jaxb-impl-2.2.6.jar junit-4.12.jar hamcrest-core-1.3.jar log4j-1.2.15.jar jaxb-api-2.2.6.jar jaxws-tools-2.1.3.jar axis2-transport-http-1.8.0-SNAPSHOT.jar httpclient-4.5.3.jar httpcore-4.4.6.jar commons-codec-1.9.jar axis2-transport-local-1.8.0-SNAPSHOT.jar surefire-junit4-2.20.jar [DEBUG] Forking command line: cmd.exe /X /C "%JAVA_HOME%\jre\bin\java -Xbootclasspath/p:%USERPROFILE%\.m2\repository\org\apache\geronimo\specs\geronimo-jaxws_2.2_spec\1.0\geronimo-jaxws_2.2_spec-1.0.jar -jar C:\Axis\Thorsten\axis2-java-trunk\modules\metadata\target\surefire\surefirebooter5601085136083788745.jar C:\Axis\Thorsten\axis2-java-trunk\modules\metadata\target\surefire 2017-09-12T08-22-34_929-jvmRun1 surefire477378821769487523tmp surefire_0884734975243770122tmp" [INFO] Running org.apache.axis2.jaxws.description.addressing.ActionTests... <snip> [INFO] Results: [INFO] [INFO] Tests run: 191, Failures: 0, Errors: 0, Skipped: 0 [INFO] [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESS MG>I suggest posting this bug to maven-surefire-plugin JIRA....be aware 2.2* is a bit old but still maintained MG>to file a bug (which you should do) i would suggest to use herves surefire bug report to tibor as a template https://issues.apache.org/jira/browse/SUREFIRE-1254 [SUREFIRE-1254] add color messages - ASF JIRA<https://issues.apache.org/jira/browse/SUREFIRE-1254> issues.apache.org Please make it optional and disabled by default. Else you will break external tools like Jenkins/NetBeans, which parse the output of the surefire-plugin. MG>*danke Thorsten* MG>martin ________________________________ From: Martin Gainty <[email protected]> Sent: Monday, September 11, 2017 11:25 AM To: [email protected] Subject: Re: [AXIS2] Some project builds fail if goal "clean" is not used great the d/l of xmlschema-core worked! in modules/metadata/pom.xml i had to add target/GENERA~2/jaxb folder so mvn test-compile now compiles all tests <!-- MG 09/11 add build-helper-maven-plugin to add target/GENERA~2/jaxb source folder --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>build-helper-maven-plugin</artifactId> <executions> <execution> <id>add-test-source</id> <phase>generate-test-sources</phase> <goals> <goal>add-test-source</goal> </goals> <configuration> <sources> <source>target/GENERA~2/jaxb</source> </sources> </configuration> </execution> </executions> </plugin> <!-- end MG 09/11 add build-helper-maven-plugin --> so now have all test classes (generated and provided) compiled to target/test-classes by mvn test-compile Thanks Thorsten ________________________________ From: Thorsten Schöning <[email protected]> Sent: Monday, September 11, 2017 8:46 AM To: Martin Gainty Subject: Re: [AXIS2] Some project builds fail if goal "clean" is not used Guten Tag Martin Gainty, am Montag, 11. September 2017 um 14:00 schrieben Sie: > axis2-kernel-1.8.0 has dependency > org.apache.ws.xmlschema:xmlschema-core:jar:2.2.3-20170506.104137-3.jar > any suggestions to locate this jar? It's a dependency of the project and therefore was downloaded by Maven for me: > <dependency> > <groupId>org.apache.ws.xmlschema</groupId> > <artifactId>xmlschema-core</artifactId> > <version>${xmlschema.version}</version> > </dependency> > C:\Users\tschoening\.m2\repository\org\apache\ws\xmlschema\xmlschema-core\2.2.3-SNAPSHOT\xmlschema-core-2.2.3-20170506.104137-3.jar Mit freundlichen Grüßen, Thorsten Schöning -- Thorsten Schöning E-Mail: [email protected] AM-SoFT IT-Systeme http://www.AM-SoFT.de/ Webpräsenz AM-SoFT IT-Systeme GmbH - Startseite<http://www.am-soft.de/> www.am-soft.de AM-SoFT IT-Systeme „Neue Wege entstehen, indem wir sie gehen!“ AM-SoFT GmbH IT-Systeme, 1989 in Hameln gegründet, ist EDV-Systemhaus, Internet-Service-Provider ... Telefon...........05151- 9468- 55 Fax...............05151- 9468- 88 Mobil..............0178-8 9468- 04 AM-SoFT GmbH IT-Systeme, Brandenburger Str. 7c, 31789 Hameln AG Hannover HRB 207 694 - Geschäftsführer: Andreas Muchow --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
