This is an automated email from the ASF dual-hosted git repository.

elecharny pushed a commit to branch 2.2.X
in repository https://gitbox.apache.org/repos/asf/mina.git

commit 9630c7d7883bfe325254821031855a4b2e2f6229
Author: emmanuel lecharny <elecha...@apache.org>
AuthorDate: Sun Apr 30 05:50:19 2023 +0200

    Applied Herve Biutemy patch for xbeans
---
 mina-integration-xbean/pom.xml | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/mina-integration-xbean/pom.xml b/mina-integration-xbean/pom.xml
index 96013d364..bb20e1143 100644
--- a/mina-integration-xbean/pom.xml
+++ b/mina-integration-xbean/pom.xml
@@ -111,6 +111,33 @@
         </executions>
       </plugin>
 
+      <plugin><!-- workaround for 
https://issues.apache.org/jira/browse/XBEAN-335 -->
+        <groupId>com.google.code.maven-replacer-plugin</groupId>
+        <artifactId>replacer</artifactId>
+        <version>1.5.3</version>
+        <executions>
+          <execution>
+            <phase>generate-sources</phase>
+            <goals>
+              <goal>replace</goal>
+            </goals>
+          </execution>
+        </executions>
+        <configuration>
+          <basedir>${project.build.directory}/xbean/META-INF</basedir>
+          <includes>
+            <include>spring.*</include>
+          </includes>
+          <replacements>
+            <replacement>
+              <token>#... ... .+</token>
+              <value>#</value>
+            </replacement>
+          </replacements>
+          <regex>true</regex>
+        </configuration>
+      </plugin>
+
       <!--  lets ensure that the XSD gets deployed  -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>

Reply via email to