Skip to content

Commit b2943eb

Browse files
committed
Add module-info to maven build
1 parent 60662e2 commit b2943eb

1 file changed

Lines changed: 25 additions & 0 deletions

File tree

pom.xml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,31 @@
159159
<autoReleaseAfterClose>false</autoReleaseAfterClose>
160160
</configuration>
161161
</plugin>
162+
<plugin>
163+
<groupId>org.moditect</groupId>
164+
<artifactId>moditect-maven-plugin</artifactId>
165+
<version>1.0.0.Final</version>
166+
<executions>
167+
<execution>
168+
<id>add-module-infos</id>
169+
<phase>package</phase>
170+
<goals>
171+
<goal>add-module-info</goal>
172+
</goals>
173+
<configuration>
174+
<jvmVersion>9</jvmVersion>
175+
<module>
176+
<moduleInfo>
177+
<name>org.json</name>
178+
<exports>
179+
org.json;
180+
</exports>
181+
</moduleInfo>
182+
</module>
183+
</configuration>
184+
</execution>
185+
</executions>
186+
</plugin>
162187
<plugin>
163188
<groupId>org.apache.maven.plugins</groupId>
164189
<artifactId>maven-jar-plugin</artifactId>

0 commit comments

Comments
 (0)