[ https://issues.apache.org/jira/browse/AXIS2-5752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211081#comment-15211081
]
Andreas Veithen commented on AXIS2-5752:
----------------------------------------
This appears to be caused by a semantic change in either Maven or the gmaven plugin.
> Building with mvn install -Dmaven.test.skip=true failes
> -------------------------------------------------------
>
> Key: AXIS2-5752
> URL: https://issues.apache.org/jira/browse/AXIS2-5752
> Project: Axis2
> Issue Type: Bug
> Affects Versions: 1.7.1
> Environment: Windows 7 / SP1, mvn, JDK 1.7
> Reporter: Josef Stadelmann
> Labels: build, maven, test
>
> Just wanted to build one more time axis2 from the trunk, with -Dmaven.test.skip=true
> That worked well for me in the past as I started to not run all the tests as they seldom
where running and where too often the cause for a abort of the build.
> Now even with -Dmaven.test.skip=true it failed. The reason is a missing file which is
not generated if tests are skipped.
>
> <plugin>
> <artifactId>maven-antrun-plugin</artifactId>
> <executions>
> <execution>
> <goals>
> <goal>run</goal>
> </goals>
> <phase>test</phase>
> <configuration>
> <tasks unless="maven.test.skip">
> <echo message="Generating p2n.wsdl" />
>
> <java classname="org.apache.ws.java2wsdl.Java2WSDL"
classpathref="maven.test.classpath" fork="true" failonerror="true">
> <arg value="-o" />
> <arg value="${project.build.directory}/java2wsdl"
/>
> <arg value="-of" />
> <arg value="p2n.wsdl" />
> <arg value="-cn" />
> <arg value="org.apache.axis2.description.CalculatorService"
/>
> <arg value="-p2n" />
> <arg value="[org.apache.axis2.description,http://www.example.org/calculator]"
/>
> <arg value="-stn" />
> <arg value="http://www.example.org/calculator-service"
/>
> </java>
> </tasks>
> </configuration>
> </execution>
> </executions>
> </plugin>
>
> The file p2n.wsdl is missing as it will be not generated if -Dmaven.test.skip=true is
selected.
> Why is that file not generated when I just intend to not have tests?
>
> Josef
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: java-dev-unsubscribe@axis.apache.org
For additional commands, e-mail: java-dev-help@axis.apache.org
|