archetype-resources.pom.xml Maven / Gradle / Ivy
<?xml version="1.0" encoding="UTF-8"?> <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>\${groupId}</groupId> <artifactId>\${artifactId}</artifactId> <version>\${version}</version> <properties> <maven.compiler.source>${java-compiler.version}</maven.compiler.source> <maven.compiler.target>${java-compiler.version}</maven.compiler.target> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <logback.version>${logback.version}</logback.version> <assertj.version>${assertj.version}</assertj.version> </properties> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven-failsafe-plugin.version}</version> <executions> <execution> <id>failsafe-integration-test</id> <goals> <goal>integration-test</goal> </goals> </execution> <execution> <id>failsafe-verify</id> <goals> <goal>verify</goal> </goals> </execution> </executions> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <groupId>org.seedstack</groupId> <artifactId>seedstack-bom</artifactId> <version>${project.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.seedstack.business</groupId> <artifactId>business-core</artifactId> </dependency> <dependency> <groupId>org.seedstack.seed</groupId> <artifactId>seed-testing-junit4</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>\${assertj.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.qos.logback</groupId> <artifactId>logback-classic</artifactId> <version>\${logback.version}</version> <scope>test</scope> </dependency> </dependencies> {% if archetype.groupId == "org.seedstack" and archetype.version contains "-SNAPSHOT" %} <repositories> <repository> <snapshots> <enabled>true</enabled> </snapshots> <releases> <enabled>false</enabled> </releases> <id>ojo-libs-snapshot</id> <name>ojo-snapshots</name> <url>https://oss.jfrog.org/artifactory/libs-snapshot</url> </repository> </repositories> {% endif %} </project>