[java-idp-jetty-base] 01/02: JJETTY-13 Implement Jetty-base plugin V2

Rod Widdowson rdw at steadingsoftware.com
Sat Jul 19 16:10:38 UTC 2025


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

rdw pushed a commit to branch dev/JJETTY-13
in repository java-idp-jetty-base.

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

commit b081940fdb09e692149e9d95f86e12d7ec3b3582
Author: Rod Widdowson <rdw at steadingsoftware.com>
AuthorDate: Thu Jul 17 11:22:27 2025 +0100

    JJETTY-13 Implement Jetty-base plugin V2
    
    https://shibboleth.atlassian.net/browse/JJETTY-13
    
    Copy the jetty cli jar to jetty-impl/target with a fixed name.
    
    We can now have it a part of a module
---
 jetty-impl/pom.xml | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/jetty-impl/pom.xml b/jetty-impl/pom.xml
index 99c532b..1f832a7 100644
--- a/jetty-impl/pom.xml
+++ b/jetty-impl/pom.xml
@@ -60,6 +60,27 @@
 
     <build>
         <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <version>${maven-antrun-plugin.version}</version>
+                <executions>
+                    <execution>
+                    <!-- Copy CLI jar into the target, giving it a non changing name -->
+                        <phase>prepare-package</phase>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                        <configuration>
+                            <target>
+                                <copy
+                                    file="${project.basedir}/../jetty-cli/target/jetty-plugin-cli-${project.version}.jar"
+                                    tofile="${project.build.outputDirectory}/net/shibboleth/idp/module/jetty/jetty-cli.jar"/>
+                            </target>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-jar-plugin</artifactId>

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


More information about the commits mailing list