File pom-errors.patch of Package glassfish-jaxb
--- jaxb-v2-2.3.1/jaxb-ri/jxc/pom.xml 2025-03-25 12:39:34.037242565 +0100
+++ jaxb-v2-2.3.1/jaxb-ri/jxc/pom.xml 2025-03-25 12:48:18.659452762 +0100
@@ -118,6 +118,16 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/mods</outputDirectory>
+ <excludeArtifactIds>jmockit</excludeArtifactIds>
+ </configuration>
+ </execution>
+ <execution>
<id>copy-ant</id>
<phase>process-test-sources</phase>
<goals>
@@ -164,18 +174,6 @@
</executions>
</plugin>
<plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <java.io.tmpdir>${project.build.directory}/test-antprojects</java.io.tmpdir>
- <bin.folder>${project.build.directory}</bin.folder>
- </systemPropertyVariables>
- <forkCount>1</forkCount>
- <reuseForks>false</reuseForks>
- </configuration>
- </plugin>
- <plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
@@ -270,22 +268,6 @@
</plugin>
<plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/mods</outputDirectory>
- <excludeArtifactIds>jmockit</excludeArtifactIds>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
--- jaxb-v2-2.3.1/jaxb-ri/runtime/impl/pom.xml 2025-03-25 12:39:34.040540452 +0100
+++ jaxb-v2-2.3.1/jaxb-ri/runtime/impl/pom.xml 2025-03-25 12:40:27.439835407 +0100
@@ -100,10 +100,6 @@
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<workingDirectory>target/test-out</workingDirectory>
@@ -167,11 +163,6 @@
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
-
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<additionalJOptions>
--- jaxb-v2-2.3.1/jaxb-ri/xjc/pom.xml 2025-03-25 12:39:34.080096329 +0100
+++ jaxb-v2-2.3.1/jaxb-ri/xjc/pom.xml 2025-03-25 12:41:52.608402799 +0100
@@ -148,6 +148,16 @@
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
+ <phase>compile</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/mods</outputDirectory>
+ <excludeArtifactIds>jmockit</excludeArtifactIds>
+ </configuration>
+ </execution>
+ <execution>
<id>copy-ant</id>
<phase>validate</phase>
<goals>
@@ -247,21 +257,6 @@
</configuration>
</execution>
</executions>
- </plugin>
- <plugin>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <phase>compile</phase>
- <goals>
- <goal>copy-dependencies</goal>
- </goals>
- <configuration>
- <outputDirectory>${project.build.directory}/mods</outputDirectory>
- <excludeArtifactIds>jmockit</excludeArtifactIds>
- </configuration>
- </execution>
- </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>