Skip to content

Commit f875ee7

Browse files
committed
Fixed maven central deploy
Probably something changed on their end and it doesn't accept modules with no license, authors etc.
1 parent 9a7e2ad commit f875ee7

File tree

31 files changed

+177
-121
lines changed

31 files changed

+177
-121
lines changed

FastNbt-core/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>FastNbt-core</artifactId>
13+
<name>${project.artifactId}</name>
1314
<packaging>jar</packaging>
1415

1516
<dependencies>

FastNbt-jar/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
<modelVersion>4.0.0</modelVersion>
1111

1212
<artifactId>FastNbt-jar</artifactId>
13+
<name>${project.artifactId}</name>
1314
<packaging>jar</packaging>
1415

1516
<build>

README.md

Lines changed: 14 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -173,8 +173,8 @@ This is the only solution I found to avoid this issue, in the future I might com
173173

174174
# LoneDev's Notes
175175

176-
## How to publish to the maven repository
177-
`mvn deploy`
176+
## How to deploy to maven central
177+
`mvn deploy -DskipNexusStaging=true -PpublishToMavenCentral`
178178

179179
## How to install locally
180180
`mvn install`
@@ -192,3 +192,15 @@ In order to update Javadocs you have to build locally, as old NMS jars are not a
192192
- Run the command `mvn clean install javadoc:javadoc -pl FastNbt-core -am`
193193
- Get the generated javadocs from `.cache/targets/FastNbt-core/target/reports/apidocs/`
194194
- Push the contents into the `javadoc` branch
195+
196+
## Installing Paper NMS manually
197+
`mvn install:install-file -Dfile=C:/Progetti/Minecraft/Spigot/_jars/spigot/paper/paper-1.21.6.jar -DgroupId=io.papermc.paper -DartifactId=paper -Dversion=1.21.6 -Dpackaging=jar`
198+
199+
```xml
200+
<dependency>
201+
<groupId>io.papermc.paper</groupId>
202+
<artifactId>paper</artifactId>
203+
<version>1.21.6</version>
204+
<scope>provided</scope>
205+
</dependency>
206+
```

fastnbt_nms_v1_17_R1/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_17_R1</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_18_R2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_18_R2</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_19_R1/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_19_R1</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_19_R2/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_19_R2</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_19_R3/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_19_R3</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_20_4/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_20_4</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

fastnbt_nms_v1_20_6/pom.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66

77
<artifactId>fastnbt_nms_v1_20_6</artifactId>
8+
<name>${project.artifactId}</name>
89
<packaging>jar</packaging>
910

1011
<parent>

0 commit comments

Comments
 (0)