mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-15 07:01:36 +08:00
Fix jline with git builds under Windows (#2624)
This commit is contained in:
parent
e8c82f4eee
commit
0c64f7b0ae
@ -1,11 +1,11 @@
|
|||||||
From 566af2ba410dc0dfd23c752b3f94cc20a39fc736 Mon Sep 17 00:00:00 2001
|
From fd4dfa16d58ebc91625cd41e8ac311f32df1606a 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 0f8bccd430..04b0dd9a7f 100644
|
index 0f8bccd43..364f66bda 100644
|
||||||
--- a/pom.xml
|
--- a/pom.xml
|
||||||
+++ b/pom.xml
|
+++ b/pom.xml
|
||||||
@@ -1,15 +1,14 @@
|
@@ -1,15 +1,14 @@
|
||||||
@ -49,7 +49,7 @@ index 0f8bccd430..04b0dd9a7f 100644
|
|||||||
<version>${project.version}</version>
|
<version>${project.version}</version>
|
||||||
<scope>compile</scope>
|
<scope>compile</scope>
|
||||||
</dependency>
|
</dependency>
|
||||||
@@ -109,34 +108,22 @@
|
@@ -109,32 +108,20 @@
|
||||||
|
|
||||||
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
<!-- This builds a completely 'ready to start' jar with all dependencies inside -->
|
||||||
<build>
|
<build>
|
||||||
@ -57,14 +57,12 @@ index 0f8bccd430..04b0dd9a7f 100644
|
|||||||
+ <defaultGoal>clean install</defaultGoal> <!-- Paper -->
|
+ <defaultGoal>clean install</defaultGoal> <!-- Paper -->
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
- <groupId>net.md-5</groupId>
|
<groupId>net.md-5</groupId>
|
||||||
- <artifactId>scriptus</artifactId>
|
<artifactId>scriptus</artifactId>
|
||||||
- <version>0.2</version>
|
- <version>0.2</version>
|
||||||
+ <groupId>com.lukegb.mojo</groupId>
|
+ <version>0.3.1</version>
|
||||||
+ <artifactId>gitdescribe-maven-plugin</artifactId>
|
|
||||||
+ <version>1.3</version>
|
|
||||||
+ <configuration>
|
+ <configuration>
|
||||||
+ <outputPrefix>git-Paper-</outputPrefix>
|
+ <format>git-Paper-%s</format>
|
||||||
+ <scmDirectory>..</scmDirectory>
|
+ <scmDirectory>..</scmDirectory>
|
||||||
+ </configuration>
|
+ </configuration>
|
||||||
<executions>
|
<executions>
|
||||||
@ -76,8 +74,7 @@ index 0f8bccd430..04b0dd9a7f 100644
|
|||||||
- <descriptionProperty>spigot.desc</descriptionProperty>
|
- <descriptionProperty>spigot.desc</descriptionProperty>
|
||||||
- </configuration>
|
- </configuration>
|
||||||
- <phase>initialize</phase>
|
- <phase>initialize</phase>
|
||||||
+ <phase>compile</phase>
|
- <goals>
|
||||||
<goals>
|
|
||||||
- <goal>describe</goal>
|
- <goal>describe</goal>
|
||||||
- </goals>
|
- </goals>
|
||||||
- </execution>
|
- </execution>
|
||||||
@ -89,12 +86,10 @@ index 0f8bccd430..04b0dd9a7f 100644
|
|||||||
- <descriptionProperty>craftbukkit.desc</descriptionProperty>
|
- <descriptionProperty>craftbukkit.desc</descriptionProperty>
|
||||||
- </configuration>
|
- </configuration>
|
||||||
- <phase>initialize</phase>
|
- <phase>initialize</phase>
|
||||||
- <goals>
|
+ <phase>compile</phase>
|
||||||
- <goal>describe</goal>
|
<goals>
|
||||||
+ <goal>gitdescribe</goal>
|
<goal>describe</goal>
|
||||||
</goals>
|
</goals>
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
@@ -146,11 +133,13 @@
|
@@ -146,11 +133,13 @@
|
||||||
<artifactId>maven-jar-plugin</artifactId>
|
<artifactId>maven-jar-plugin</artifactId>
|
||||||
<version>2.4</version>
|
<version>2.4</version>
|
||||||
@ -146,7 +141,7 @@ index 0f8bccd430..04b0dd9a7f 100644
|
|||||||
<!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
|
<!-- we need our custom version as it fixes some bugs on case sensitive file systems -->
|
||||||
<dependency>
|
<dependency>
|
||||||
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
diff --git a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||||
index 93046379d0..674096cab1 100644
|
index 93046379d..674096cab 100644
|
||||||
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
--- a/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||||
+++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
+++ b/src/main/java/org/bukkit/craftbukkit/util/Versioning.java
|
||||||
@@ -11,7 +11,7 @@ public final class Versioning {
|
@@ -11,7 +11,7 @@ public final class Versioning {
|
||||||
@ -159,5 +154,5 @@ index 93046379d0..674096cab1 100644
|
|||||||
|
|
||||||
if (stream != null) {
|
if (stream != null) {
|
||||||
--
|
--
|
||||||
2.22.0
|
2.23.0
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user