Permalink
Browse files

fix(pom): Force compilation target in pom.xml

  • Loading branch information...
1 parent add928a commit a40cee88321974bff1e8cc7af5c101d1d984702c @Marthym committed May 13, 2016
Showing with 21 additions and 1 deletion.
  1. +21 −1 pom.xml
View
@@ -1,12 +1,16 @@
<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/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
-
+
<groupId>org.jtomtom</groupId>
<artifactId>jtomtom-parent</artifactId>
<packaging>pom</packaging>
<version>1.0-SNAPSHOT</version>
+ <properties>
+ <java.version>1.5</java.version>
+ </properties>
+
<modules>
<module>jcablib</module>
<module>jtomtom</module>
@@ -52,4 +56,20 @@
</dependencies>
</dependencyManagement>
+
+ <build>
+ <pluginManagement>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <version>3.0</version>
+ <configuration>
+ <source>${java.version}</source>
+ <target>${java.version}</target>
+ </configuration>
+ </plugin>
+ </plugins>
+ </pluginManagement>
+ </build>
</project>

0 comments on commit a40cee8

Please sign in to comment.