mirror of
https://github.com/amalthea-mc/ShopChest.git
synced 2024-11-22 10:22:29 +00:00
Update maven pom file
This commit is contained in:
parent
1dbf68af9c
commit
f51f91e8f4
160
pom.xml
160
pom.xml
@ -6,98 +6,22 @@
|
|||||||
|
|
||||||
<groupId>de.epiceric</groupId>
|
<groupId>de.epiceric</groupId>
|
||||||
<artifactId>ShopChest</artifactId>
|
<artifactId>ShopChest</artifactId>
|
||||||
<version>${version.final}</version>
|
<version>1.13-SNAPSHOT</version>
|
||||||
|
|
||||||
<name>${project.artifactId}</name>
|
<name>ShopChest</name>
|
||||||
<url>https://www.spigotmc.org/resources/shopchest.11431/</url>
|
<url>https://www.spigotmc.org/resources/shopchest.11431/</url>
|
||||||
<description>Let your players create their own nice-looking shops to sell their stuff to other players!</description>
|
<description>Let your players create their own nice-looking shops to sell their stuff to other players!</description>
|
||||||
<packaging>jar</packaging>
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<!-- Project Properties -->
|
<!-- Encoding Properties -->
|
||||||
<projectEncoding>UTF-8</projectEncoding>
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
||||||
<project.build.sourceEncoding>${projectEncoding}</project.build.sourceEncoding>
|
<project.build.outputEncoding>UTF-8</project.build.outputEncoding>
|
||||||
<project.build.outputEncoding>${projectEncoding}</project.build.outputEncoding>
|
|
||||||
|
|
||||||
<!-- JDK Version -->
|
<!-- JDK Version -->
|
||||||
<jdkVersion>1.8</jdkVersion>
|
<maven.compiler.source>1.8</maven.compiler.source>
|
||||||
<maven.compiler.source>${jdkVersion}</maven.compiler.source>
|
<maven.compiler.target>1.8</maven.compiler.target>
|
||||||
<maven.compiler.target>${jdkVersion}</maven.compiler.target>
|
|
||||||
|
|
||||||
<!-- Versioning -->
|
|
||||||
<version.number>1.12.4</version.number>
|
|
||||||
<version.final>${version.number}-${version.git}</version.final>
|
|
||||||
|
|
||||||
<!-- Others -->
|
|
||||||
<github.global.server>github</github.global.server>
|
|
||||||
<javadoc.opts><!-- Only jdk 1.8 and later --></javadoc.opts>
|
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<profiles>
|
|
||||||
<profile>
|
|
||||||
<id>default</id>
|
|
||||||
<activation>
|
|
||||||
<activeByDefault>true</activeByDefault>
|
|
||||||
</activation>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>net.md-5</groupId>
|
|
||||||
<artifactId>scriptus</artifactId>
|
|
||||||
<version>0.2</version>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<phase>initialize</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>describe</goal>
|
|
||||||
</goals>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
<configuration>
|
|
||||||
<descriptionProperty>version.git</descriptionProperty>
|
|
||||||
<format>%s</format>
|
|
||||||
</configuration>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>doclint-java8</id>
|
|
||||||
<activation>
|
|
||||||
<jdk>[1.8,)</jdk>
|
|
||||||
</activation>
|
|
||||||
<properties>
|
|
||||||
<javadoc.opts>-Xdoclint:none</javadoc.opts>
|
|
||||||
</properties>
|
|
||||||
</profile>
|
|
||||||
<profile>
|
|
||||||
<id>release</id>
|
|
||||||
<properties>
|
|
||||||
<version.final>${version.number}</version.final>
|
|
||||||
</properties>
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-javadoc-plugin</artifactId>
|
|
||||||
<version>2.10.4</version>
|
|
||||||
<configuration>
|
|
||||||
<additionalparam>${javadoc.opts}</additionalparam>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<goals>
|
|
||||||
<goal>jar</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>package</phase>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
</profile>
|
|
||||||
</profiles>
|
|
||||||
|
|
||||||
<repositories>
|
<repositories>
|
||||||
<repository>
|
<repository>
|
||||||
<id>spigot-repo</id>
|
<id>spigot-repo</id>
|
||||||
@ -218,13 +142,6 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<distributionManagement>
|
|
||||||
<repository>
|
|
||||||
<id>internal-maven-repo</id>
|
|
||||||
<url>file://${project.build.directory}/gh-pages/maven</url>
|
|
||||||
</repository>
|
|
||||||
</distributionManagement>
|
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<resources>
|
||||||
<resource>
|
<resource>
|
||||||
@ -233,25 +150,12 @@
|
|||||||
<filtering>true</filtering>
|
<filtering>true</filtering>
|
||||||
</resource>
|
</resource>
|
||||||
</resources>
|
</resources>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
<version>2.3</version>
|
<version>3.1.1</version>
|
||||||
<configuration>
|
|
||||||
<artifactSet>
|
|
||||||
<includes>
|
|
||||||
<include>org.bstats:*</include>
|
|
||||||
</includes>
|
|
||||||
</artifactSet>
|
|
||||||
<relocations>
|
|
||||||
<relocation>
|
|
||||||
<pattern>org.bstats</pattern>
|
|
||||||
<shadedPattern>de.epiceric.shopchest.utils</shadedPattern>
|
|
||||||
</relocation>
|
|
||||||
</relocations>
|
|
||||||
<createDependencyReducedPom>false</createDependencyReducedPom>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>package</phase>
|
<phase>package</phase>
|
||||||
@ -260,39 +164,39 @@
|
|||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
<configuration>
|
||||||
|
<createDependencyReducedPom>false</createDependencyReducedPom>
|
||||||
|
<relocations>
|
||||||
|
<relocation>
|
||||||
|
<pattern>org.bstats</pattern>
|
||||||
|
<shadedPattern>de.epiceric.shopchest.utils</shadedPattern>
|
||||||
|
</relocation>
|
||||||
|
</relocations>
|
||||||
|
</configuration>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-deploy-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
<version>2.7</version>
|
<version>3.0.1</version>
|
||||||
<configuration>
|
<executions>
|
||||||
<altDeploymentRepository>internal-maven-repo::default::file://${project.build.directory}/gh-pages/maven</altDeploymentRepository>
|
<execution>
|
||||||
<javadoc>${project.build.directory}/${project.build.finalName}-javadoc.jar</javadoc>
|
<goals>
|
||||||
</configuration>
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>com.github.github</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>site-maven-plugin</artifactId>
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
<version>0.12</version>
|
<version>3.0.1</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
<message>
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
Updated Maven Artifact
|
|
||||||
|
|
||||||
Artifact: ${project.artifactId}
|
|
||||||
Version: ${project.version}
|
|
||||||
Timestamp: ${maven.build.timestamp}
|
|
||||||
</message>
|
|
||||||
<outputDirectory>${project.build.directory}/gh-pages</outputDirectory>
|
|
||||||
<branch>refs/heads/gh-pages</branch>
|
|
||||||
<merge>true</merge>
|
|
||||||
<repositoryName>ShopChest</repositoryName>
|
|
||||||
<repositoryOwner>EpicEricEE</repositoryOwner>
|
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
<execution>
|
<execution>
|
||||||
<phase>deploy</phase>
|
|
||||||
<goals>
|
<goals>
|
||||||
<goal>site</goal>
|
<goal>jar</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
|
Loading…
Reference in New Issue
Block a user