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

jbonofre pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/karaf-decanter.git


The following commit(s) were added to refs/heads/main by this push:
     new e2ff7b9d [KARAF-7638] workaround SM-5021
     new b1ec435d Merge pull request #306 from hboutemy/KARAF-7638
e2ff7b9d is described below

commit e2ff7b9db8d40c549326cce805377d48f5d36b84
Author: HervĂ© Boutemy <[email protected]>
AuthorDate: Sun Jan 15 10:53:22 2023 +0100

    [KARAF-7638] workaround SM-5021
---
 itest/pom.xml | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/itest/pom.xml b/itest/pom.xml
index c3f76c3b..8316f105 100644
--- a/itest/pom.xml
+++ b/itest/pom.xml
@@ -165,6 +165,30 @@
                     </execution>
                 </executions>
             </plugin>
+            <plugin><!-- workaround for 
https://issues.apache.org/jira/browse/SM-5021 -->
+                <groupId>com.google.code.maven-replacer-plugin</groupId>
+                <artifactId>replacer</artifactId>
+                <version>1.5.3</version>
+                <executions>
+                    <execution>
+                        <id>fix-depends-RB</id>
+                        <phase>process-resources</phase>
+                        <goals>
+                            <goal>replace</goal>
+                        </goals>
+                    </execution>
+                </executions>
+                <configuration>
+                    
<file>${project.build.directory}/classes/META-INF/maven/dependencies.properties</file>
+                    <replacements>
+                        <replacement>
+                            <token># Generated at: .+</token>
+                            <value>#</value>
+                        </replacement>
+                    </replacements>
+                    <regex>true</regex>
+                </configuration>
+            </plugin>
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-surefire-plugin</artifactId>

Reply via email to