Advertisement
Guest User

Untitled

a guest
Apr 23rd, 2018
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.57 KB | None | 0 0
  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>com.xyz</groupId>
  5. <artifactId>XYZ</artifactId>
  6. <packaging>jar</packaging>
  7. <version>1.0-SNAPSHOT</version>
  8. <name>Test</name>
  9. <url>http://maven.apache.org</url>
  10. <build>
  11. <resources>
  12. <resource>
  13. <directory>WEB-INF/classes/</directory>
  14. </resource>
  15. </resources>
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.maven.plugins</groupId>
  19. <artifactId>maven-jar-plugin</artifactId>
  20. <version>3.1.0</version>
  21. <configuration>
  22. <archive>
  23. <manifest>
  24. <addClasspath>true</addClasspath>
  25. <mainClass>com.xyz.Abc</mainClass>
  26. </manifest>
  27. </archive>
  28. </configuration>
  29. </plugin>
  30. </plugins>
  31. </build>
  32. <repositories>
  33. <repository>
  34. <id>localrepository</id>
  35. <url>${user.home}/.m2/repository</url>
  36. </repository>
  37. </repositories>
  38. <dependencies>
  39. <dependency>
  40. <groupId>junit</groupId>
  41. <artifactId>junit</artifactId>
  42. <version>3.8.1</version>
  43. <scope>test</scope>
  44. </dependency>
  45. <dependency>
  46. <groupId>com.abc</groupId>
  47. <artifactId>jarname</artifactId>
  48. <version>1.0</version>
  49. <scope>compile</scope>
  50. </dependency>
  51. </dependencies>
  52. </project>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement