pom.xml (3648B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <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/xsd/maven-4.0.0.xsd"> 3 <modelVersion>4.0.0</modelVersion> 4 <groupId>com.groupproject</groupId> 5 <artifactId>TicTacToeClient</artifactId> 6 <version>1.0-SNAPSHOT</version> 7 <packaging>jar</packaging> 8 <build> 9 <resources> 10 <resource> 11 <targetPath>META-INF</targetPath> 12 <directory>src</directory> 13 <includes> 14 <include>jax-ws-catalog.xml</include> 15 <include>wsdl/**</include> 16 </includes> 17 </resource> 18 <resource> 19 <directory>src/main/resources</directory> 20 </resource> 21 </resources> 22 <plugins> 23 <plugin> 24 <groupId>com.sun.xml.ws</groupId> 25 <artifactId>jaxws-maven-plugin</artifactId> 26 <version>4.0.1</version> 27 <executions> 28 <execution> 29 <goals> 30 <goal>wsimport</goal> 31 </goals> 32 <configuration> 33 <wsdlFiles> 34 <wsdlFile>localhost_8080/TicTacToeWS/TicTacToeWebService.wsdl</wsdlFile> 35 </wsdlFiles> 36 <packageName></packageName> 37 <vmArgs> 38 <vmArg>-Djavax.xml.accessExternalSchema=all</vmArg> 39 </vmArgs> 40 <wsdlLocation>http://localhost:8080/TicTacToeWS/TicTacToeWebService?WSDL</wsdlLocation> 41 <staleFile>${project.build.directory}/jaxws/stale/TicTacToeWebService.stale</staleFile> 42 </configuration> 43 <id>wsimport-generate-TicTacToeWebService</id> 44 <phase>generate-sources</phase> 45 </execution> 46 </executions> 47 <dependencies> 48 <dependency> 49 <groupId>javax.xml</groupId> 50 <artifactId>webservices-api</artifactId> 51 <version>2.0</version> 52 </dependency> 53 </dependencies> 54 <configuration> 55 <sourceDestDir>${project.build.directory}/generated-sources/jaxws-wsimport</sourceDestDir> 56 <xnocompile>true</xnocompile> 57 <verbose>true</verbose> 58 <extension>true</extension> 59 <catalog>${basedir}/src/jax-ws-catalog.xml</catalog> 60 </configuration> 61 </plugin> 62 </plugins> 63 </build> 64 <dependencies> 65 <dependency> 66 <groupId>org.glassfish.metro</groupId> 67 <artifactId>webservices-rt</artifactId> 68 <version>3.0.3</version> 69 </dependency> 70 <dependency> 71 <groupId>com.formdev</groupId> 72 <artifactId>flatlaf</artifactId> 73 <version>3.5.2</version> 74 <type>jar</type> 75 </dependency> 76 </dependencies> 77 <properties> 78 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> 79 <maven.compiler.source>22</maven.compiler.source> 80 <maven.compiler.target>22</maven.compiler.target> 81 <exec.mainClass>com.groupproject.tictactoeclient.TicTacToeClient</exec.mainClass> 82 </properties> 83 </project>