@@ -235,6 +235,10 @@ file comparators, endian transformation classes, and much more.
235235 <contributor >
236236 <name >Frank W. Zammetti</name >
237237 </contributor >
238+ <contributor >
239+ <name >Martin Grigorov</name >
240+ <email >mgrigorov@apache.org</email >
241+ </contributor >
238242 </contributors >
239243
240244 <dependencyManagement >
@@ -342,6 +346,8 @@ file comparators, endian transformation classes, and much more.
342346 <commons .release.isDistModule>true</commons .release.isDistModule>
343347 <commons .releaseManagerName>Gary Gregory</commons .releaseManagerName>
344348 <commons .releaseManagerKey>86fdc7e2a11262cb</commons .releaseManagerKey>
349+ <moditect-maven-plugin .version>1.0.0.RC1</moditect-maven-plugin .version>
350+ <moditect .skip>true</moditect .skip>
345351 </properties >
346352
347353 <build >
@@ -483,6 +489,30 @@ file comparators, endian transformation classes, and much more.
483489 <groupId >com.github.siom79.japicmp</groupId >
484490 <artifactId >japicmp-maven-plugin</artifactId >
485491 </plugin >
492+ <plugin >
493+ <groupId >org.moditect</groupId >
494+ <artifactId >moditect-maven-plugin</artifactId >
495+ <version >${moditect-maven-plugin.version} </version >
496+ <executions >
497+ <execution >
498+ <id >add-module-infos</id >
499+ <phase >package</phase >
500+ <goals >
501+ <goal >add-module-info</goal >
502+ </goals >
503+ <configuration >
504+ <jvmVersion >9</jvmVersion >
505+ <outputDirectory >${project.build.directory} </outputDirectory >
506+ <overwriteExistingFiles >true</overwriteExistingFiles >
507+ <module >
508+ <moduleInfo >
509+ <name >commons.io</name >
510+ </moduleInfo >
511+ </module >
512+ </configuration >
513+ </execution >
514+ </executions >
515+ </plugin >
486516 </plugins >
487517 </build >
488518
@@ -600,5 +630,13 @@ file comparators, endian transformation classes, and much more.
600630 </plugins >
601631 </build >
602632 </profile >
633+ <profile >
634+ <id >release</id >
635+ <properties >
636+ <!-- Enable Moditect for releases. This requires JDK 9+ for the build -->
637+ <moditect .skip>false</moditect .skip>
638+ <maven .compiler.release>8</maven .compiler.release>
639+ </properties >
640+ </profile >
603641 </profiles >
604642</project >
0 commit comments