Guest User

pom

a guest
Jun 25th, 2013
166
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.73 KB | None | 0 0
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <project xmlns="http://maven.apache.org/POM/4.0.0"
  3. xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
  4. xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  5. <modelVersion>4.0.0</modelVersion>
  6.  
  7. <groupId>xyz</groupId>
  8. <artifactId>xyz</artifactId>
  9. <version>0.0.1-SNAPSHOT</version>
  10.  
  11. <properties>
  12. <finalName>${project.artifactId}-${project.version}.jar</finalName>
  13. <main.class>com.alasershark.bw.BlackAndWhite</main.class>
  14. <natives>${basedir}/target/natives/</natives>
  15. <release.natives>natives/</release.natives>
  16. </properties>
  17.  
  18. <repositories>
  19. <repository>
  20. <id>maven2</id>
  21. <url>http://repo1.maven.org/maven2</url>
  22. </repository>
  23. </repositories>
  24.  
  25. <dependencies>
  26. <dependency>
  27. <groupId>org.lwjgl.lwjgl</groupId>
  28. <artifactId>lwjgl</artifactId>
  29. <version>2.9.0</version>
  30. </dependency>
  31. <dependency>
  32. <groupId>org.apache.logging.log4j</groupId>
  33. <artifactId>log4j</artifactId>
  34. <version>2.0-beta7</version>
  35. </dependency>
  36. <dependency>
  37. <groupId>org.jbox2d</groupId>
  38. <artifactId>jbox2d</artifactId>
  39. <version>2.2.1.1</version>
  40. </dependency>
  41. </dependencies>
  42.  
  43. <build>
  44. <plugins>
  45. <plugin>
  46. <artifactId>maven-compiler-plugin</artifactId>
  47. <version>3.1</version>
  48. <configuration>
  49. <source>1.7</source>
  50. <target>1.7</target>
  51. <encoding>UTF-8</encoding>
  52. </configuration>
  53. </plugin>
  54. <plugin>
  55. <groupId>com.googlecode.mavennatives</groupId>
  56. <artifactId>maven-nativedependencies-plugin</artifactId>
  57. <version>0.0.7</version>
  58. <executions>
  59. <execution>
  60. <id>unpacknatives</id>
  61. <phase>generate-resources</phase>
  62. <goals>
  63. <goal>copy</goal>
  64. </goals>
  65. </execution>
  66. </executions>
  67. </plugin>
  68. <plugin>
  69. <groupId>org.apache.maven.plugins</groupId>
  70. <artifactId>maven-jar-plugin</artifactId>
  71. <version>2.4</version>
  72. <configuration>
  73. <archive>
  74. <manifest>
  75. <mainClass>${main.class}</mainClass>
  76. <addClasspath>true</addClasspath>
  77. <classpathPrefix>lib/</classpathPrefix>
  78. </manifest>
  79. </archive>
  80. </configuration>
  81. </plugin>
  82. <plugin>
  83. <artifactId>maven-assembly-plugin</artifactId>
  84. <version>2.4</version>
  85. <executions>
  86. <execution>
  87. <id>bundle-project-sources</id>
  88. <phase>package</phase>
  89. <goals>
  90. <goal>single</goal>
  91. </goals>
  92. <configuration>
  93. <descriptors>
  94. <descriptor>src/META-INF/assembly.xml</descriptor>
  95. </descriptors>
  96. </configuration>
  97. </execution>
  98. </executions>
  99. </plugin>
  100. </plugins>
  101. </build>
  102.  
  103.  
  104. </project>
Advertisement
Add Comment
Please, Sign In to add comment