Rename generated repo, and only deploy API, not server.
This commit is contained in:
parent
6a61d27c10
commit
3c54fa95be
|
@ -1,14 +1,14 @@
|
||||||
From e0f7016338cf6506d7415d8373c425e0de92252c Mon Sep 17 00:00:00 2001
|
From 6657d4637da53ca67b7cf5fac814381313b7e869 Mon Sep 17 00:00:00 2001
|
||||||
From: md_5 <md_5@live.com.au>
|
From: md_5 <md_5@live.com.au>
|
||||||
Date: Sun, 3 Feb 2013 09:44:24 +1100
|
Date: Sun, 3 Feb 2013 09:44:24 +1100
|
||||||
Subject: [PATCH] POM Changes.
|
Subject: [PATCH] POM Changes.
|
||||||
|
|
||||||
---
|
---
|
||||||
pom.xml | 55 +++++++++++++++++++++----------------------------------
|
pom.xml | 69 ++++++++++++++++++++++++++++++-----------------------------------
|
||||||
1 file changed, 21 insertions(+), 34 deletions(-)
|
1 file changed, 32 insertions(+), 37 deletions(-)
|
||||||
|
|
||||||
diff --git a/pom.xml b/pom.xml
|
diff --git a/pom.xml b/pom.xml
|
||||||
index d697ca1..f17bd19 100644
|
index d697ca1..a92e73d 100644
|
||||||
--- a/pom.xml
|
--- a/pom.xml
|
||||||
+++ b/pom.xml
|
+++ b/pom.xml
|
||||||
@@ -1,12 +1,20 @@
|
@@ -1,12 +1,20 @@
|
||||||
|
@ -82,7 +82,7 @@ index d697ca1..f17bd19 100644
|
||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<type>jar</type>
|
<type>jar</type>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
@@ -145,6 +127,11 @@
|
@@ -145,18 +127,31 @@
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
<scope>test</scope>
|
<scope>test</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
@ -94,7 +94,22 @@ index d697ca1..f17bd19 100644
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
||||||
@@ -156,7 +143,7 @@
|
<build>
|
||||||
|
- <defaultGoal>clean install</defaultGoal>
|
||||||
|
- <plugins>
|
||||||
|
- <plugin>
|
||||||
|
+ <defaultGoal>install</defaultGoal>
|
||||||
|
+ <plugins>
|
||||||
|
+ <plugin>
|
||||||
|
+ <!-- Don't deploy server to maven repo, only API -->
|
||||||
|
+ <groupId>org.apache.maven.plugins</groupId>
|
||||||
|
+ <artifactId>maven-deploy-plugin</artifactId>
|
||||||
|
+ <configuration>
|
||||||
|
+ <skip>true</skip>
|
||||||
|
+ </configuration>
|
||||||
|
+ </plugin>
|
||||||
|
+ <plugin>
|
||||||
|
<groupId>com.lukegb.mojo</groupId>
|
||||||
<artifactId>gitdescribe-maven-plugin</artifactId>
|
<artifactId>gitdescribe-maven-plugin</artifactId>
|
||||||
<version>1.3</version>
|
<version>1.3</version>
|
||||||
<configuration>
|
<configuration>
|
||||||
|
@ -103,7 +118,7 @@ index d697ca1..f17bd19 100644
|
||||||
<outputPostfix></outputPostfix>
|
<outputPostfix></outputPostfix>
|
||||||
</configuration>
|
</configuration>
|
||||||
<executions>
|
<executions>
|
||||||
@@ -210,7 +197,7 @@
|
@@ -210,7 +205,7 @@
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-shade-plugin</artifactId>
|
<artifactId>maven-shade-plugin</artifactId>
|
||||||
|
|
|
@ -32,4 +32,4 @@ function applyPatch {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
applyPatch Bukkit Spigot-API && applyPatch CraftBukkit Spigot
|
applyPatch Bukkit Spigot-API && applyPatch CraftBukkit Spigot-Server
|
||||||
|
|
2
pom.xml
2
pom.xml
|
@ -13,7 +13,7 @@
|
||||||
<url>https://github.com/EcoCityCraft/Spigot</url>
|
<url>https://github.com/EcoCityCraft/Spigot</url>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>Spigot</module>
|
<module>Spigot-Server</module>
|
||||||
<module>Spigot-API</module>
|
<module>Spigot-API</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|
|
@ -32,4 +32,4 @@ function savePatches {
|
||||||
}
|
}
|
||||||
|
|
||||||
savePatches Bukkit Spigot-API
|
savePatches Bukkit Spigot-API
|
||||||
savePatches CraftBukkit Spigot
|
savePatches CraftBukkit Spigot-Server
|
||||||
|
|
Loading…
Reference in New Issue