Skip to content

Commit d5995f9

Browse files
authored
add module-info to jca (Azure#21426)
1 parent 1530efe commit d5995f9

File tree

3 files changed

+29
-0
lines changed

3 files changed

+29
-0
lines changed

eng/versioning/external_dependencies.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -263,6 +263,7 @@ org.jacoco:org.jacoco.agent;0.8.5
263263
org.mockito:mockito-core;3.6.28
264264
org.revapi:revapi-java;0.20.0
265265
org.revapi:revapi-maven-plugin;0.11.2
266+
org.moditect:moditect-maven-plugin;1.0.0.RC1
266267

267268
# External Dependency Exceptions
268269
# This section is for external dependencies whose versions were different than

sdk/keyvault/azure-security-keyvault-jca/pom.xml

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,28 @@
7373
</execution>
7474
</executions>
7575
</plugin>
76+
<plugin>
77+
<groupId>org.moditect</groupId>
78+
<artifactId>moditect-maven-plugin</artifactId>
79+
<version>1.0.0.RC1</version> <!-- {x-version-update;org.moditect:moditect-maven-plugin;external_dependency} -->
80+
<executions>
81+
<execution>
82+
<id>add-module-infos</id>
83+
<phase>package</phase>
84+
<goals>
85+
<goal>add-module-info</goal>
86+
</goals>
87+
<configuration>
88+
<overwriteExistingFiles>true</overwriteExistingFiles>
89+
<module>
90+
<moduleInfoFile>
91+
src/main/module-info.java
92+
</moduleInfoFile>
93+
</module>
94+
</configuration>
95+
</execution>
96+
</executions>
97+
</plugin>
7698
<plugin>
7799
<groupId>org.apache.maven.plugins</groupId>
78100
<artifactId>maven-surefire-plugin</artifactId>
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module azure.security.keyvault.jca {
2+
requires java.logging;
3+
4+
exports com.azure.security.keyvault.jca;
5+
exports com.azure.security.keyvault.jca.model;
6+
}

0 commit comments

Comments
 (0)