|
199 | 199 | <frontend-maven-plugin.version>2.0.0</frontend-maven-plugin.version> |
200 | 200 | <node.version>v22.20.0</node.version> |
201 | 201 | <npm.version>10.9.3</npm.version> |
202 | | - <moditec.version>1.3.0.Final</moditec.version> |
203 | 202 |
|
204 | 203 | <!-- Jooby --> |
205 | 204 | <jooby.version>${project.version}</jooby.version> |
|
1314 | 1313 | </filters> |
1315 | 1314 | </configuration> |
1316 | 1315 | </plugin> |
1317 | | - <plugin> |
1318 | | - <groupId>org.moditect</groupId> |
1319 | | - <artifactId>moditect-maven-plugin</artifactId> |
1320 | | - <version>${moditec.version}</version> |
1321 | | - </plugin> |
1322 | 1316 |
|
1323 | 1317 | <!-- assembly --> |
1324 | 1318 | <plugin> |
|
1665 | 1659 | </build> |
1666 | 1660 | </profile> |
1667 | 1661 |
|
1668 | | - <profile> |
1669 | | - <id>module-info.shade</id> |
1670 | | - <activation> |
1671 | | - <file> |
1672 | | - <exists>src${file.separator}etc${file.separator}module-info.activator</exists> |
1673 | | - </file> |
1674 | | - </activation> |
1675 | | - <properties> |
1676 | | - <module-info.shade>${project.build.directory}${file.separator}module-info.shade</module-info.shade> |
1677 | | - </properties> |
1678 | | - <build> |
1679 | | - <plugins> |
1680 | | - <plugin> |
1681 | | - <groupId>org.apache.maven.plugins</groupId> |
1682 | | - <artifactId>maven-antrun-plugin</artifactId> |
1683 | | - <version>${maven-antrun-plugin.version}</version> |
1684 | | - <executions> |
1685 | | - <execution> |
1686 | | - <id>module-info.shade</id> |
1687 | | - <goals> |
1688 | | - <goal>run</goal> |
1689 | | - </goals> |
1690 | | - <phase>process-resources</phase> |
1691 | | - <configuration> |
1692 | | - <target> |
1693 | | - <property name="input" value="src${file.separator}main${file.separator}java${file.separator}module-info.java"/> |
1694 | | - <copy file="${input}" tofile="${module-info.shade}"/> |
1695 | | - <replaceregexp file="${module-info.shade}" flags="s" match="(// SHADED:).*" replace="}"/> |
1696 | | - </target> |
1697 | | - </configuration> |
1698 | | - </execution> |
1699 | | - </executions> |
1700 | | - </plugin> |
1701 | | - |
1702 | | - <plugin> |
1703 | | - <groupId>org.moditect</groupId> |
1704 | | - <artifactId>moditect-maven-plugin</artifactId> |
1705 | | - <version>${moditec.version}</version> |
1706 | | - <executions> |
1707 | | - <execution> |
1708 | | - <id>add-module-infos</id> |
1709 | | - <goals> |
1710 | | - <goal>add-module-info</goal> |
1711 | | - </goals> |
1712 | | - <phase>package</phase> |
1713 | | - <configuration> |
1714 | | - <overwriteExistingFiles>true</overwriteExistingFiles> |
1715 | | - <failOnWarning>false</failOnWarning> |
1716 | | - <module> |
1717 | | - <moduleInfoFile>${module-info.shade}</moduleInfoFile> |
1718 | | - </module> |
1719 | | - </configuration> |
1720 | | - </execution> |
1721 | | - </executions> |
1722 | | - </plugin> |
1723 | | - </plugins> |
1724 | | - </build> |
1725 | | - </profile> |
1726 | | - |
1727 | 1662 | <!-- VERSIONS --> |
1728 | 1663 | <profile> |
1729 | 1664 | <id>version</id> |
|
0 commit comments