Skip to content

Commit 51ea640

Browse files
author
Brix
committed
Old maven compiler plugin prohibited build with automatic module
1 parent f7b251a commit 51ea640

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.classpath

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-17">
44
<attributes>
55
<attribute name="maven.pomderived" value="true"/>
6-
<attribute name="module" value="true"/>
76
</attributes>
87
</classpathentry>
98
<classpathentry kind="src" output="target/classes" path="src/main/java">
@@ -28,7 +27,6 @@
2827
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
2928
<attributes>
3029
<attribute name="maven.pomderived" value="true"/>
31-
<attribute name="module" value="true"/>
3230
</attributes>
3331
</classpathentry>
3432
<classpathentry kind="output" path="target/classes"/>

pom.xml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
<project xmlns="http://maven.apache.org/POM/4.0.0"
2-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3-
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
1+
<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">
42
<modelVersion>4.0.0</modelVersion>
53
<groupId>jankovicsandras.imagetracer</groupId>
64
<artifactId>ImageTracer</artifactId>
@@ -60,6 +58,11 @@
6058
</execution>
6159
</executions>
6260
</plugin>
61+
<plugin>
62+
<groupId>org.apache.maven.plugins</groupId>
63+
<artifactId>maven-compiler-plugin</artifactId>
64+
<version>3.10.1</version>
65+
</plugin>
6366
<!-- Executable jar -->
6467
<plugin>
6568
<groupId>org.apache.maven.plugins</groupId>
@@ -75,4 +78,4 @@
7578
</plugin>
7679
</plugins>
7780
</build>
78-
</project>
81+
</project>

0 commit comments

Comments
 (0)