Skip to content

Commit

Permalink
fixing minor issues related to pom
Browse files Browse the repository at this point in the history
  • Loading branch information
AlbeMiglio committed Jul 13, 2024
1 parent 983c26e commit 02c47d1
Show file tree
Hide file tree
Showing 17 changed files with 34 additions and 25 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Development builds are always available at: **https://ci.codemc.io/job/AlbeMigli
<dependency>
<groupId>it.mycraft</groupId>
<artifactId>powerlib-<YOUR-PLATFORM></artifactId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
</dependencies>
Expand Down Expand Up @@ -61,7 +61,7 @@ repositories {
}
dependencies {
compileOnly 'it.mycraft:powerlib-<YOUR-PLATFORM>:1.2.14-SNAPSHOT'
compileOnly 'it.mycraft:powerlib-<YOUR-PLATFORM>:1.2.15-SNAPSHOT'
}
```

Expand All @@ -82,7 +82,7 @@ your plugin and rename its packages:
<dependency>
<groupId>it.mycraft</groupId>
<artifactId>powerlib-<YOUR-PLATFORM></artifactId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion all/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>powerlib</artifactId>
<groupId>it.mycraft</groupId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bukkit-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>it.mycraft</groupId>
<artifactId>powerlib</artifactId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<packaging>jar</packaging>
Expand Down
2 changes: 1 addition & 1 deletion bukkit-plugin/src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
# PowerLib v1.2.14-SNAPSHOT
# PowerLib v1.2.15-SNAPSHOT
#
check-for-updates: true
2 changes: 1 addition & 1 deletion bukkit-plugin/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: PowerLib
authors: [AlbeMiglio, FranFrau]
main: it.mycraft.powerlib.bukkit.PowerLibPlugin
version: 1.2.14-SNAPSHOT
version: 1.2.15-SNAPSHOT
2 changes: 1 addition & 1 deletion bukkit/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>it.mycraft</groupId>
<artifactId>powerlib</artifactId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ public ItemBuilder setMaterial(Material material) {
* @return The ItemBuilder
*/
public ItemBuilder setMaterial(String material) {
if (!material.startsWith("itemsadder:")) {
if (material.length() > 11 && !material.startsWith("itemsadder:")) {
Optional<Material> optMaterial = Enums.getIfPresent(Material.class, material).toJavaUtil();
if (optMaterial.isPresent())
this.material = optMaterial.get().toString();
Expand Down
2 changes: 1 addition & 1 deletion bungee-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>powerlib</artifactId>
<groupId>it.mycraft</groupId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion bungee-plugin/src/main/resources/bungee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@ name: PowerLib
author: AlbeMiglio
authors: [AlbeMiglio, FranFrau]
main: it.mycraft.powerlib.bungee.PowerLibPlugin
version: 1.2.14-SNAPSHOT
version: 1.2.15-SNAPSHOT
2 changes: 1 addition & 1 deletion bungee-plugin/src/main/resources/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#
# PowerLib v1.2.14-SNAPSHOT
# PowerLib v1.2.15-SNAPSHOT
#
check-for-updates: true
2 changes: 1 addition & 1 deletion bungee/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>powerlib</artifactId>
<groupId>it.mycraft</groupId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
2 changes: 1 addition & 1 deletion common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<artifactId>powerlib</artifactId>
<groupId>it.mycraft</groupId>
<version>1.2.14-SNAPSHOT</version>
<version>1.2.15-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

Expand Down
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<groupId>it.mycraft</groupId>
<artifactId>powerlib</artifactId>
<packaging>pom</packaging>
<version>${revision}</version>
<version>1.2.15-SNAPSHOT</version>
<licenses>
<license>
<name>MIT License</name>
Expand Down Expand Up @@ -38,7 +38,7 @@
</distributionManagement>

<properties>
<revision>1.2.14-SNAPSHOT</revision>
<revision>${version}</revision>
<java.version>9</java.version>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
Expand Down
16 changes: 13 additions & 3 deletions velocity-plugin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,12 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://www.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>powerlib</artifactId>
<version>${revision}</version>
<version>1.2.15-SNAPSHOT</version>
<groupId>it.mycraft</groupId>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>powerlib-velocity-plugin</artifactId>
<version>${revision}</version>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -36,7 +35,7 @@
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.22</version>
<version>1.18.28</version>
</path>
</annotationProcessorPaths>
</configuration>
Expand Down Expand Up @@ -118,6 +117,17 @@
<version>3.0.2</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.mariadb.jdbc</groupId>
<artifactId>mariadb-java-client</artifactId>
<version>3.1.0</version>
<exclusions>
<exclusion>
<groupId>com.github.waffle</groupId>
<artifactId>waffle-jna</artifactId>
</exclusion>
</exclusions>
</dependency>
</dependencies>

</project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
import java.nio.file.Path;

@Getter
@Plugin(id = "powerlib", name = "PowerLib", version = "1.2.14-SNAPSHOT", authors = {"AlbeMiglio", "FranFrau"})
@Plugin(id = "powerlib", name = "PowerLib", version = "1.2.15-SNAPSHOT", authors = {"AlbeMiglio", "FranFrau"})
public class PowerLibPlugin {

private ProxyServer proxy;
Expand Down
2 changes: 1 addition & 1 deletion velocity-plugin/src/main/resources/velocity-plugin.json
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
{"id":"powerlib","name":"PowerLib","version":"1.2.14-SNAPSHOT","authors":["AlbeMiglio","FranFrau"],
{"id":"powerlib","name":"PowerLib","version":"1.2.15-SNAPSHOT","authors":["AlbeMiglio","FranFrau"],
"dependencies":[],"main":"it.mycraft.powerlib.velocity.PowerLibPlugin"}
7 changes: 3 additions & 4 deletions velocity/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,10 @@

<parent>
<artifactId>powerlib</artifactId>
<version>${revision}</version>
<version>1.2.15-SNAPSHOT</version>
<groupId>it.mycraft</groupId>
</parent>
<artifactId>powerlib-velocity</artifactId>
<version>${revision}</version>

<properties>
<maven.compiler.source>${java.version}</maven.compiler.source>
Expand All @@ -29,7 +28,7 @@
<dependency>
<groupId>it.mycraft</groupId>
<artifactId>powerlib-common</artifactId>
<version>${project.version}</version>
<version>1.2.15-SNAPSHOT</version>
<exclusions>
<exclusion>
<groupId>net.kyori</groupId>
Expand All @@ -41,7 +40,7 @@
<dependency>
<groupId>com.velocitypowered</groupId>
<artifactId>velocity-api</artifactId>
<version>3.2.0-SNAPSHOT</version>
<version>3.3.0-SNAPSHOT</version>
<scope>provided</scope>
</dependency>
<dependency>
Expand Down

0 comments on commit 02c47d1

Please sign in to comment.