[java-idp-oidc] 02/02: Simplified configuration tree inheritance for the flow tests.

Henri Mikkonen henri.mikkonen at iki.fi
Wed Jul 3 15:32:40 UTC 2024


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

hjmikkon pushed a commit to branch main
in repository java-idp-oidc.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-oidc.git;a=commit;h=4b436b1030a5ba37040daaf85bf495e25bf13717

commit 4b436b1030a5ba37040daaf85bf495e25bf13717
Author: Henri Mikkonen <henri.mikkonen at iki.fi>
AuthorDate: Wed Jul 3 18:32:15 2024 +0300

    Simplified configuration tree inheritance for the flow tests.
    
    All the other files except ldap-server.crt are available via dependencies:
    no need for the unpack-phase anymore in POM when the certificate file exists
    in OP's own test tree.
---
 idp-oidc-extension-impl/pom.xml                             | 13 -------------
 .../net/shibboleth/idp/module/credentials/ldap-server.crt   | 13 +++++++++++++
 2 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/idp-oidc-extension-impl/pom.xml b/idp-oidc-extension-impl/pom.xml
index 096e0e4b..a536f5db 100644
--- a/idp-oidc-extension-impl/pom.xml
+++ b/idp-oidc-extension-impl/pom.xml
@@ -526,19 +526,6 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-dependency-plugin</artifactId>
                 <executions>                    
-                    <execution>
-                        <id>unpack</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>unpack-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <includeGroupIds>${idp.groupId}</includeGroupIds>
-                            <includeArtifactIds>idp-conf-impl</includeArtifactIds>
-                            <outputDirectory>${project.build.directory}/classes</outputDirectory>
-                            <includes>conf/**,credentials/ldap-server.crt,net/shibboleth/idp/module/conf/**,net/shibboleth/idp/module/credentials/**,test/**</includes>
-                        </configuration>
-                    </execution>
                     <execution>
                         <id>copy-dependencies</id>
                         <phase>prepare-package</phase>
diff --git a/idp-oidc-extension-impl/src/test/resources/net/shibboleth/idp/module/credentials/ldap-server.crt b/idp-oidc-extension-impl/src/test/resources/net/shibboleth/idp/module/credentials/ldap-server.crt
new file mode 100644
index 00000000..e6390b34
--- /dev/null
+++ b/idp-oidc-extension-impl/src/test/resources/net/shibboleth/idp/module/credentials/ldap-server.crt
@@ -0,0 +1,13 @@
+-----BEGIN CERTIFICATE-----
+MIICATCCAWoCCQCZy4ovDlQTvDANBgkqhkiG9w0BAQUFADBFMRMwEQYKCZImiZPy
+LGQBGRYDbmV0MRowGAYKCZImiZPyLGQBGRYKc2hpYmJvbGV0aDESMBAGA1UEAxMJ
+bG9jYWxob3N0MB4XDTEzMDkyMDA0NDE1OFoXDTIzMDkxODA0NDE1OFowRTETMBEG
+CgmSJomT8ixkARkWA25ldDEaMBgGCgmSJomT8ixkARkWCnNoaWJib2xldGgxEjAQ
+BgNVBAMTCWxvY2FsaG9zdDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEA+Pj+
+Rk0FosrK8tdNJLASSbfRFEJDf0498bnwtor76PONwkTLjnm7paTMAy7oGIAccuBf
+n7183mlo/yh22x+7Fdux4ESvdp1FWl7nGlBBWUrLZzXwwGybC0qv3/Cmvfkvm6zh
+zgY7YyQYlA/RCjTk/pUfrXaIIaKwd+B2miBDrDUCAwEAATANBgkqhkiG9w0BAQUF
+AAOBgQCKQsndxYjsGIvK3lnlztIuKQmRlj7IHL/T6abBYwmQcyMa5o3hv6/Rx+Ze
+NSRfyhakPY4v5yUBi1fyIVIGcAbnak+GQIfsO8uDhzZt6DwshzHrnCbHTLQx6NTB
+4mvLjAdt7riBIl5y5n3tbtrZdpTgFhQxjLWTBpWIO0XKxqtBhw==
+-----END CERTIFICATE-----

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list