set default goals on all pom poms </cheer>

This commit is contained in:
Aikar 2016-03-18 02:13:51 -04:00
parent d6b621b533
commit 82db846be6
3 changed files with 34 additions and 11 deletions

View File

@ -1,11 +1,11 @@
From 6f357f8fcd6d70079999cfc38064ec0df97c4b99 Mon Sep 17 00:00:00 2001 From ecf0497b4369c1851972cefd26fc4ee896fd1ebb Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com> From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 17:16:08 -0600 Date: Mon, 29 Feb 2016 17:16:08 -0600
Subject: [PATCH] POM changes Subject: [PATCH] POM changes
diff --git a/pom.xml b/pom.xml diff --git a/pom.xml b/pom.xml
index dec3b6c..b85201d 100644 index 8fb67ea..d916f44 100644
--- a/pom.xml --- a/pom.xml
+++ b/pom.xml +++ b/pom.xml
@@ -4,35 +4,37 @@ @@ -4,35 +4,37 @@
@ -59,7 +59,15 @@ index dec3b6c..b85201d 100644
</snapshotRepository> </snapshotRepository>
</distributionManagement> </distributionManagement>
@@ -129,26 +131,6 @@ @@ -107,6 +109,7 @@
</dependencies>
<build>
+ <defaultGoal>clean install</defaultGoal>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
@@ -129,26 +132,6 @@
</dependencies> </dependencies>
</plugin> </plugin>
<plugin> <plugin>
@ -87,5 +95,5 @@ index dec3b6c..b85201d 100644
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version> <version>2.4.1</version>
-- --
2.7.2 2.7.3

View File

@ -1,11 +1,11 @@
From 3f12fafbace495fff95f54531ff5d52d6706b3c1 Mon Sep 17 00:00:00 2001 From 02259eec6505e02230fdf82e1f7087f57daca410 Mon Sep 17 00:00:00 2001
From: Zach Brown <zach.brown@destroystokyo.com> From: Zach Brown <zach.brown@destroystokyo.com>
Date: Mon, 29 Feb 2016 20:40:33 -0600 Date: Mon, 29 Feb 2016 20:40:33 -0600
Subject: [PATCH] POM Changes Subject: [PATCH] POM Changes
diff --git a/pom.xml b/pom.xml diff --git a/pom.xml b/pom.xml
index 953cdbc..ddbb829 100644 index 4f7cea7..7762cc9 100644
--- a/pom.xml --- a/pom.xml
+++ b/pom.xml +++ b/pom.xml
@@ -1,12 +1,12 @@ @@ -1,12 +1,12 @@
@ -54,8 +54,11 @@ index 953cdbc..ddbb829 100644
<version>${project.version}</version> <version>${project.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
@@ -95,32 +96,18 @@ @@ -93,34 +94,21 @@
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
<build> <build>
+ <defaultGoal>clean install</defaultGoal> <!-- Paper -->
<plugins> <plugins>
<plugin> <plugin>
- <groupId>net.md-5</groupId> - <groupId>net.md-5</groupId>
@ -96,7 +99,7 @@ index 953cdbc..ddbb829 100644
</goals> </goals>
</execution> </execution>
</executions> </executions>
@@ -130,11 +117,12 @@ @@ -130,11 +118,12 @@
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>
<version>2.6</version> <version>2.6</version>
<configuration> <configuration>
@ -110,7 +113,7 @@ index 953cdbc..ddbb829 100644
<Implementation-Vendor>Bukkit Team</Implementation-Vendor> <Implementation-Vendor>Bukkit Team</Implementation-Vendor>
<Specification-Title>Bukkit</Specification-Title> <Specification-Title>Bukkit</Specification-Title>
<Specification-Version>${api.version}</Specification-Version> <Specification-Version>${api.version}</Specification-Version>
@@ -164,26 +152,6 @@ @@ -164,26 +153,6 @@
</configuration> </configuration>
</plugin> </plugin>
<plugin> <plugin>
@ -137,7 +140,15 @@ index 953cdbc..ddbb829 100644
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId> <artifactId>maven-shade-plugin</artifactId>
<version>2.4.1</version> <version>2.4.1</version>
@@ -232,20 +200,6 @@ @@ -194,6 +163,7 @@
<goal>shade</goal>
</goals>
<configuration>
+ <createDependencyReducedPom>false</createDependencyReducedPom> <!-- Paper -->
<relocations>
<relocation>
<pattern>joptsimple</pattern>
@@ -232,20 +202,6 @@
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
<!-- versions after this appear to be broken --> <!-- versions after this appear to be broken -->
<version>3.1</version> <version>3.1</version>
@ -172,5 +183,5 @@ index 9304637..674096c 100644
if (stream != null) { if (stream != null) {
-- --
2.7.2 2.7.3

View File

@ -23,6 +23,10 @@
<module>Paper-API</module> <module>Paper-API</module>
</modules> </modules>
<build>
<defaultGoal>clean install</defaultGoal>
</build>
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>