Skip to content

Commit 99c341e

Browse files
authored
Merge pull request #191 from copilot-community-sdk/copilot/add-automatic-module-name
Set Automatic-Module-Name: com.github.copilot.sdk.java in JAR manifest
2 parents 4fff65f + b3a2826 commit 99c341e

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)