Move the compiler configuration to properties

This commit is contained in:
sha-2 2015-05-28 12:42:04 +02:00 committed by md_5
parent 9cf57ca929
commit 6c4e684de9
2 changed files with 7 additions and 23 deletions

View File

@ -19,6 +19,8 @@
<description>Java 1.6 loader for BungeeCord</description> <description>Java 1.6 loader for BungeeCord</description>
<properties> <properties>
<maven.compiler.source>1.6</maven.compiler.source>
<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>
</properties> </properties>
@ -40,15 +42,6 @@
<build> <build>
<finalName>BungeeCord</finalName> <finalName>BungeeCord</finalName>
<plugins> <plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin> <plugin>
<!-- Don't deploy proxy to maven repo, only APIs --> <!-- Don't deploy proxy to maven repo, only APIs -->
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>

View File

@ -18,6 +18,11 @@
<name>BungeeCord-Chat</name> <name>BungeeCord-Chat</name>
<description>Minecraft JSON chat API intended for use with BungeeCord</description> <description>Minecraft JSON chat API intended for use with BungeeCord</description>
<properties>
<maven.compiler.source>1.6</maven.compiler.source>
<maven.compiler.target>1.6</maven.compiler.target>
</properties>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>com.google.code.gson</groupId> <groupId>com.google.code.gson</groupId>
@ -26,18 +31,4 @@
<scope>compile</scope> <scope>compile</scope>
</dependency> </dependency>
</dependencies> </dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
</plugins>
</build>
</project> </project>