Author: sandakith
Date: Wed Jan 2 23:44:10 2008
New Revision: 11789
Log:
Changing the jaxws sample pom for adding the generated sorce files with mvn as
a source dir
Modified:
trunk/wsas/java/modules/samples/JAXWS/pom.xml
Modified: trunk/wsas/java/modules/samples/JAXWS/pom.xml
==============================================================================
--- trunk/wsas/java/modules/samples/JAXWS/pom.xml (original)
+++ trunk/wsas/java/modules/samples/JAXWS/pom.xml Wed Jan 2 23:44:10 2008
@@ -40,6 +40,56 @@
<includeDependencies>false</includeDependencies>
</configuration>
</plugin>-->
+ <plugin>
+ <inherited>false</inherited>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>generate-code</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <tasks>
+ <java
classname="org.wso2.utils.codegen.CodegenHelper" fork="true">
+ <arg value="./conf/codegen.xml"/>
+ <classpath
refid="maven.dependency.classpath"/>
+ <classpath
refid="maven.compile.classpath"/>
+ <classpath
refid="maven.runtime.classpath"/>
+ </java>
+ </tasks>
+ </configuration>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>1.0</version>
+ <executions>
+ <execution>
+ <id>copy-code</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+
<source>${basedir}/target/generated/src</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-checkstyle-plugin</artifactId>
+ <configuration>
+ <enableRulesSummary>false</enableRulesSummary>
+ </configuration>
+ </plugin>
</plugins>
</build>
_______________________________________________
Wsas-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-dev