You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dolphinscheduler.apache.org by zi...@apache.org on 2022/11/07 07:07:13 UTC

[dolphinscheduler] branch dev updated: [Bug] [dolphinscheduler-aop] aspectj-maven-plugin version undefined (#12756)

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

zihaoxiang pushed a commit to branch dev
in repository https://gitbox.apache.org/repos/asf/dolphinscheduler.git


The following commit(s) were added to refs/heads/dev by this push:
     new 6c5ab3fb5c [Bug] [dolphinscheduler-aop] aspectj-maven-plugin version undefined  (#12756)
6c5ab3fb5c is described below

commit 6c5ab3fb5caa624dcab81906efc606af8d9b0bfb
Author: Aaron Wang <wa...@gmail.com>
AuthorDate: Mon Nov 7 15:07:07 2022 +0800

    [Bug] [dolphinscheduler-aop] aspectj-maven-plugin version undefined  (#12756)
    
    * Update pom.xml
---
 dolphinscheduler-aop/pom.xml | 17 -----------------
 pom.xml                      | 24 ++++++++++++++++++++++++
 2 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/dolphinscheduler-aop/pom.xml b/dolphinscheduler-aop/pom.xml
index 4f3b0a594b..25858423ff 100644
--- a/dolphinscheduler-aop/pom.xml
+++ b/dolphinscheduler-aop/pom.xml
@@ -67,23 +67,6 @@
             <plugin>
                 <groupId>org.codehaus.mojo</groupId>
                 <artifactId>aspectj-maven-plugin</artifactId>
-                <configuration>
-                    <complianceLevel>1.8</complianceLevel>
-                    <source>1.8</source>
-                    <target>1.8</target>
-                    <showWeaveInfo>true</showWeaveInfo>
-                    <verbose>true</verbose>
-                    <Xlint>ignore</Xlint>
-                    <encoding>UTF-8</encoding>
-                </configuration>
-                <executions>
-                    <execution>
-                        <goals>
-                            <goal>compile</goal>
-                            <goal>test-compile</goal>
-                        </goals>
-                    </execution>
-                </executions>
             </plugin>
         </plugins>
     </build>
diff --git a/pom.xml b/pom.xml
index e99f5b66b0..4d8d29791a 100755
--- a/pom.xml
+++ b/pom.xml
@@ -75,6 +75,7 @@
         <maven-dependency-plugin.version>3.1.1</maven-dependency-plugin.version>
         <maven-shade-plugin.version>3.2.1</maven-shade-plugin.version>
         <rpm-maven-plugion.version>2.2.0</rpm-maven-plugion.version>
+        <aspectj-maven-plugin.version>1.14.0</aspectj-maven-plugin.version>
         <spotless.version>2.27.2</spotless.version>
         <jacoco.version>0.8.8</jacoco.version>
         <maven.deploy.skip>false</maven.deploy.skip>
@@ -386,6 +387,29 @@
                     <inherited>false</inherited>
                 </plugin>
 
+                <plugin>
+                    <groupId>org.codehaus.mojo</groupId>
+                    <artifactId>aspectj-maven-plugin</artifactId>
+                    <version>${aspectj-maven-plugin.version}</version>
+                    <configuration>
+                        <complianceLevel>${java.version}</complianceLevel>
+                        <source>${java.version}</source>
+                        <target>${java.version}</target>
+                        <showWeaveInfo>true</showWeaveInfo>
+                        <verbose>true</verbose>
+                        <Xlint>ignore</Xlint>
+                        <encoding>UTF-8</encoding>
+                    </configuration>
+                    <executions>
+                        <execution>
+                            <goals>
+                                <goal>compile</goal>
+                                <goal>test-compile</goal>
+                            </goals>
+                        </execution>
+                    </executions>
+                </plugin>
+
                 <plugin>
                     <groupId>org.apache.maven.plugins</groupId>
                     <artifactId>maven-compiler-plugin</artifactId>