--- a/pom.xml
+++ b/pom.xml
@@ -150,6 +150,8 @@
<excludes>
<exclude>WEB-INF/**</exclude>
<exclude>lib-src/**</exclude>
+ <exclude>*.sh</exclude>
+ <exclude>settings.xml</exclude>
</excludes>
</configuration>
<executions>
@@ -186,6 +188,50 @@
<server>${tomcat.server}</server>
<path>/pi</path>
</configuration>
+ </plugin>
+
+
+ <!-- wsimport for the dependency reasoner -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>jaxws-maven-plugin</artifactId>
+ <version>1.12</version>
+ <executions>
+ <execution>
+ <id>wsimport-from-jdk</id>
+ <goals>
+ <goal>wsimport</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <wsdlDirectory>resources/wsdls</wsdlDirectory>
+ <wsdlFiles>
+ <wsdlFile>dependencyreasoner.wsdl</wsdlFile>
+ </wsdlFiles>
+ <keep>true</keep>
+ <packageName>net.timbusproject.reasoner</packageName>
+ <sourceDestDir>target/generated-code/src</sourceDestDir>
+ </configuration>
+ </plugin>
+ <!-- adding generated source -->
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>add-source</id>
+ <phase>generate-sources</phase>
+ <goals>
+ <goal>add-source</goal>
+ </goals>
+ <configuration>
+ <sources>
+ <source>target/generated-code/src</source>
+ </sources>
+ </configuration>
+ </execution>
+ </executions>
</plugin>
</plugins>
</build>