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> <description>Sample application generated by com.a9ski:quick-start</description> <url>https://github.com/${githubUser}/${artifactId}</url> <inceptionYear>${inceptionYear}</inceptionYear> <organization> <name>${organizationName}</name> <url>https://github.com/${githubUser}</url> </organization> <developers> <developer> <id>${githubUser}</id> <name>${developerName}</name> <email>${email}</email> <url>https://github.com/${githubUser}</url> </developer> </developers> <scm> <url>https://github.com/${githubUser}/${artifactId}</url> <connection>scm:git:ssh://[email protected]/${githubUser}/${artifactId}.git</connection> <developerConnection>scm:git:ssh://[email protected]/${githubUser}/${artifactId}.git</developerConnection> <tag>HEAD</tag> </scm> <licenses> <license> <name>apache_v2</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> <comments>A business-friendly OSS license</comments> </license> </licenses> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>17</maven.compiler.source> <maven.compiler.target>17</maven.compiler.target> <maven.test.plugins.version>3.0.0-M6</maven.test.plugins.version> <maven.exec.plugin.version>3.1.0</maven.exec.plugin.version> <maven.jar.plugin.version>3.3.0</maven.jar.plugin.version> <lombok.version>1.18.28</lombok.version> <junit.version>5.10.0-M1</junit.version> <mockito.version>5.3.1</mockito.version> <log4j2.version>2.20.0</log4j2.version> <resilience4j.version>2.0.2</resilience4j.version> <commons-io.version>2.13.0</commons-io.version> <commons-lang.version>3.12.0</commons-lang.version> <commons-collections.version>4.4</commons-collections.version> <commons-math.version>3.6.1</commons-math.version> <commons-text.version>1.10.0</commons-text.version> <commons-compress.version>1.23.0</commons-compress.version> <commons-csv.version>1.10.0</commons-csv.version> <httpclient.version>5.2.1</httpclient.version> <jcommander.version>1.82</jcommander.version> <guava.version>32.0.0-jre</guava.version> <gson.version>2.10.1</gson.version> <gson-configuration.version>2.0.0</gson-configuration.version> <git-commit-id-plugin.version>4.9.10</git-commit-id-plugin.version> </properties> <dependencies> <!-- build dependencies --> <dependency> <groupId>org.projectlombok</groupId> <artifactId>lombok</artifactId> <version>${lombok.version}</version> <scope>provided</scope> </dependency> <!-- Logging --> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-api</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-core</artifactId> <version>${log4j2.version}</version> </dependency> <dependency> <groupId>org.apache.logging.log4j</groupId> <artifactId>log4j-slf4j2-impl</artifactId> <version>${log4j2.version}</version> </dependency> <!-- Apache Commons libraries --> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> <version>${commons-io.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-lang3</artifactId> <version>${commons-lang.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-collections4</artifactId> <version>${commons-collections.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-math3</artifactId> <version>${commons-math.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-text</artifactId> <version>${commons-text.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-compress</artifactId> <version>${commons-compress.version}</version> </dependency> <dependency> <groupId>org.apache.commons</groupId> <artifactId>commons-csv</artifactId> <version>${commons-csv.version}</version> </dependency> <!-- http client !--> <dependency> <groupId>org.apache.httpcomponents.client5</groupId> <artifactId>httpclient5</artifactId> <version>${httpclient.version}</version> </dependency> <!-- Google guava --> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>${guava.version}</version> </dependency> <!-- Gson !--> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>${gson.version}</version> </dependency> <dependency> <groupId>io.goodforgod</groupId> <artifactId>gson-configuration</artifactId> <version>${gson-configuration.version}</version> </dependency> <!-- Fault tolerance library --> <dependency> <groupId>io.github.resilience4j</groupId> <artifactId>resilience4j-all</artifactId> <version>${resilience4j.version}</version> </dependency> <!-- CLI command line parsing --> <dependency> <groupId>com.beust</groupId> <artifactId>jcommander</artifactId> <version>${jcommander.version}</version> </dependency> <!-- Test dependencies --> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-api</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.junit.jupiter</groupId> <artifactId>junit-jupiter-engine</artifactId> <version>${junit.version}</version> <scope>test</scope> </dependency> <dependency> <groupId>org.mockito</groupId> <artifactId>mockito-core</artifactId> <version>${mockito.version}</version> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-surefire-plugin</artifactId> <version>${maven.test.plugins.version}</version> </plugin> <plugin> <artifactId>maven-failsafe-plugin</artifactId> <version>${maven.test.plugins.version}</version> </plugin> <!-- creates git.properties file with commit and build info --> <plugin> <groupId>pl.project13.maven</groupId> <artifactId>git-commit-id-plugin</artifactId> <version>${git-commit-id-plugin.version}</version> <executions> <execution> <id>get-the-git-infos</id> <goals> <goal>revision</goal> </goals> <phase>initialize</phase> </execution> </executions> <configuration> <useNativeGit>true</useNativeGit> <verbose>true</verbose> <generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFilename>${project.build.outputDirectory}/git.properties</generateGitPropertiesFilename> <includeOnlyProperties> <includeOnlyProperty>^git.build.(time|version)$</includeOnlyProperty> <includeOnlyProperty>^git.commit.id.(abbrev|full)$</includeOnlyProperty> <includeOnlyProperty>^git.branch$</includeOnlyProperty> <includeOnlyProperty>^git.commit.time$</includeOnlyProperty> </includeOnlyProperties> <commitIdGenerationMode>full</commitIdGenerationMode> </configuration> </plugin> <!-- mvn exec:java --> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>exec-maven-plugin</artifactId> <version>${maven.exec.plugin.version}</version> <configuration> <mainClass>${package}.Application</mainClass> </configuration> </plugin> <!-- create manifest with the main class --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <version>${maven.jar.plugin.version}</version> <configuration> <archive> <manifest> <mainClass>${package}.Application</mainClass> <addClasspath>true</addClasspath> <classpathPrefix>libs/</classpathPrefix> </manifest> </archive> </configuration> </plugin> <!-- copies all dependencies to target/libs directory --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>copy-dependencies</id> <phase>prepare-package</phase> <goals> <goal>copy-dependencies</goal> </goals> <configuration> <outputDirectory>${project.build.directory}/libs</outputDirectory> <overWriteIfNewer>true</overWriteIfNewer> </configuration> </execution> </executions> <configuration> <outputDirectory>${project.build.directory}/libs</outputDirectory> </configuration> </plugin> </plugins> </build> </project>
© 2015 - 2024 Weber Informatics LLC | Privacy Policy