pom.xml 3.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  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. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.glassfish.grizzly.bm</groupId>
  5. <artifactId>grizzly-bm</artifactId>
  6. <version>0.1</version>
  7. <packaging>jar</packaging>
  8. <name>grizzly-bm</name>
  9. <url>http://maven.apache.org</url>
  10. <build>
  11. <defaultGoal>install</defaultGoal>
  12. <resources>
  13. <resource>
  14. <directory>src/main/resources</directory>
  15. </resource>
  16. </resources>
  17. <testResources>
  18. <testResource>
  19. <directory>src/test/resources</directory>
  20. </testResource>
  21. </testResources>
  22. <plugins>
  23. <plugin>
  24. <inherited>true</inherited>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-compiler-plugin</artifactId>
  27. <version>2.3.2</version>
  28. <configuration>
  29. <source>1.7</source>
  30. <target>1.7</target>
  31. <optimize>true</optimize>
  32. <debug>false</debug>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <artifactId>maven-assembly-plugin</artifactId>
  37. <configuration>
  38. <archive>
  39. <manifest>
  40. <mainClass>org.glassfish.grizzly.bm.Server</mainClass>
  41. </manifest>
  42. </archive>
  43. <descriptorRefs>
  44. <descriptorRef>jar-with-dependencies</descriptorRef>
  45. </descriptorRefs>
  46. </configuration>
  47. <executions>
  48. <execution>
  49. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  50. <phase>package</phase> <!-- bind to the packaging phase -->
  51. <goals>
  52. <goal>single</goal>
  53. </goals>
  54. </execution>
  55. </executions>
  56. </plugin>
  57. </plugins>
  58. </build>
  59. <properties>
  60. <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
  61. </properties>
  62. <dependencies>
  63. <dependency>
  64. <groupId>org.glassfish.grizzly</groupId>
  65. <artifactId>grizzly-http-server</artifactId>
  66. <version>2.3.11</version>
  67. <!--<version>3.0-SNAPSHOT</version>-->
  68. </dependency>
  69. <dependency>
  70. <groupId>com.fasterxml.jackson.core</groupId>
  71. <artifactId>jackson-databind</artifactId>
  72. <version>2.3.0</version>
  73. </dependency>
  74. </dependencies>
  75. <!-- <repositories>
  76. <repository>
  77. <id>grizzly-snapshots</id>
  78. <url>https://maven.java.net/content/repositories/snapshots/</url>
  79. </repository>
  80. </repositories> -->
  81. </project>