maven is yes

This commit is contained in:
YouHaveTrouble
2021-07-05 05:20:34 +02:00
parent bec049570d
commit 4a8902ad21
5 changed files with 42 additions and 63 deletions
+10 -7
View File
@@ -3,13 +3,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eu.endermite.bukkit</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelistBukkit</artifactId> <artifactId>CommandWhitelist</artifactId>
<version>2.0</version> <version>2.0</version>
<packaging>jar</packaging> </parent>
<name>CommandWhitelistBukkit</name> <artifactId>Bukkit</artifactId>
<packaging>jar</packaging>
<name>CommandWhitelist</name>
<description>You decide what commands players can use or tab complete on your server!</description> <description>You decide what commands players can use or tab complete on your server!</description>
<properties> <properties>
@@ -40,6 +42,7 @@
<goal>shade</goal> <goal>shade</goal>
</goals> </goals>
<configuration> <configuration>
<finalName>${name}-${artifactId}-${project.parent.version}</finalName>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<relocations> <relocations>
<relocation> <relocation>
@@ -85,9 +88,9 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>eu.endermite</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>Common</artifactId> <artifactId>Common</artifactId>
<version>2.0</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
+12 -2
View File
@@ -2,14 +2,23 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId> <artifactId>CommandWhitelist</artifactId>
<groupId>eu.endermite</groupId>
<version>2.0</version> <version>2.0</version>
</parent> </parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>Common</artifactId> <artifactId>Common</artifactId>
<packaging>jar</packaging>
<name>CommandWhitelist</name>
<description>You decide what commands players can use or tab complete on your server!</description>
<properties>
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<url>youhavetrouble.me</url>
<build> <build>
<plugins> <plugins>
@@ -34,6 +43,7 @@
</goals> </goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<finalName>${name}-${artifactId}-${project.parent.version}</finalName>
</configuration> </configuration>
</execution> </execution>
</executions> </executions>
+8 -5
View File
@@ -3,13 +3,15 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eu.endermite.commandwhitelist</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelistVelocity</artifactId> <artifactId>CommandWhitelist</artifactId>
<version>2.0</version> <version>2.0</version>
<packaging>jar</packaging> </parent>
<name>CommandWhitelistVelocity</name> <artifactId>Velocity</artifactId>
<packaging>jar</packaging>
<name>CommandWhitelist</name>
<description>You decide what commands players can use or tab complete on your server!</description> <description>You decide what commands players can use or tab complete on your server!</description>
<properties> <properties>
@@ -41,6 +43,7 @@
</goals> </goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<finalName>${name}-${artifactId}-${project.parent.version}</finalName>
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.bstats</pattern> <pattern>org.bstats</pattern>
@@ -83,7 +86,7 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>eu.endermite</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>Common</artifactId> <artifactId>Common</artifactId>
<version>2.0</version> <version>2.0</version>
<scope>compile</scope> <scope>compile</scope>
+9 -6
View File
@@ -3,12 +3,14 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent>
<groupId>eu.endermite.commandwhitelist</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelistWaterfall</artifactId> <artifactId>CommandWhitelist</artifactId>
<version>2.0</version> <version>2.0</version>
<packaging>jar</packaging> </parent>
<artifactId>Waterfall</artifactId>
<packaging>jar</packaging>
<name>CommandWhitelist</name> <name>CommandWhitelist</name>
<description>You decide what commands players can use or tab complete on your server!</description> <description>You decide what commands players can use or tab complete on your server!</description>
@@ -16,9 +18,9 @@
<java.version>1.8</java.version> <java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<url>youhavetrouble.me</url>
<build> <build>
<defaultGoal>clean package</defaultGoal>
<plugins> <plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
@@ -41,6 +43,7 @@
</goals> </goals>
<configuration> <configuration>
<createDependencyReducedPom>false</createDependencyReducedPom> <createDependencyReducedPom>false</createDependencyReducedPom>
<finalName>${name}-${artifactId}-${project.parent.version}</finalName>
<relocations> <relocations>
<relocation> <relocation>
<pattern>org.bstats</pattern> <pattern>org.bstats</pattern>
@@ -83,9 +86,9 @@
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
<dependency> <dependency>
<groupId>eu.endermite</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>Common</artifactId> <artifactId>Common</artifactId>
<version>2.0</version> <version>${parent.version}</version>
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
<dependency> <dependency>
+1 -41
View File
@@ -4,7 +4,7 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<groupId>eu.endermite</groupId> <groupId>eu.endermite.commandwhitelist</groupId>
<artifactId>CommandWhitelist</artifactId> <artifactId>CommandWhitelist</artifactId>
<version>2.0</version> <version>2.0</version>
<modules> <modules>
@@ -23,51 +23,11 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties> </properties>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.4</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createDependencyReducedPom>false</createDependencyReducedPom>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
</build>
<repositories> <repositories>
<repository> <repository>
<id>sonatype</id> <id>sonatype</id>
<url>https://oss.sonatype.org/content/groups/public/</url> <url>https://oss.sonatype.org/content/groups/public/</url>
</repository> </repository>
<repository>
<id>minecraft-repo</id>
<url>https://libraries.minecraft.net/</url>
</repository>
</repositories> </repositories>
<dependencies> <dependencies>