Skip to content

Instantly share code, notes, and snippets.

@jdiez17
Created February 26, 2025 08:40
Show Gist options
  • Save jdiez17/af63ccb4cd6f9480b516bf7248e0f10a to your computer and use it in GitHub Desktop.
Save jdiez17/af63ccb4cd6f9480b516bf7248e0f10a to your computer and use it in GitHub Desktop.
diff --git a/app/commander/pom.xml b/app/commander/pom.xml
index 3c7fa55d1..eed18e4c9 100644
--- a/app/commander/pom.xml
+++ b/app/commander/pom.xml
@@ -133,10 +133,8 @@
<artifactId>fmt-maven-plugin</artifactId>
<version>2.13</version>
<executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
+ <execution>
+ <phase>none</phase>
</execution>
</executions>
<configuration>
diff --git a/core/commander-core/pom.xml b/core/commander-core/pom.xml
index 961ee1ce5..e2935c9b7 100644
--- a/core/commander-core/pom.xml
+++ b/core/commander-core/pom.xml
@@ -237,10 +237,8 @@
<artifactId>fmt-maven-plugin</artifactId>
<version>2.13</version>
<executions>
- <execution>
- <goals>
- <goal>check</goal>
- </goals>
+ <execution>
+ <phase>none</phase>
</execution>
</executions>
<configuration>
diff --git a/phoebus-product/pom.xml b/phoebus-product/pom.xml
index 54c24040f..0abc6b34c 100644
--- a/phoebus-product/pom.xml
+++ b/phoebus-product/pom.xml
@@ -242,7 +242,7 @@
<phase>verify</phase>
<configuration>
<failOnError>true</failOnError>
- <tasks>
+ <target>
<echo message="Copying doc/" />
<ant antfile="build.xml" target="copy-doc" />
<echo message="Adding dependencies to product" />
@@ -263,7 +263,7 @@
</manifest>
</jar>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>
diff --git a/pom.xml b/pom.xml
index 7f92c8de3..b75cf4111 100644
--- a/pom.xml
+++ b/pom.xml
@@ -81,8 +81,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.6.2</version>
<configuration>
- <source>11</source>
- <target>11</target>
+ <source>21</source>
+ <target>21</target>
<fork>true</fork>
<compilerArgs>
<arg>-J--add-opens=jdk.compiler/com.sun.tools.javac.code=ALL-UNNAMED</arg>
diff --git a/services/alarm-server/pom.xml b/services/alarm-server/pom.xml
index 1ff4ff700..81f3d5c5c 100644
--- a/services/alarm-server/pom.xml
+++ b/services/alarm-server/pom.xml
@@ -127,7 +127,7 @@
<phase>verify</phase>
<configuration>
<failOnError>true</failOnError>
- <tasks>
+ <target>
<echo message="Adding dependencies to product" />
<manifestclasspath property="manifest-classpath" jarfile="${project.build.directory}/service-alarm-server-${project.version}.jar">
<classpath>
@@ -148,7 +148,7 @@
<attribute name="Class-Path" value="${manifest-classpath}" />
</manifest>
</jar>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>
diff --git a/services/archive-engine/pom.xml b/services/archive-engine/pom.xml
index 95948a391..c8dcf92f7 100644
--- a/services/archive-engine/pom.xml
+++ b/services/archive-engine/pom.xml
@@ -141,7 +141,7 @@
<phase>verify</phase>
<configuration>
<failOnError>true</failOnError>
- <tasks>
+ <target>
<echo message="Adding dependencies to product" />
<manifestclasspath property="manifest-classpath" jarfile="${project.build.directory}/service-archive-engine-${project.version}.jar">
<classpath>
@@ -160,7 +160,7 @@
</manifest>
</jar>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>
diff --git a/services/scan-server/pom.xml b/services/scan-server/pom.xml
index f47046ced..ac9476349 100644
--- a/services/scan-server/pom.xml
+++ b/services/scan-server/pom.xml
@@ -124,7 +124,7 @@
<phase>verify</phase>
<configuration>
<failOnError>true</failOnError>
- <tasks>
+ <target>
<echo message="Adding dependencies to product" />
<manifestclasspath property="manifest-classpath" jarfile="${project.build.directory}/service-scan-server-${project.version}.jar">
<classpath>
@@ -145,7 +145,7 @@
<attribute name="Class-Path" value="${manifest-classpath}" />
</manifest>
</jar>
- </tasks>
+ </target>
</configuration>
<goals>
<goal>run</goal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment