<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <artifactId>tgauth</artifactId> <groupId>info.textgrid.middleware</groupId> <version>1.14.0</version> </parent> <groupId>info.textgrid.middleware</groupId> <artifactId>tgauth-client-crud</artifactId> <name>TextGrid :: TGAuthService :: TGExtraCrudClient</name> <packaging>bundle</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <wsdl.dir>../info.textgrid.middleware.tgauth.rbac/rbacSoap/wsdl</wsdl.dir> <wsdl.file>tgextra-crud.wsdl</wsdl.file> </properties> <dependencies> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-frontend-jaxws</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>org.apache.cxf</groupId> <artifactId>cxf-rt-transports-http</artifactId> <version>${cxf.version}</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <defaultGoal>package</defaultGoal> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <version>2.3.2</version> <configuration> <source>1.8</source> <target>1.8</target> <fork>true</fork> <showDeprecation>true</showDeprecation> <showWarnings>true</showWarnings> <!-- Please set export MAVEN_OPTS="$MAVEN_OPTS -Dfile.encoding=UTF-8", setting file.encoding in this POM's properties does not help! --> <encoding>UTF-8</encoding> </configuration> </plugin> <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-plugin</artifactId> <version>${cxf.version}</version> <executions> <execution> <id>generate-tgextra-sources</id> <phase>generate-sources</phase> <configuration> <wsdlOptions> <wsdlOption> <wsdl>${wsdl.dir}/${wsdl.file}</wsdl> <extraargs> <extraarg>-client</extraarg> <extraarg>-wsdlLocation</extraarg> <wsdlurl>${wsdl.dir}/${wsdl.file}</wsdlurl> </extraargs> </wsdlOption> </wsdlOptions> </configuration> <goals> <goal>wsdl2java</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.felix</groupId> <artifactId>maven-bundle-plugin</artifactId> <extensions>true</extensions> <version>2.3.5</version> <configuration> <instructions> <!-- Include WSDL in bundle --> <Include-Resource>{maven-resources},wsdl/${wsdl.file}=${wsdl.dir}/${wsdl.file}</Include-Resource> </instructions> </configuration> </plugin> </plugins> </build> </project>