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.

42 lines
1.3 KiB

  1. <project xmlns = "http://maven.apache.org/POM/4.0.0"
  2. xmlns:xsi = "http://www.w3.org/2001/XMLSchema-instance"
  3. xsi:schemaLocation = "http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
  4. <modelVersion>4.0.0</modelVersion>
  5. <groupId>org.binsky.jenkinstest</groupId>
  6. <artifactId>Jenkinstest</artifactId>
  7. <version>1.0</version>
  8. <properties>
  9. <maven.compiler.target>11</maven.compiler.target>
  10. <maven.compiler.source>11</maven.compiler.source>
  11. <my-junit-version>4.11</my-junit-version>
  12. <!-- custom properties possible! -->
  13. </properties>
  14. <dependencies>
  15. <dependency>
  16. <groupId>junit</groupId>
  17. <artifactId>junit</artifactId>
  18. <version>${my-junit-version}</version>
  19. <scope>test</scope>
  20. </dependency>
  21. </dependencies>
  22. <build>
  23. <plugins>
  24. <plugin>
  25. <groupId>org.apache.maven.plugins</groupId>
  26. <artifactId>maven-jar-plugin</artifactId>
  27. <configuration>
  28. <archive>
  29. <manifest>
  30. <addClasspath>true</addClasspath>
  31. <mainClass>Main</mainClass>
  32. </manifest>
  33. </archive>
  34. </configuration>
  35. </plugin>
  36. </plugins>
  37. </build>
  38. </project>