This is an automated email from the ASF dual-hosted git repository. henrib pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-jexl.git
The following commit(s) were added to refs/heads/master by this push: new f38007cf JEXL-296: Add full Java module descriptor new 71c4027b Merge pull request #177 from aalmiray/JEXL-396/java-modules f38007cf is described below commit f38007cf091e49a8ec0f740a310f6412d54860d5 Author: Andres Almiray <aalmi...@gmail.com> AuthorDate: Fri Apr 28 17:08:07 2023 +0200 JEXL-296: Add full Java module descriptor Signed-off-by: Andres Almiray <aalmi...@gmail.com> --- pom.xml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/pom.xml b/pom.xml index 32354bbf..e2ce8c26 100644 --- a/pom.xml +++ b/pom.xml @@ -519,4 +519,49 @@ <name>Dmitri Blinov</name> </contributor> </contributors> + + <profiles> + <profile> + <id>java-module</id> + <activation> + <jdk>[9,)</jdk> + </activation> + <build> + <plugins> + <plugin> + <groupId>org.moditect</groupId> + <artifactId>moditect-maven-plugin</artifactId> + <version>1.0.0.RC3</version> + <executions> + <execution> + <id>add-module-infos</id> + <phase>package</phase> + <goals> + <goal>add-module-info</goal> + </goals> + <configuration> + <jvmVersion>9</jvmVersion> + <overwriteExistingFiles>true</overwriteExistingFiles> + <module> + <moduleInfo> + <name>${commons.module.name}</name> + <exports> + !org.apache.commons.jexl3.parser; + !org.apache.commons.jexl3.internal*; + *; + </exports> + <addServiceUses>true</addServiceUses> + </moduleInfo> + </module> + <jdepsExtraArgs> + <arg>--multi-release=9</arg> + </jdepsExtraArgs> + </configuration> + </execution> + </executions> + </plugin> + </plugins> + </build> + </profile> + </profiles> </project>