|
55 | 55 |
|
56 | 56 | <properties> |
57 | 57 | <projectOwner>John Casey</projectOwner> |
| 58 | + <projectEmail>jdcasey@commonjava.org</projectEmail> |
58 | 59 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
59 | 60 | <version.plugin.compiler>3.1</version.plugin.compiler> |
60 | 61 | <version.plugin.plugin>3.2</version.plugin.plugin> |
|
243 | 244 | <groupId>com.mycila</groupId> |
244 | 245 | <artifactId>license-maven-plugin</artifactId> |
245 | 246 | <version>2.10</version> |
| 247 | + <configuration> |
| 248 | + <header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> |
| 249 | + <properties> |
| 250 | + <owner>${projectOwner}</owner> |
| 251 | + <email>${projectEmail}</email> |
| 252 | + </properties> |
| 253 | + <excludes> |
| 254 | + <exclude>**/README</exclude> |
| 255 | + <exclude>src/test/resources/**</exclude> |
| 256 | + <exclude>src/main/resources/**</exclude> |
| 257 | + </excludes> |
| 258 | + </configuration> |
246 | 259 | </plugin> |
247 | 260 |
|
248 | 261 | <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> |
|
287 | 300 | <plugin> |
288 | 301 | <groupId>com.mycila</groupId> |
289 | 302 | <artifactId>license-maven-plugin</artifactId> |
290 | | - <configuration> |
291 | | - <header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header> |
292 | | - <properties> |
293 | | - <owner>${projectOwner}</owner> |
294 | | - <email>jdcasey@commonjava.org</email> |
295 | | - </properties> |
296 | | - <excludes> |
297 | | - <exclude>**/README</exclude> |
298 | | - <exclude>src/test/resources/**</exclude> |
299 | | - <exclude>src/main/resources/**</exclude> |
300 | | - </excludes> |
301 | | - </configuration> |
302 | 303 | <executions> |
303 | 304 | <execution> |
304 | 305 | <phase>process-sources</phase> |
|
315 | 316 | <id>release</id> |
316 | 317 | <build> |
317 | 318 | <plugins> |
| 319 | + <plugin> |
| 320 | + <groupId>com.mycila</groupId> |
| 321 | + <artifactId>license-maven-plugin</artifactId> |
| 322 | + <executions> |
| 323 | + <execution> |
| 324 | + <phase>process-resources</phase> |
| 325 | + <goals> |
| 326 | + <goal>check</goal> |
| 327 | + </goals> |
| 328 | + </execution> |
| 329 | + </executions> |
| 330 | + </plugin> |
318 | 331 | <plugin> |
319 | 332 | <groupId>org.apache.maven.plugins</groupId> |
320 | 333 | <artifactId>maven-source-plugin</artifactId> |
|
0 commit comments