You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

pom.xml 2.0 KiB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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>LibrarySystem</groupId>
  5. <artifactId>libsys</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0</version>
  8. <name>LibrarySystem</name>
  9. <url>http://maven.apache.org</url>
  10. <dependencies>
  11. <dependency>
  12. <groupId>junit</groupId>
  13. <artifactId>junit</artifactId>
  14. <version>3.8.1</version>
  15. <scope>test</scope>
  16. </dependency>
  17. <dependency>
  18. <groupId>org</groupId>
  19. <artifactId>json</artifactId>
  20. <version>1.0</version>
  21. <scope>system</scope>
  22. <systemPath>${basedir}/src/main/resources/json.jar</systemPath>
  23. </dependency>
  24. </dependencies>
  25. <build>
  26. <plugins>
  27. <plugin>
  28. <groupId>org.codehaus.mojo</groupId>
  29. <artifactId>exec-maven-plugin</artifactId>
  30. <version>1.2.1</version>
  31. <configuration>
  32. <mainClass>libsys.Main</mainClass>
  33. </configuration>
  34. </plugin>
  35. <plugin>
  36. <groupId>org.apache.maven.plugins</groupId>
  37. <artifactId>maven-compiler-plugin</artifactId>
  38. <version>3.5</version>
  39. <configuration>
  40. <source>1.6</source>
  41. <target>1.6</target>
  42. </configuration>
  43. </plugin>
  44. <plugin>
  45. <groupId>org.apache.maven.plugins</groupId>
  46. <artifactId>maven-surefire-plugin</artifactId>
  47. <version>2.20</version>
  48. <configuration>
  49. <additionalClasspathElements>
  50. <additionalClasspathElement>/home/binhong/Git/LibrarySystem/lib/json.jar</additionalClasspathElement>
  51. </additionalClasspathElements>
  52. </configuration>
  53. </plugin>
  54. </plugins>
  55. </build>
  56. </project>