Skip to content

Commit

Permalink
Merge pull request clusterbench#500 from rhusar/499
Browse files Browse the repository at this point in the history
Drop 'singleton' custom build profiles (resolves clusterbench#499)
  • Loading branch information
rhusar authored Sep 23, 2024
2 parents a1cd9b0 + 3a34995 commit 21d65d5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 96 deletions.
20 changes: 0 additions & 20 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -252,26 +252,6 @@ This profile produces a build to test a shared sessions scenario where two WARs
mvn install -P shared-sessions -DskipTests
----

=== singleton-deployment-specific-descriptor (using singleton-deployment.xml):

This profile produces a build to tests a singleton deployment scenario where one EAR guaranteed to be active on a single node at a time:

----
mvn install -P singleton-deployment-specific-descriptor -DskipTests
----

NOTE: this version uses descriptor `singleton-deployment.xml` to achieve singleton-deployment functionality

=== singleton-deployment-jboss-all (using jboss-all.xml):

This profile produces a build to tests a singleton deployment scenario where one EAR guaranteed to be active on a single node at a time:

----
mvn install -P singleton-deployment-jboss-all -DskipTests
----

NOTE: this version uses descriptor `jboss-all.xml` to achieve singleton-deployment functionality

=== short-names

Used in order to shorten name of bundled JARs and WARs within the final EAR file.
Expand Down
60 changes: 0 additions & 60 deletions clusterbench-ee10-ear/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -163,66 +163,6 @@
</plugins>
</build>
</profile>
<profile>
<!-- mvn clean install -P singleton-deployment-specific-descriptor -->
<id>singleton-deployment-specific-descriptor</id>
<build>
<finalName>clusterbench-ee10</finalName>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/${project.build.finalName}/META-INF</outputDirectory>
<resources>
<resource>
<directory>src/main/singleton-deployment-specific-descriptor/META-INF</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- mvn clean install -P singleton-deployment-jboss-all -->
<id>singleton-deployment-jboss-all</id>
<build>
<finalName>clusterbench-ee10</finalName>
<plugins>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resources</id>
<phase>validate</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<outputDirectory>${basedir}/target/${project.build.finalName}/META-INF</outputDirectory>
<resources>
<resource>
<directory>src/main/singleton-deployment-jboss-all/META-INF</directory>
<filtering>true</filtering>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
<profile>
<!-- mvn clean install -P shared-sessions -->
<id>shared-sessions</id>
Expand Down

This file was deleted.

This file was deleted.

0 comments on commit 21d65d5

Please sign in to comment.