aboutsummaryrefslogtreecommitdiff
path: root/pom.xml
diff options
context:
space:
mode:
authorChristian Stein <sormuras@gmail.com>2017-12-07 20:47:48 +0100
committerGitHub <noreply@github.com>2017-12-07 20:47:48 +0100
commit03f3a276b2f330c59e549e73542217c6028caed6 (patch)
tree191dbd4bde12f50a3c80e2c2fd5cde76ceeaabf3 /pom.xml
parentf5b1b622d2d4141898bf850bd3cd54ee3d153aa4 (diff)
downloadjavapoet-03f3a276b2f330c59e549e73542217c6028caed6.tar.gz
Set com.squareup.javapoet as automatic module name
Claim`com.squareup.javapoet` as Automatic-Module-Name in the JAR MANIFEST. See http://branchandbound.net/blog/java/2017/12/automatic-module-name/ for details and background. Closes #589
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml13
1 files changed, 13 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index e853740..675d189 100644
--- a/pom.xml
+++ b/pom.xml
@@ -140,6 +140,19 @@
</execution>
</executions>
</plugin>
+
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <manifestEntries>
+ <Automatic-Module-Name>com.squareup.javapoet</Automatic-Module-Name>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+
</plugins>
</build>
</project>