RE: Building with mvn install -Dmaven.test.skip=true failes

Martin Gainty <[email protected]>
Newsgroups gmane.text.xml.axis.user
Message-ID <[email protected]>
MG>I *thought* <transport>https</transport> TC was supposed to pass..so I possibly mucked the Testcase ...Thanks Andreas 



From: [email protected]
Date: Wed, 30 Mar 2016 08:02:33 +0100
Subject: Re: Building with mvn install -Dmaven.test.skip=true failes
To: [email protected]



On Tue, Mar 29, 2016 at 9:37 PM, Martin Gainty <[email protected]> wrote:



MG>package phase running testcases errors out on EchoService3
axis2-1.8/modules/kernel>maven package
WARNING: Service [ EchoService3] is trying to expose in a transport : https and which is not available in Axis2org.apache.axis2.deployment.DeploymentException: Service [EchoService3] is trying expose in tranpsorts: <transports>                <transport>https</transport>        </transports> and which is/are not available in Axis2
?
That's not a build failure but the expected outcome of the test. MG> if I disable tests a clean jar is produced ..ready for deploy and install
axis2-1.8/modules/kernel>mvn -e -X -DskipTests=true package 
./target/axis2-1.8-SNAPSHOT.jar is produced
MG>attaching pom.xml
Martin 
______________________________________________ 



From: [email protected]
Date: Tue, 29 Mar 2016 18:59:56 +0100
Subject: Re: Building with mvn install -Dmaven.test.skip=true failes
To: [email protected]

That is a problem on your end because the ProviderOMContextListener class no longer exists on the trunk.
Andreas
On Tue, Mar 29, 2016 at 8:43 AM, Stadelmann Josef <[email protected]> wrote:








I’ve read that JIRA [axis2-5752] was fixed. So I did an SVN UPDATE to the trunk.

 

I tried to rebuild to see the fix working and, indeed, as I expected it from the axis developers

that JAVA WSDL builds now perfect.  Thanks,


 

However, now I get another build abort a few modules down, which I report here, ready to file


a JIRA if needed. I just did a  mvn install –Dmaven.test.skip=true


to the trunk and it fails

 

Josef

 

[INFO]

[INFO] ------------------------------------------------------------------------

[INFO] Building Apache Axis2 - JAXWS 1.8.0-SNAPSHOT

[INFO] ------------------------------------------------------------------------

[INFO]

[INFO] --- maven-enforcer-plugin:1.1:enforce (default) @ axis2-jaxws ---

[INFO]

[INFO] --- alta-maven-plugin:0.4:generate-properties (default) @ axis2-jaxws ---

[INFO]

[INFO] --- maven-remote-resources-plugin:1.5:process (default) @ axis2-jaxws ---

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:resources (default-resources) @ axis2-jaxws ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] skip non existing resourceDirectory E:\asf\axis\axis2\java\core\trunk\modules\jaxws\conf

[INFO] Copying 0 resource

[INFO] Copying 1 resource

[INFO] Copying 2 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.3.1:compile (default-compile) @ axis2-jaxws ---

[INFO] Nothing to compile - all classes are up to date

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-echo) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-stock1) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-stock2) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-samplemtom) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-ProxyDocLitWrapped) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- jaxb2-maven-plugin:2.2:testXjc (xjc-AddNumbers) @ axis2-jaxws ---

[INFO] Ignored given or default testXjbSources [E:\asf\axis\axis2\java\core\trunk\modules\jaxws\src\test\xjb], since it is not an existent file or directory.

[INFO] No changes detected in schema or binding files - skipping JAXB generation.

[INFO]

[INFO] --- axis2-repo-maven-plugin:1.8.0-SNAPSHOT:create-test-repository (default) @ axis2-jaxws ---

[INFO] Tests are skipped

[INFO]

[INFO] --- maven-resources-plugin:2.4.2:testResources (default-testResources) @ axis2-jaxws ---

[INFO] Using 'UTF-8' encoding to copy filtered resources.

[INFO] Copying 7 resources

[INFO] Copying 61 resources

[INFO] Copying 2 resources

[INFO]

[INFO] --- maven-compiler-plugin:2.3.1:testCompile (default-testCompile) @ axis2-jaxws ---

[INFO] Not compiling test sources

[INFO]

[INFO] --- maven-antrun-plugin:1.2:run (build-repo) @ axis2-jaxws ---

[INFO] Executing tasks

[INFO] Executed tasks

[INFO]

[INFO] --- maven-surefire-plugin:2.13:test (default-test) @ axis2-jaxws ---

[INFO] Tests are skipped.

[INFO]

[INFO] --- maven-jar-plugin:2.2:jar (default-jar) @ axis2-jaxws ---

[INFO] Building jar: E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\axis2-jaxws-1.8.0-SNAPSHOT.jar

[INFO]

[INFO] --- maven-source-plugin:2.4:jar-no-fork (source-jars) @ axis2-jaxws ---

[INFO] Building jar: E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\axis2-jaxws-1.8.0-SNAPSHOT-sources.jar

[INFO]

[INFO] --- maven-site-plugin:3.4:attach-descriptor (attach-descriptor) @ axis2-jaxws ---

[INFO]

[INFO] --- animal-sniffer-maven-plugin:1.14:check (check) @ axis2-jaxws ---

[INFO] Checking unresolved references to org.codehaus.mojo.signature:java16:1.1

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ProviderOMContextListener.class:81: Undefined reference:
 org.apache.axiom.om.im

pl.builder.StAXOMBuilder

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ProviderOMContextListener.class:91: Undefined reference:
 org.apache.axiom.om.im

pl.builder.StAXOMBuilder

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ProviderOMContextListener.class:91: Undefined reference:
 org.apache.axiom.om.im

pl.builder.CustomBuilder org.apache.axiom.om.impl.builder.StAXOMBuilder.registerCustomBuilderForPayload(org.apache.axiom.om.impl.builder.CustomBuilder)

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ParserInputStreamCustomBuilder.class:135: Undefined reference:
 org.apache.axiom

.om.ds.ParserInputStreamDataSource

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ParserInputStreamCustomBuilder.class:135: Undefined reference:
 void org.apache.

axiom.om.ds.ParserInputStreamDataSource.<init>(java.io.InputStream, String)

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ParserInputStreamCustomBuilder.class:191: Undefined reference:
 org.apache.axiom

.om.ds.ParserInputStreamDataSource

[ERROR] E:\asf\axis\axis2\java\core\trunk\modules\jaxws\target\classes\org\apache\axis2\jaxws\context\listener\ParserInputStreamCustomBuilder.class:191: Undefined reference:
 void org.apache.

axiom.om.ds.ParserInputStreamDataSource.<init>(java.io.InputStream, String)

[INFO] ------------------------------------------------------------------------

[INFO] Reactor Summary:

[INFO]

[INFO] Apache Axis2 - Root ............................... SUCCESS [12.168s]

[INFO] Apache Axis2 - Resource bundle .................... SUCCESS [1.857s]

[INFO] Apache Axis2 - Kernel ............................. SUCCESS [47.204s]

[INFO] Apache Axis2 - Data Binding ....................... SUCCESS [19.874s]

[INFO] Apache Axis2 - Transport - Local .................. SUCCESS [3.105s]

[INFO] Apache Axis2 - Addressing ......................... SUCCESS [2.714s]

[INFO] Apache Axis2 - Transport - Base ................... SUCCESS [4.212s]

[INFO] Apache Axis2 - Transport - testkit ................ SUCCESS [6.380s]

[INFO] Apache Axis2 - Transport - HTTP ................... SUCCESS [18.314s]

[INFO] Apache Axis2 - Code Generation .................... SUCCESS [4.649s]

[INFO] Apache Axis2 - ADB Codegen ........................ SUCCESS [2.231s]

[INFO] Apache Axis2 - Clustering ......................... SUCCESS [2.246s]

[INFO] Apache Axis2 - SAAJ ............................... SUCCESS [25.662s]

[INFO] axis2-repo-maven-plugin ........................... SUCCESS [1.778s]

[INFO] Apache Axis2 - Metadata ........................... SUCCESS [9.282s]

[INFO] Apache Axis2 - CORBA .............................. SUCCESS [2.012s]

[INFO] Apache Axis2 - Java2WSDL .......................... SUCCESS [5.211s]

[INFO] Apache Axis2 - Fast Infoset ....................... SUCCESS [1.232s]

[INFO] Apache Axis2 - JAXB-RI Data Binding ............... SUCCESS [5.226s]

[INFO] Apache Axis2 - JAXWS .............................. FAILURE [7.129s]

[INFO] Apache Axis2 - JAXWS (mar) ........................ SKIPPED

[INFO] Apache Axis2 - Test Utilities ..................... SKIPPED

[INFO] Apache Axis2 - JiBX Data Binding .................. SKIPPED

[INFO] Apache Axis2 - JSON ............................... SKIPPED

[INFO] Apache Axis2 - MEX ................................ SKIPPED

[INFO] Apache Axis2 - MTOM Policy ........................ SKIPPED

[INFO] Apache Axis2 - MTOM Policy module ................. SKIPPED

[INFO] Apache Axis2 - OSGi Integration ................... SKIPPED

[INFO] Apache Axis2 - Ping ............................... SKIPPED

[INFO] Apache Axis2 - Scripting .......................... SKIPPED

[INFO] Apache Axis2 - SOAP Monitor Servlet ............... SKIPPED

[INFO] Apache Axis2 - SOAP Monitor Module ................ SKIPPED

[INFO] Apache Axis2 - spring ............................. SKIPPED

[INFO] Apache Axis2 - XMLBeans Data Binding .............. SKIPPED

[INFO] Apache Axis2 - Version Service .................... SKIPPED

[INFO] Apache Axis2 - Web Application module ............. SKIPPED

[INFO] Apache Axis2 - tool - AAR Maven Plugin ............ SKIPPED

[INFO] Apache Axis2 - tool - Ant Plugin .................. SKIPPED

[INFO] Apache Axis2 - tool - Eclipse Codegen Plugin ...... SKIPPED

[INFO] Apache Axis2 - tool - Eclipse service Plugin ...... SKIPPED

[INFO] Apache Axis2 - tool - Intellij IDEA Plugin ........ SKIPPED

[INFO] Apache Axis2 - tool - Java2WSDL Maven Plugin ...... SKIPPED

[INFO] Apache Axis2 - tool - MAR Maven Plugin ............ SKIPPED

[INFO] Apache Axis2 - tool - WSDL2Code Maven Plugin ...... SKIPPED

[INFO] Apache Axis2 Simple HTTP server Maven Plugin ...... SKIPPED

[INFO] Apache Axis2 - Transport - JMS .................... SKIPPED

[INFO] Apache Axis2 - Transport - Mail ................... SKIPPED

[INFO] Apache Axis2 - Transport - TCP .................... SKIPPED

[INFO] Apache Axis2 - Transport - UDP .................... SKIPPED

[INFO] Apache Axis2 - Transport - XMPP ................... SKIPPED

[INFO] Javadoc ........................................... SKIPPED

[INFO] Apache Axis2 - ADB Tests .......................... SKIPPED

[INFO] Apache Axis2 - Integration ........................ SKIPPED

[INFO] Axis2 quickstart archetype ........................ SKIPPED

[INFO] Axis2 quickstart-web archetype .................... SKIPPED

[INFO] Apache Axis2 - JAXWS Integration Tests ............ SKIPPED

[INFO] Apache Axis2 - OSGi Tests ......................... SKIPPED

[INFO] Apache Axis2 - Distribution ....................... SKIPPED

[INFO] Samples parent POM ................................ SKIPPED

[INFO] JAXWS - Starting from Java Example ................ SKIPPED

[INFO] JAXWS Addressbook Service ......................... SKIPPED

[INFO] JAXWS Calculator Service .......................... SKIPPED

[INFO] JAXWS Interop Sample .............................. SKIPPED

[INFO] JAXWS Samples - Echo, Ping, MTOM .................. SKIPPED

[INFO] Apache Axis2 -JAXWS Version Service ............... SKIPPED

[INFO] Apache Axis2 Transport-HTTPS sample ............... SKIPPED

[INFO] httpsService ...................................... SKIPPED

[INFO] httpsClient ....................................... SKIPPED

[INFO] Apache Axis2 Transport-JMS sample ................. SKIPPED

[INFO] jmsService ........................................ SKIPPED

[INFO] databinding-tests ................................. SKIPPED

[INFO] jaxbri-tests ...................................... SKIPPED

[INFO] ------------------------------------------------------------------------

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time: 3:08.694s

[INFO] Finished at: Tue Mar 29 09:33:36 CEST 2016

[INFO] Final Memory: 74M/886M

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.codehaus.mojo:animal-sniffer-maven-plugin:1.14:check (check) on project axis2-jaxws: Signature errors found. Verify them and ignore
 them with the proper an

notation if needed. -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException

[ERROR]

[ERROR] After correcting the problems, you can resume the build with the command

[ERROR]   mvn <goals> -rf :axis2-jaxws

E:\asf\axis\axis2\java\core\trunk>





 		 	   		  



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

To unsubscribe, e-mail: [email protected]

For additional commands, e-mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.