pom.xml 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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/maven-v4_0_0.xsd">
  3. <modelVersion>4.0.0</modelVersion>
  4. <groupId>org.bazu</groupId>
  5. <artifactId>jotex</artifactId>
  6. <packaging>jar</packaging>
  7. <version>0.4.2-SNAPSHOT</version>
  8. <name>jotex</name>
  9. <url>http://maven.apache.org</url>
  10. <properties>
  11. <jdk.version>1.6</jdk.version>
  12. </properties>
  13. <dependencies>
  14. <dependency>
  15. <groupId>commons-cli</groupId>
  16. <artifactId>commons-cli</artifactId>
  17. <version>1.2</version>
  18. </dependency>
  19. <dependency>
  20. <groupId>org.odftoolkit</groupId>
  21. <artifactId>odfdom-java</artifactId>
  22. <version>0.8.7</version>
  23. </dependency>
  24. <dependency>
  25. <groupId>junit</groupId>
  26. <artifactId>junit</artifactId>
  27. <version>3.8.1</version>
  28. <scope>test</scope>
  29. </dependency>
  30. </dependencies>
  31. <build>
  32. <plugins>
  33. <plugin>
  34. <groupId>org.apache.maven.plugins</groupId>
  35. <artifactId>maven-compiler-plugin</artifactId>
  36. <version>2.3.2</version>
  37. <configuration>
  38. <source>${jdk.version}</source>
  39. <target>${jdk.version}</target>
  40. </configuration>
  41. </plugin>
  42. <!-- plugin>
  43. <groupId>org.apache.maven.plugins</groupId>
  44. <artifactId>maven-jar-plugin</artifactId>
  45. <version>2.4</version>
  46. <configuration>
  47. <archive>
  48. <manifest>
  49. <mainClass>org.bazu.jotex.CommandLineLauncher</mainClass>
  50. </manifest>
  51. </archive>
  52. </configuration>
  53. </plugin-->
  54. <plugin>
  55. <artifactId>maven-assembly-plugin</artifactId>
  56. <configuration>
  57. <archive>
  58. <manifest>
  59. <mainClass>org.bazu.jotex.CommandLineLauncher</mainClass>
  60. </manifest>
  61. </archive>
  62. <descriptorRefs>
  63. <descriptorRef>jar-with-dependencies</descriptorRef>
  64. </descriptorRefs>
  65. </configuration>
  66. <executions>
  67. <execution>
  68. <id>make-assembly</id> <!-- this is used for inheritance merges -->
  69. <phase>package</phase> <!-- bind to the packaging phase -->
  70. <goals>
  71. <goal>single</goal>
  72. </goals>
  73. </execution>
  74. </executions>
  75. </plugin>
  76. </plugins>
  77. </build>
  78. </project>