[java-idp-plugin-scripting] branch main updated: GEN-266 - Seal as many jars as practical via Maven manifest customization
Phil Smart
philip.smart at jisc.ac.uk
Tue Apr 27 13:20:48 UTC 2021
This is an automated email from the git hooks/post-receive script.
philsmart pushed a commit to branch main
in repository java-idp-plugin-scripting.
View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-scripting.git;a=commit;h=525f88534143433116cd505220d401ed16d2cbc1
The following commit(s) were added to refs/heads/main by this push:
new 525f885 GEN-266 - Seal as many jars as practical via Maven manifest customization
525f885 is described below
commit 525f88534143433116cd505220d401ed16d2cbc1
Author: Phil Smart <philip.smart at jisc.ac.uk>
AuthorDate: Tue Apr 27 14:20:46 2021 +0100
GEN-266 - Seal as many jars as practical via Maven manifest
customization
- Seal all jars
- Move some common manifest settings to the parent
https://issues.shibboleth.net/jira/browse/GEN-266
---
nashorn-impl/pom.xml | 3 ---
pom.xml | 18 ++++++++++++++++++
rhino-impl/pom.xml | 4 ----
scripting-api/pom.xml | 18 +-----------------
4 files changed, 19 insertions(+), 24 deletions(-)
diff --git a/nashorn-impl/pom.xml b/nashorn-impl/pom.xml
index fecfed7..ad47bc9 100644
--- a/nashorn-impl/pom.xml
+++ b/nashorn-impl/pom.xml
@@ -175,9 +175,6 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
- <manifestEntries>
- <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
- </manifestEntries>
<manifestSections>
<manifestSection>
<name>net/shibboleth/idp/plugin/scripting/nashorn/</name>
diff --git a/pom.xml b/pom.xml
index f34a029..df80709 100644
--- a/pom.xml
+++ b/pom.xml
@@ -92,5 +92,23 @@
<module>rhino-impl</module>
<module>rhino-dist</module>
</modules>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-jar-plugin</artifactId>
+ <configuration>
+ <archive>
+ <index>true</index>
+ <manifestEntries>
+ <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
+ <Sealed>true</Sealed>
+ </manifestEntries>
+ </archive>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/rhino-impl/pom.xml b/rhino-impl/pom.xml
index 1ced64a..1bcefeb 100644
--- a/rhino-impl/pom.xml
+++ b/rhino-impl/pom.xml
@@ -114,10 +114,6 @@
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
- <index>true</index>
- <manifestEntries>
- <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
- </manifestEntries>
<manifestSections>
<manifestSection>
<name>net/shibboleth/idp/plugin/scripting/rhino/</name>
diff --git a/scripting-api/pom.xml b/scripting-api/pom.xml
index c006d97..e32119d 100644
--- a/scripting-api/pom.xml
+++ b/scripting-api/pom.xml
@@ -30,21 +30,5 @@
<scope>provided</scope>
</dependency>
</dependencies>
-
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <index>true</index>
- <manifestEntries>
- <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
+
</project>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list