Skip to content

Commit b3a2826

Browse files
Copilotedburns
andcommitted
Add Automatic-Module-Name to JAR manifest via maven-jar-plugin
Co-authored-by: edburns <75821+edburns@users.noreply.github.com>
1 parent 3fbefc8 commit b3a2826

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,18 @@
108108
<artifactId>maven-compiler-plugin</artifactId>
109109
<version>3.14.1</version>
110110
</plugin>
111+
<plugin>
112+
<groupId>org.apache.maven.plugins</groupId>
113+
<artifactId>maven-jar-plugin</artifactId>
114+
<version>3.4.2</version>
115+
<configuration>
116+
<archive>
117+
<manifestEntries>
118+
<Automatic-Module-Name>com.github.copilot.sdk.java</Automatic-Module-Name>
119+
</manifestEntries>
120+
</archive>
121+
</configuration>
122+
</plugin>
111123
<!-- Clone or update the official copilot-sdk repository for test resources, and copy image to site -->
112124
<plugin>
113125
<groupId>org.apache.maven.plugins</groupId>

0 commit comments

Comments
 (0)