maven-git-versioning/pom.xml

131 lines
5.0 KiB
XML
Raw Normal View History

2023-08-02 22:33:04 -07:00
<?xml version="1.0" encoding="UTF-8"?>
2023-08-03 03:43:38 -07:00
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
2023-08-02 22:33:04 -07:00
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>
2023-08-03 03:43:38 -07:00
<name>Maven Git Versioning</name>
2023-08-02 22:33:04 -07:00
<groupId>me.braydon</groupId>
2023-08-03 03:43:38 -07:00
<artifactId>git-versioning-maven-plugin</artifactId>
2023-11-11 13:10:32 -08:00
<version>1.0.2</version>
2023-08-03 03:43:38 -07:00
<packaging>maven-plugin</packaging>
2023-08-02 22:33:04 -07:00
<properties>
2023-08-03 03:43:38 -07:00
<java.version>8</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven-plugin-tools.version>3.11.0</maven-plugin-tools.version>
2023-08-02 22:33:04 -07:00
</properties>
<build>
<plugins>
2023-08-03 03:43:38 -07:00
<!--Used for compiling the source code with the proper Java version-->
2023-08-02 22:33:04 -07:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
2023-08-03 03:43:38 -07:00
<version>3.11.0</version>
2023-08-02 22:33:04 -07:00
<configuration>
2023-08-03 03:43:38 -07:00
<source>${java.version}</source>
<target>${java.version}</target>
<!--Enable incremental builds, this is reversed due to-->
<!--a bug as seen in https://issues.apache.org/jira/browse/MCOMPILER-209-->
<useIncrementalCompilation>false</useIncrementalCompilation>
2023-08-02 22:33:04 -07:00
</configuration>
</plugin>
2023-08-03 03:43:38 -07:00
<!--Handles shading of dependencies in the final output jar-->
2023-08-02 22:33:04 -07:00
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
2023-08-03 03:43:38 -07:00
<version>3.5.0</version>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
<filters>
<filter>
<!-- Exclude META-INF directory from being shaded -->
<artifact>*:*</artifact>
<excludes>
<exclude>META-INF/*.MF</exclude>
<exclude>META-INF/*.SF</exclude>
<exclude>META-INF/*.DSA</exclude>
<exclude>META-INF/*.DSA</exclude>
</excludes>
</filter>
</filters>
</configuration>
2023-08-02 22:33:04 -07:00
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
2023-08-03 03:43:38 -07:00
<!-- Plugin Management -->
<pluginManagement>
<plugins>
<!-- Generate a help mojo -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-plugin-plugin</artifactId>
<version>${maven-plugin-tools.version}</version>
<executions>
<execution>
<id>help-mojo</id>
<goals>
<goal>helpmojo</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</pluginManagement>
2023-08-02 22:33:04 -07:00
</build>
2023-08-05 21:22:47 -07:00
<!-- Distribution Repos -->
<distributionManagement>
<repository>
<id>rainnny-repo-public</id>
<url>https://maven.rainnny.club/public</url>
</repository>
</distributionManagement>
2023-08-03 03:43:38 -07:00
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.28</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.eclipse.jgit</groupId>
<artifactId>org.eclipse.jgit</artifactId>
<version>5.12.0.202106070339-r</version>
<scope>compile</scope>
</dependency>
<!-- Maven Plugin -->
<dependency>
<groupId>org.apache.maven</groupId>
<artifactId>maven-plugin-api</artifactId>
<version>3.9.3</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-tools-java</artifactId>
<version>${maven-plugin-tools.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.maven.plugin-tools</groupId>
<artifactId>maven-plugin-annotations</artifactId>
<version>${maven-plugin-tools.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
2023-08-02 22:33:04 -07:00
</project>