This repository was archived by the owner on Jul 6, 2018. It is now read-only.
File tree 1 file changed +14
-16
lines changed
1 file changed +14
-16
lines changed Original file line number Diff line number Diff line change @@ -10,19 +10,17 @@ After successful maven installation plugin must be installed in local Maven repo
10
10
mvn install:install-file -Dfile=javac2-maven-plugin-1.0.1.jar -DgroupId=com.electriccloud -DartifactId=javac2-maven-plugin -Dversion=1.0.1 -Dpackaging=maven-plugin
11
11
12
12
Plugin can be used in your pom.xml, e.g. in plugins section:
13
- <plugin>
14
- <groupId>com.electriccloud</groupId>
15
- <artifactId>javac2-maven-plugin</artifactId>
16
- <version>1.0.1</version>
17
- <executions>
18
- <execution>
19
- <id>@NotNull Instrumentation</id>
20
- <goals>
21
- <goal>instrument</goal>
22
- </goals>
23
- <!--compile phase instead of process-classes because of proguard.
24
- @NotNull instrumentation will be done now after compilation and before proguard-->
25
- <phase>compile</phase>
26
- </execution>
27
- </executions>
28
- </plugin>
13
+ <plugin>
14
+ <groupId>com.electriccloud</groupId>
15
+ <artifactId>javac2-maven-plugin</artifactId>
16
+ <version>1.0.1</version>
17
+ <executions>
18
+ <execution>
19
+ <id>@NotNull Instrumentation</id>
20
+ <goals>
21
+ <goal>instrument</goal>
22
+ </goals>
23
+ <phase>process-classes</phase>
24
+ </execution>
25
+ </executions>
26
+ </plugin>
You can’t perform that action at this time.
0 commit comments