You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@santuario.apache.org by co...@apache.org on 2023/12/04 12:06:29 UTC

(santuario-xml-security-java) branch 3.0.x-fixes updated: fix RB issue on JAXB generated source (#248)

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

coheigea pushed a commit to branch 3.0.x-fixes
in repository https://gitbox.apache.org/repos/asf/santuario-xml-security-java.git


The following commit(s) were added to refs/heads/3.0.x-fixes by this push:
     new 91f806c4 fix RB issue on JAXB generated source (#248)
91f806c4 is described below

commit 91f806c4f289ed1f15ac020977201ee50f109098
Author: Hervé Boutemy <hb...@apache.org>
AuthorDate: Mon Dec 4 12:35:34 2023 +0100

    fix RB issue on JAXB generated source (#248)
---
 pom.xml | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)

diff --git a/pom.xml b/pom.xml
index c7c4ecd7..b32483a3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -398,6 +398,23 @@
                             <regex>true</regex>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>types-workaround-xmldsig</id>
+                        <phase>process-sources</phase>
+                        <goals>
+                            <goal>replace</goal>
+                        </goals>
+                        <configuration>
+                            <file>${project.build.directory}/generated-sources/xjc/org/apache/xml/security/binding/xmldsig/PGPDataType.java</file>
+                            <replacements>
+                                <replacement>
+                                    <token>line (.+) of file:.+src/main/resources/(.+)</token>
+                                    <value>line $1 of file:src/main/resources/$2</value>
+                                </replacement>
+                            </replacements>
+                            <regex>true</regex>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>