@@ -31,22 +31,24 @@ Using Non-Javac Compilers
31
31
32
32
Contrary to this plugin's name, the Compiler Plugin does not compile the
33
33
sources of your project by itself. To compile, the Compiler Plugin uses
34
- another class to compile them. The parameter <<<compilerId>>> determines
35
- which class will be used. Currently, the Compiler Plugin is bundled with the
36
- <<<javac>>> compiler artifact with artifactId <<<plexus-compiler-javac>>>,
37
- which can be seen as one of the dependencies declared inside the Compiler
38
- Plugin's POM.
34
+ another class to compile them.
39
35
40
- {{{http://codehaus-plexus.github.io/plexus-compiler/}Plexus Compiler}} component
36
+ The parameter <<<compilerId>>> determines which class will be used.
37
+
38
+ Currently, the Compiler Plugin is bundled with the <<<javac>>> compiler
39
+ with artifactId <<<plexus-compiler-javac>>> version <<${plexusCompilerVersion}>>,
40
+ which can be seen as one of the dependencies declared inside the Compiler Plugin's POM.
41
+
42
+ {{{https://codehaus-plexus.github.io/plexus-compiler/}Plexus Compiler}} component
41
43
has some other compiler Ids available under the groupId <<<org.codehaus.plexus>>>:
42
44
43
- * <<<aspectj>>> with artifactId <<<plexus-compiler-aspectj>>>.
45
+ * <<<aspectj>>> with artifactId <<<plexus-compiler-aspectj>>> - <<requires>>: <<<JDK 17+>>> and <<<Maven 3.9.6 +>>>
44
46
45
- * <<<csharp>>> with artifactId <<<plexus-compiler-csharp>>>.
47
+ * <<<csharp>>> with artifactId <<<plexus-compiler-csharp>>> - <<requires>>: <<<JDK 8+>>>
46
48
47
- * <<<eclipse>>> with artifactId <<<plexus-compiler-eclipse>>>.
49
+ * <<<eclipse>>> with artifactId <<<plexus-compiler-eclipse>>> - <<requires>>: <<<JDK 17+>>> and <<<Maven 3.9.6 +>>>
48
50
49
- * <<<jikes >>> with artifactId <<<plexus-compiler-jikes >>>.
51
+ * <<<javac-with-errorprone >>> with artifactId <<<plexus-compiler-javac-errorprone >>> - <<requires>>: <<<JDK 11+>>>
50
52
51
53
[]
52
54
@@ -74,7 +76,7 @@ Using Non-Javac Compilers
74
76
<dependency>
75
77
<groupId>org.codehaus.plexus</groupId>
76
78
<artifactId>plexus-compiler-csharp</artifactId>
77
- <version>1.6 </version>
79
+ <version>${plexusCompilerVersion} </version>
78
80
</dependency>
79
81
</dependencies>
80
82
</plugin>
0 commit comments