Skip to content

Commit

Permalink
Added maven-compiler-plugin's version tag in the pom.xml to prevent
Browse files Browse the repository at this point in the history
warning during build.
  • Loading branch information
menacher committed Mar 16, 2012
1 parent dbc35d6 commit 97ed371
Showing 1 changed file with 75 additions and 74 deletions.
149 changes: 75 additions & 74 deletions pom.xml 100755 → 100644
@@ -1,74 +1,75 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>JDBM</groupId>
<artifactId>JDBM</artifactId>
<version>3.0-SNAPSHOT</version>


<developers>
<developer>
<name>Jan Kotek</name>
<id>jan</id>
</developer>
</developers>

<licenses>
<license>
<name>Apache 2</name>
</license>
</licenses>


<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<type>jar</type>
<scope>test</scope>
<optional>false</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<target>1.5</target>
<source>1.5</source>
</configuration>
</plugin>
<!-- uncomment to enable proguard (strip down jar)-->
<!--
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<configuration>
<options>
<option>-allowaccessmodification</option>
<option>-keep public class * { public *; public static *; }</option>
</options>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
<lib>${java.home}/lib/jce.jar</lib>
</libs>
</configuration>
</plugin>
-->
</plugins>
</build>

</project>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">

<modelVersion>4.0.0</modelVersion>
<groupId>JDBM</groupId>
<artifactId>JDBM</artifactId>
<version>3.0-SNAPSHOT</version>


<developers>
<developer>
<name>Jan Kotek</name>
<id>jan</id>
</developer>
</developers>

<licenses>
<license>
<name>Apache 2</name>
</license>
</licenses>


<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.8.2</version>
<type>jar</type>
<scope>test</scope>
<optional>false</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.3.2</version>
<configuration>
<target>1.5</target>
<source>1.5</source>
</configuration>
</plugin>
<!-- uncomment to enable proguard (strip down jar)-->
<!--
<plugin>
<groupId>com.pyx4me</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<configuration>
<options>
<option>-allowaccessmodification</option>
<option>-keep public class * { public *; public static *; }</option>
</options>
<libs>
<lib>${java.home}/lib/rt.jar</lib>
<lib>${java.home}/lib/jce.jar</lib>
</libs>
</configuration>
</plugin>
-->
</plugins>
</build>

</project>

0 comments on commit 97ed371

Please sign in to comment.