|
76 | 76 | <java.target>1.7</java.target> |
77 | 77 |
|
78 | 78 | <maven-plugin-api.version>3.1.1</maven-plugin-api.version> |
| 79 | + <maven-plugin-plugin.version>3.4</maven-plugin-plugin.version> |
79 | 80 |
|
80 | 81 | <jgit.version>4.1.1.201511131810-r</jgit.version> |
81 | 82 | <junit.version>4.12</junit.version> |
|
96 | 97 | <artifactId>maven-core</artifactId> |
97 | 98 | <version>${maven-plugin-api.version}</version> |
98 | 99 | </dependency> |
| 100 | + <!-- dependencies to annotations --> |
| 101 | + <dependency> |
| 102 | + <groupId>org.apache.maven.plugin-tools</groupId> |
| 103 | + <artifactId>maven-plugin-annotations</artifactId> |
| 104 | + <version>${maven-plugin-plugin.version}</version> |
| 105 | + <scope>provided</scope><!-- annotations are needed only to build the plugin --> |
| 106 | + </dependency> |
| 107 | + |
99 | 108 |
|
100 | 109 | <dependency> |
101 | 110 | <groupId>com.fasterxml.jackson.core</groupId> |
|
241 | 250 | </plugin> |
242 | 251 | <plugin> |
243 | 252 | <artifactId>maven-plugin-plugin</artifactId> |
244 | | - <version>3.4</version> |
| 253 | + <version>${maven-plugin-plugin.version}</version> |
245 | 254 | </plugin> |
246 | 255 | <plugin> |
247 | 256 | <artifactId>maven-surefire-plugin</artifactId> |
|
274 | 283 | </configuration> |
275 | 284 | </plugin> |
276 | 285 |
|
277 | | - <!--<plugin>--> |
278 | | - <!--<artifactId>maven-plugin-plugin</artifactId>--> |
279 | | - <!--<version>${maven-plugin-api.version}</version>--> |
280 | | - <!--<executions>--> |
281 | | - <!--<execution>--> |
282 | | - <!--<id>generated-helpmojo</id>--> |
283 | | - <!--<goals>--> |
284 | | - <!--<goal>helpmojo</goal>--> |
285 | | - <!--</goals>--> |
286 | | - <!--<configuration>--> |
287 | | - <!--<goalPrefix>git-commit-id</goalPrefix>--> |
288 | | - <!--<helpPackageName>pl.project13.maven</helpPackageName>--> |
289 | | - <!--</configuration>--> |
290 | | - <!--</execution>--> |
291 | | - <!--</executions>--> |
292 | | - <!--</plugin>--> |
| 286 | + <plugin> |
| 287 | + <groupId>org.apache.maven.plugins</groupId> |
| 288 | + <artifactId>maven-plugin-plugin</artifactId> |
| 289 | + <executions> |
| 290 | + <execution> |
| 291 | + <id>default-descriptor</id> |
| 292 | + <phase>process-classes</phase> |
| 293 | + </execution> |
| 294 | +<!-- |
| 295 | + <execution> |
| 296 | + <id>generated-helpmojo</id> |
| 297 | + <goals> |
| 298 | + <goal>helpmojo</goal> |
| 299 | + </goals> |
| 300 | + <configuration> |
| 301 | + <goalPrefix>git-commit-id</goalPrefix> |
| 302 | + <helpPackageName>pl.project13.maven</helpPackageName> |
| 303 | + </configuration> |
| 304 | + </execution> |
| 305 | +--> |
| 306 | + </executions> |
| 307 | + </plugin> |
293 | 308 | </plugins> |
294 | 309 | </build> |
295 | 310 |
|
|
0 commit comments