This is an automated email from the ASF dual-hosted git repository.
albumenj pushed a commit to branch 3.3
in repository https://gitbox.apache.org/repos/asf/dubbo.git
The following commit(s) were added to refs/heads/3.3 by this push:
new bcd5caf7df Fix loom project pom (#13132)
bcd5caf7df is described below
commit bcd5caf7df586cb9dce3bd7d9c03d3b8a1b85de1
Author: Albumen Kevin <[email protected]>
AuthorDate: Tue Sep 26 16:50:53 2023 +0800
Fix loom project pom (#13132)
---
dubbo-plugin/dubbo-plugin-loom/pom.xml | 16 ++++++++++++++--
dubbo-plugin/pom.xml | 6 ++++++
2 files changed, 20 insertions(+), 2 deletions(-)
diff --git a/dubbo-plugin/dubbo-plugin-loom/pom.xml
b/dubbo-plugin/dubbo-plugin-loom/pom.xml
index e16ab7b27c..1d78e65220 100644
--- a/dubbo-plugin/dubbo-plugin-loom/pom.xml
+++ b/dubbo-plugin/dubbo-plugin-loom/pom.xml
@@ -29,8 +29,6 @@
<artifactId>dubbo-plugin-loom</artifactId>
<properties>
- <maven.compiler.source>21</maven.compiler.source>
- <maven.compiler.target>21</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<skip_maven_deploy>false</skip_maven_deploy>
@@ -44,4 +42,18 @@
<optional>true</optional>
</dependency>
</dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <configuration>
+ <source>21</source>
+ <target>21</target>
+ <release>21</release>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
</project>
diff --git a/dubbo-plugin/pom.xml b/dubbo-plugin/pom.xml
index 058f123403..932b9567bc 100644
--- a/dubbo-plugin/pom.xml
+++ b/dubbo-plugin/pom.xml
@@ -75,5 +75,11 @@
<module>dubbo-plugin-loom</module>
</modules>
</profile>
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>dubbo-plugin-loom</module>
+ </modules>
+ </profile>
</profiles>
</project>