[java-idp-plugin-duo] branch main updated: Add JVM where the VM doesn't have one.

Rod Widdowson rdw at steadingsoftware.com
Sat Jan 29 11:01:08 UTC 2022


This is an automated email from the git hooks/post-receive script.

rdw pushed a commit to branch main
in repository java-idp-plugin-duo.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-duo.git;a=commit;h=8abfab7e722f4a8e503060eeee43216f24d2d7cc

The following commit(s) were added to refs/heads/main by this push:
     new 8abfab7  Add JVM where the VM doesn't have one.
8abfab7 is described below

commit 8abfab7e722f4a8e503060eeee43216f24d2d7cc
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Sat Jan 29 10:59:18 2022 +0000

    Add JVM where the VM doesn't have one.
    
    But properly this time
---
 pom.xml | 88 +++++++++++++++++------------------------------------------------
 1 file changed, 22 insertions(+), 66 deletions(-)

diff --git a/pom.xml b/pom.xml
index a3b01b5..4770f09 100644
--- a/pom.xml
+++ b/pom.xml
@@ -142,6 +142,27 @@
         </dependencies>
     </dependencyManagement>
 
+    <profiles>
+        <!--
+            Pull in a Javascript engine for testing in Java
+            versions where the JDK doesn't provide one.
+        -->
+        <profile>
+            <id>get-nashorn</id>
+            <activation>
+                <jdk>[15,</jdk>
+            </activation>
+            <dependencies>
+                <dependency>
+                    <groupId>org.openjdk.nashorn</groupId>
+                    <artifactId>nashorn-core</artifactId>
+                    <version>${nashorn.jdk.version}</version>
+                    <scope>test</scope>
+                </dependency>
+            </dependencies>
+        </profile>
+    </profiles>
+
     <build>
         <plugins>
             <plugin>
@@ -160,71 +181,6 @@
         </plugins>
     </build>
 
-    <build>
-        <plugins>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-jar-plugin</artifactId>
-                <configuration>
-                    <archive>
-                        <manifestEntries>
-                            <Automatic-Module-Name>${automatic.module.name}</Automatic-Module-Name>
-                            <Sealed>true</Sealed>
-                        </manifestEntries>
-                    </archive>
-                </configuration>
-             </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-enforcer-plugin</artifactId>
-                <dependencies>
-                    <dependency>
-                        <groupId>net.shibboleth.maven.enforcer.rules</groupId>
-                        <artifactId>maven-dist-enforcer</artifactId>
-                        <version>3.1.1-SNAPSHOT</version>
-                    </dependency>
-                </dependencies>
-                <executions>
-                    <execution>
-                        <id>idp-enforce</id>
-                        <phase>verify</phase>
-                        <goals>
-                            <goal>enforce</goal>
-                        </goals>
-                        <configuration>
-                            <rules>
-                                <jarEnforcer implementation="net.shibboleth.mvn.enforcer.impl.JarEnforcer">
-                                    <dataGroupId>net.shibboleth.maven.enforcer.rules</dataGroupId>
-                                    <dataArtifactId>maven-dist-enforcer-data</dataArtifactId>
-                                    <dataVersion>1.0.1-SNAPSHOT</dataVersion>
-                                    <dataKeyRing>${basedir}/src/main/enforcer/shibbolethKeys.gpg</dataKeyRing>
-                                    <parentPomDir>.</parentPomDir>
-                                    <zipFiles/>
-                                    <tgzFiles/>
-                                    <checkSignatures>false</checkSignatures>
-                                    <checkDependencies>false</checkDependencies>
-                    <compileRuntimeArtifactFatal>false</compileRuntimeArtifactFatal>
-                                    <listJarSources>false</listJarSources>
-                                    <checkM2>${net.shibboleth.maven.enforcer.rules.checkM2}</checkM2>
-                                </jarEnforcer>
-                            </rules>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-             <!-- TODO: Remove when parent POM updated. -->
-             <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-site-plugin</artifactId>
-                <dependencies>
-                    <dependency>
-                        <groupId>org.apache.maven.wagon</groupId>
-                        <artifactId>wagon-ssh</artifactId>
-                        <version>3.4.3</version>
-                    </dependency>
-                </dependencies>
-             </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