Author: asoldano
Date: 2014-09-04 06:42:04 -0400 (Thu, 04 Sep 2014)
New Revision: 18907
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/src/test/resources/log4j.xml
Log:
[JBWS-3617] Avoid fork mode when running wsprovide tool and simply put test.log in
Maven's build dir; explicitly set charset encoding for resources plugin
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml
===================================================================
---
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml 2014-09-03
14:52:33 UTC (rev 18906)
+++
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/pom.xml 2014-09-04
10:42:04 UTC (rev 18907)
@@ -74,6 +74,13 @@
<encoding>UTF-8</encoding>
</configuration>
</plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <version>2.4.3</version>
+ <configuration>
+ <encoding>UTF-8</encoding>
+ </configuration>
+ </plugin>
<!-- The plugin for WildFly deploy / undeploy -->
<plugin>
<groupId>org.wildfly.plugins</groupId>
@@ -115,8 +122,6 @@
<goal>wsconsume-test</goal>
</goals>
<configuration>
- <fork>true</fork> <!-- Fork mode to specify the log conf sys
prop below -->
-
<argLine>-Dlog4j.output.dir=\${project.build.directory}</argLine>
<wsdls>
<wsdl>\${project.build.directory}/wsprovide/resources/HelloWorldService.wsdl</wsdl>
</wsdls>
Modified:
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/src/test/resources/log4j.xml
===================================================================
---
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/src/test/resources/log4j.xml 2014-09-03
14:52:33 UTC (rev 18906)
+++
projects/plugins/maven/archetypes/jaxws-codefirst/trunk/src/main/resources/archetype-resources/src/test/resources/log4j.xml 2014-09-04
10:42:04 UTC (rev 18907)
@@ -19,7 +19,7 @@
<!-- A time/date based rolling appender -->
<appender name="FILE"
class="org.apache.log4j.RollingFileAppender">
- <param name="File" value="${log4j.output.dir}/test.log"/>
+ <param name="File"
value="${project.build.directory}/test.log"/>
<param name="MaxFileSize" value="10MB"/>
<param name="Append" value="true"/>
Show replies by date