Use property to skip deploy to eliminate warnings, update lombok

This commit is contained in:
md_5 2017-06-21 19:45:03 +10:00
parent 73a81ff243
commit 6958943123
4 changed files with 7 additions and 29 deletions

View File

@ -19,6 +19,7 @@
<description>Java 1.6 loader for BungeeCord</description> <description>Java 1.6 loader for BungeeCord</description>
<properties> <properties>
<maven.deploy.skip>true</maven.deploy.skip>
<maven.compiler.source>1.6</maven.compiler.source> <maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target> <maven.compiler.target>1.6</maven.compiler.target>
<maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format> <maven.build.timestamp.format>yyyyMMdd</maven.build.timestamp.format>
@ -42,14 +43,6 @@
<build> <build>
<finalName>BungeeCord</finalName> <finalName>BungeeCord</finalName>
<plugins> <plugins>
<plugin>
<!-- Don't deploy proxy to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId> <artifactId>maven-jar-plugin</artifactId>

View File

@ -29,6 +29,7 @@
<properties> <properties>
<module.author>SpigotMC</module.author> <module.author>SpigotMC</module.author>
<maven.deploy.skip>true</maven.deploy.skip>
</properties> </properties>
<dependencies> <dependencies>
@ -48,15 +49,5 @@
<directory>${basedir}/src/main/resources</directory> <directory>${basedir}/src/main/resources</directory>
</resource> </resource>
</resources> </resources>
<plugins>
<plugin>
<!-- Don't deploy modules to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build> </build>
</project> </project>

View File

@ -94,7 +94,7 @@
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId> <artifactId>lombok</artifactId>
<version>1.16.12</version> <version>1.16.16</version>
<scope>provided</scope> <scope>provided</scope>
</dependency> </dependency>
</dependencies> </dependencies>

View File

@ -18,6 +18,10 @@
<name>BungeeCord-Proxy</name> <name>BungeeCord-Proxy</name>
<description>Proxy component of the Elastic Portal Suite</description> <description>Proxy component of the Elastic Portal Suite</description>
<properties>
<maven.deploy.skip>true</maven.deploy.skip>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.flowpowered</groupId> <groupId>com.flowpowered</groupId>
@ -89,15 +93,5 @@
<filtering>true</filtering> <filtering>true</filtering>
</resource> </resource>
</resources> </resources>
<plugins>
<plugin>
<!-- Don't deploy proxy to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build> </build>
</project> </project>