diff options
-rw-r--r-- | org.jacoco.agent.rt/pom.xml | 1 | ||||
-rw-r--r-- | org.jacoco.build/pom.xml | 1 | ||||
-rw-r--r-- | org.jacoco.doc/docroot/doc/changes.html | 2 |
3 files changed, 4 insertions, 0 deletions
diff --git a/org.jacoco.agent.rt/pom.xml b/org.jacoco.agent.rt/pom.xml index e978544c..3957a57a 100644 --- a/org.jacoco.agent.rt/pom.xml +++ b/org.jacoco.agent.rt/pom.xml @@ -72,6 +72,7 @@ <transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer"> <manifestEntries> <Premain-Class>${jacoco.runtime.package.name}.PreMain</Premain-Class> + <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name> <Implementation-Title>${project.description}</Implementation-Title> <Implementation-Vendor>${project.organization.name}</Implementation-Vendor> <Implementation-Version>${project.version}</Implementation-Version> diff --git a/org.jacoco.build/pom.xml b/org.jacoco.build/pom.xml index e8005fcd..968f2081 100644 --- a/org.jacoco.build/pom.xml +++ b/org.jacoco.build/pom.xml @@ -636,6 +636,7 @@ <artifactId>maven-bundle-plugin</artifactId> <configuration> <instructions> + <Automatic-Module-Name>${project.artifactId}</Automatic-Module-Name> <Bundle-Version>${qualified.bundle.version}</Bundle-Version> <Bundle-Name>${project.description}</Bundle-Name> <Export-Package> diff --git a/org.jacoco.doc/docroot/doc/changes.html b/org.jacoco.doc/docroot/doc/changes.html index dcebea1f..40f57879 100644 --- a/org.jacoco.doc/docroot/doc/changes.html +++ b/org.jacoco.doc/docroot/doc/changes.html @@ -43,6 +43,8 @@ (GitHub <a href="https://github.com/jacoco/jacoco/issues/498">#498</a>).</li> <li>JaCoCo now comes with a simple command line interface (GitHub <a href="https://github.com/jacoco/jacoco/issues/525">#525</a>).</li> + <li>Manifests of JAR files now have <code>Automatic-Module-Name</code> for Java 9 + (GitHub <a href="https://github.com/jacoco/jacoco/issues/565">#565</a>).</li> </ul> <h3>Fixed Bugs</h3> |