|
| 1 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 2 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 3 | + |
| 4 | + |
| 5 | + <groupId>com.hmkcode</groupId> |
| 6 | + <artifactId>websocket-app-client</artifactId> |
| 7 | + <version>1.0-SNAPSHOT</version> |
| 8 | + <packaging>jar</packaging> |
| 9 | + <modelVersion>4.0.0</modelVersion> |
| 10 | + <name>websocket-app-client</name> |
| 11 | + |
| 12 | + |
| 13 | + <repositories> |
| 14 | + <repository> |
| 15 | + <id>java.net-promoted</id> |
| 16 | + <url>https://maven.java.net/content/groups/promoted/</url> |
| 17 | + </repository> |
| 18 | + </repositories> |
| 19 | + |
| 20 | + <dependencies> |
| 21 | + <dependency> |
| 22 | + <groupId>javax</groupId> |
| 23 | + <artifactId>javaee-api</artifactId> |
| 24 | + <version>7.0-b82</version> |
| 25 | + </dependency> |
| 26 | + <dependency> |
| 27 | + <groupId>org.glassfish.tyrus</groupId> |
| 28 | + <artifactId>tyrus-client</artifactId> |
| 29 | + <version>1.0-rc3</version> |
| 30 | + </dependency> |
| 31 | + <dependency> |
| 32 | + <groupId>org.glassfish.tyrus</groupId> |
| 33 | + <artifactId>tyrus-container-grizzly</artifactId> |
| 34 | + <version>1.0-rc3</version> |
| 35 | + </dependency> |
| 36 | + </dependencies> |
| 37 | + |
| 38 | + <build> |
| 39 | + <plugins> |
| 40 | + <plugin> |
| 41 | + <groupId>org.apache.maven.plugins</groupId> |
| 42 | + <artifactId>maven-compiler-plugin</artifactId> |
| 43 | + <version>2.3.2</version> |
| 44 | + <configuration> |
| 45 | + <source>1.7</source> |
| 46 | + <target>1.7</target> |
| 47 | + </configuration> |
| 48 | + </plugin> |
| 49 | + <plugin> |
| 50 | + <groupId>org.codehaus.mojo</groupId> |
| 51 | + <artifactId>exec-maven-plugin</artifactId> |
| 52 | + <executions> |
| 53 | + <execution> |
| 54 | + <id>my-execution</id> |
| 55 | + <phase>compile</phase> |
| 56 | + <goals> |
| 57 | + <goal>java</goal> |
| 58 | + </goals> |
| 59 | + </execution> |
| 60 | + </executions> |
| 61 | + <configuration> |
| 62 | + <mainClass>com.hmkcode.App</mainClass> |
| 63 | + </configuration> |
| 64 | + </plugin> |
| 65 | + </plugins> |
| 66 | + </build> |
| 67 | +</project> |