[java-idp-plugin-jetty] 04/186: IDP-1110 - Initial commit of work on Jetty 9.4

Rod Widdowson rdw at steadingsoftware.com
Thu Jul 24 15:55:55 UTC 2025


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

rdw pushed a commit to branch dev/foo
in repository java-idp-plugin-jetty.

View the commit online:
http://git.shibboleth.net/view/?p=java-idp-plugin-jetty.git;a=commit;h=2e4334724743626707801951794874811ae9982a

commit 2e4334724743626707801951794874811ae9982a
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Mar 2 02:12:01 2017 -0600

    IDP-1110 - Initial commit of work on Jetty 9.4
---
 pom.xml | 94 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++--
 1 file changed, 92 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 7cece29..7c246f7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -13,7 +13,13 @@
     <name>idp-jetty-base</name>
     <groupId>net.shibboleth.idp</groupId>
     <artifactId>idp-jetty-base</artifactId>
-    <packaging>jar</packaging>
+    <packaging>pom</packaging>
+    <version>9.4.0-SNAPSHOT</version>
+
+    <properties>
+        <jetty9-dta-ssl.version>1.0.0</jetty9-dta-ssl.version>
+        <assemblyDirectory>${project.build.directory}/idp-jetty-base</assemblyDirectory>
+    </properties>
 
     <repositories>
         <repository>
@@ -38,10 +44,94 @@
         <!-- Provided Dependencies -->
 
         <!-- Runtime Dependencies -->
+        <!-- Our Jetty 9 DTA plugin -->
+        <dependency>
+            <groupId>net.shibboleth.utilities.jetty9</groupId>
+            <artifactId>jetty9-dta-ssl</artifactId>
+            <version>${jetty9-dta-ssl.version}</version>
+            <optional>true</optional>
+            <scope>runtime</scope>
+        </dependency>
 
         <!-- Test Dependencies -->
 
         <!-- Managed Dependencies -->
     </dependencies>
-    
+
+    <build>
+        <plugins>
+            <!-- Copy src/main/resources to assembly directory. -->
+            <plugin>
+                <artifactId>maven-resources-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>copy-resources</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <includeEmptyDirs>true</includeEmptyDirs>
+                            <outputDirectory>${assemblyDirectory}</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>${basedir}/src/main/resources</directory>
+                                    <excludes>
+                                        <exclude>**/.gitkeep</exclude>
+                                    </excludes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <artifactId>maven-dependency-plugin</artifactId>
+                <executions>
+                    <!-- Copy Jetty DTA plugin to jetty-base/lib/ext/ directory. -->
+                    <execution>
+                        <id>copy-jetty-dta-ssl</id>
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>copy</goal>
+                        </goals>
+                        <configuration>
+                            <artifactItems>
+                                <artifactItem>
+                                    <groupId>net.shibboleth.utilities.jetty9</groupId>
+                                    <artifactId>jetty9-dta-ssl</artifactId>
+                                    <version>${jetty9-dta-ssl.version}</version>
+                                    <type>jar</type>
+                                    <overWrite>false</overWrite>
+                                    <outputDirectory>${assemblyDirectory}/jetty-base/lib/ext</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <configuration>
+                    <appendAssemblyId>false</appendAssemblyId>
+                    <descriptors>
+                        <descriptor>src/main/assembly/tgz.xml</descriptor>
+                        <descriptor>src/main/assembly/zip.xml</descriptor>
+                    </descriptors>
+                    <tarLongFileMode>gnu</tarLongFileMode>
+                </configuration>
+                <executions>
+                    <execution>
+                        <id>make-assembly</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </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