[java-idp-plugin-jetty] 26/186: IDP-1110 - Create testbed artifact
Rod Widdowson
rdw at steadingsoftware.com
Thu Jul 24 15:56:17 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=f2bb445f886ac8816e4b604282224ee273d575a8
commit f2bb445f886ac8816e4b604282224ee273d575a8
Author: Tom Zeller <tzeller at dragonacea.biz>
AuthorDate: Thu Jul 6 16:50:32 2017 -0500
IDP-1110 - Create testbed artifact
Create an artifact with classifier 'testbed' which contains the testbed
module and other overrides.
---
pom.xml | 56 +++++++++++++++++++++-----------------------------------
1 file changed, 21 insertions(+), 35 deletions(-)
diff --git a/pom.xml b/pom.xml
index c0015c4..b5b186b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -84,6 +84,25 @@
</resources>
</configuration>
</execution>
+ <!-- Copy src/test/resources to assembly-testbed directory. -->
+ <execution>
+ <id>copy-testbed-resources</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${assemblyDirectory}-testbed</outputDirectory>
+ <resources>
+ <resource>
+ <directory>${basedir}/src/test/resources</directory>
+ <excludes>
+ <exclude>**/.gitkeep</exclude>
+ </excludes>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
@@ -157,14 +176,15 @@
</execution>
</executions>
</plugin>
+ <!-- Assemble the artifacts. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
- <appendAssemblyId>false</appendAssemblyId>
<descriptors>
<descriptor>src/main/assembly/unix.xml</descriptor>
<descriptor>src/main/assembly/windows.xml</descriptor>
+ <descriptor>src/main/assembly/testbed.xml</descriptor>
</descriptors>
<tarLongFileMode>gnu</tarLongFileMode>
</configuration>
@@ -181,38 +201,4 @@
</plugins>
</build>
- <profiles>
- <profile>
- <id>testbed</id>
- <build>
- <plugins>
- <plugin>
- <artifactId>maven-resources-plugin</artifactId>
- <executions>
- <execution>
- <id>copy-testbed-resources</id>
- <phase>prepare-package</phase>
- <goals>
- <goal>copy-resources</goal>
- </goals>
- <configuration>
- <outputDirectory>${assemblyDirectory}</outputDirectory>
- <resources>
- <resource>
- <directory>${basedir}/src/test/resources</directory>
- <excludes>
- <exclude>**/.gitkeep</exclude>
- </excludes>
- </resource>
- </resources>
- <overwrite>true</overwrite>
- </configuration>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
- </profiles>
-
</project>
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list