From c11a0e7ef346813dfb7cd6992100bc1d294b285d Mon Sep 17 00:00:00 2001 From: chege Date: Sat, 20 Dec 2025 17:22:35 +0300 Subject: [PATCH] Place singleton-deployment.xml to /META-INF as per the docs https://docs.wildfly.org/38/High_Availability_Guide.html#usage-singleton-deployments --- ha-singleton-deployment/pom.xml | 58 +++++++++++++++++++++------------ 1 file changed, 38 insertions(+), 20 deletions(-) diff --git a/ha-singleton-deployment/pom.xml b/ha-singleton-deployment/pom.xml index b418f0834d..5ad085223e 100644 --- a/ha-singleton-deployment/pom.xml +++ b/ha-singleton-deployment/pom.xml @@ -1,25 +1,25 @@ +~ JBoss, Home of Professional Open Source. +~ Copyright 2017, Red Hat, Inc., and individual contributors +~ as indicated by the @author tags. See the copyright.txt file in the +~ distribution for a full listing of individual contributors. +~ +~ This is free software; you can redistribute it and/or modify it +~ under the terms of the GNU Lesser General Public License as +~ published by the Free Software Foundation; either version 2.1 of +~ the License, or (at your option) any later version. +~ +~ This software is distributed in the hope that it will be useful, +~ but WITHOUT ANY WARRANTY; without even the implied warranty of +~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU +~ Lesser General Public License for more details. +~ +~ You should have received a copy of the GNU Lesser General Public +~ License along with this software; if not, write to the Free +~ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA +~ 02110-1301 USA, or see the FSF site: http://www.fsf.org. +--> 4.0.0 @@ -104,6 +104,24 @@ ${project.artifactId} + + + org.apache.maven.plugins + maven-war-plugin + ${version.war.plugin} + + false + + + ${project.basedir}/src/main/resources/META-INF + META-INF + + singleton-deployment.xml + + + + + org.wildfly.plugins wildfly-maven-plugin