diff options
author | Christian Stein <sormuras@gmail.com> | 2017-12-07 20:47:48 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-07 20:47:48 +0100 |
commit | 03f3a276b2f330c59e549e73542217c6028caed6 (patch) | |
tree | 191dbd4bde12f50a3c80e2c2fd5cde76ceeaabf3 /pom.xml | |
parent | f5b1b622d2d4141898bf850bd3cd54ee3d153aa4 (diff) | |
download | javapoet-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.xml | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -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> |