[java-idp-example-jetty-base] 03/04: Copy Jetty DTA plugin to jetty-base/lib/ext/.

Tom Zeller tzeller at dragonacea.biz
Mon May 23 16:13:50 EDT 2016


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

tzeller pushed a commit to branch 9.2
in repository java-idp-example-jetty-base.

commit a245f0fa2a4fd3feed3433b375951f8950c5e97a
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Mon May 23 12:59:03 2016 -0500

    Copy Jetty DTA plugin to jetty-base/lib/ext/.
---
 pom.xml | 44 +++++++++++++++++++++++++++++++++++++++++++-
 1 file changed, 43 insertions(+), 1 deletion(-)

diff --git a/pom.xml b/pom.xml
index 57feeaa..54f940b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -16,16 +16,58 @@
     <packaging>jar</packaging>
     <version>9.2.0-SNAPSHOT</version>
 
+    <properties>
+        <jetty9-dta-ssl.version>1.0.0</jetty9-dta-ssl.version>
+    </properties>
+
     <dependencies>
         <!-- Compile Dependencies -->
 
         <!-- 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>
+            <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>${project.build.outputDirectory}/jetty-base/lib/ext</outputDirectory>
+                                </artifactItem>
+                            </artifactItems>
+                        </configuration>
+                    </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