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


The following commit(s) were added to refs/heads/2.2.X by this push:
     new 512ef7ca6 workaround for Reproducible Builds
     new 3e9cb914d Merge pull request #34 from hboutemy/2.2.X
512ef7ca6 is described below

commit 512ef7ca60d6ec9f18936735956bfdb1a1967c74
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Sep 4 16:15:27 2022 +0200

    workaround for Reproducible Builds
---
 mina-integration-xbean/pom.xml | 26 ++++++++++++++++++++++++++
 1 file changed, 26 insertions(+)

diff --git a/mina-integration-xbean/pom.xml b/mina-integration-xbean/pom.xml
index 96013d364..82819f807 100644
--- a/mina-integration-xbean/pom.xml
+++ b/mina-integration-xbean/pom.xml
@@ -110,6 +110,32 @@
           </execution>
         </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>

Reply via email to