Skip to content

Commit 8b3721e

Browse files
axel3rdmichael-o
authored andcommitted
JDK level compilation switched to 7
Since commit ea5e38c, JDK 7 is used for compilation. Some class (Files, Path, ...) are now used and require JDK 7. This change is mainly to link a JDK 7 when Eclipse m2e is used (6 used before, so compilation problem, manual update required). This fixes #27
1 parent ef9a78f commit 8b3721e

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

pom.xml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,4 +124,19 @@ limitations under the License.
124124
</plugin>
125125
</plugins>
126126
</build>
127+
<profiles>
128+
<profile>
129+
<!-- See https://github.com/codehaus-plexus/plexus-utils/pull/27 -->
130+
<!-- m2e Eclipse plugin doesn't respect the maven-enforcer-plugin 'requireJavaVersion' parameter -->
131+
<id>eclipse-only-jdk-version</id>
132+
<activation>
133+
<property>
134+
<name>m2e.version</name>
135+
</property>
136+
</activation>
137+
<properties>
138+
<javaVersion>7</javaVersion>
139+
</properties>
140+
</profile>
141+
</profiles>
127142
</project>

0 commit comments

Comments
 (0)