diff options
| author | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:11:23 +0100 |
|---|---|---|
| committer | Michael Williamson <mike@zwobble.org> | 2026-07-14 18:11:59 +0100 |
| commit | 3ef6836c6f18ac46b1e42e356ef75417577b36c7 (patch) | |
| tree | 5b1d5b565f096dfd4e909e1985a8f98aeb0313b4 /examples/templates/java-junit/pom.xml | |
| parent | 2c90667a91e8162a56d2052965c8a1ac3363c175 (diff) | |
Move pom.xml for Java project using JUnit to templates directory
Diffstat (limited to 'examples/templates/java-junit/pom.xml')
| -rw-r--r-- | examples/templates/java-junit/pom.xml | 73 |
1 files changed, 73 insertions, 0 deletions
diff --git a/examples/templates/java-junit/pom.xml b/examples/templates/java-junit/pom.xml new file mode 100644 index 0000000..5da44a5 --- /dev/null +++ b/examples/templates/java-junit/pom.xml @@ -0,0 +1,73 @@ +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> + <modelVersion>4.0.0</modelVersion> + + <groupId>org.zwobble.hobgoblin.examples</groupId> + <artifactId>example</artifactId> + <version>1.0-SNAPSHOT</version> + + <properties> + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> + <maven.compiler.source>25</maven.compiler.source> + <maven.compiler.target>25</maven.compiler.target> + </properties> + + <dependencyManagement> + <dependencies> + <dependency> + <groupId>org.junit</groupId> + <artifactId>junit-bom</artifactId> + <version>5.9.3</version> + <type>pom</type> + <scope>import</scope> + </dependency> + </dependencies> + </dependencyManagement> + + <dependencies> + <dependency> + <groupId>org.zwobble.precisely</groupId> + <artifactId>precisely</artifactId> + <version>0.1.5</version> + </dependency> + <dependency> + <groupId>org.junit.jupiter</groupId> + <artifactId>junit-jupiter</artifactId> + <scope>test</scope> + </dependency> + </dependencies> + + <build> + <plugins> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>3.6.1</version> + <executions> + <execution> + <id>add-source</id> + <phase>generate-sources</phase> + <goals> + <goal>add-source</goal> + </goals> + <configuration> + <sources> + <source>src/gen/java</source> + </sources> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + + <pluginManagement> + <plugins> + <plugin> + <artifactId>maven-surefire-plugin</artifactId> + <version>3.1.0</version> + </plugin> + </plugins> + </pluginManagement> + </build> +</project> |
