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 7696e1b42c fix(pom): Ignore module dubbo-config-spring6 when jdk
version < 17 (#13227)
7696e1b42c is described below
commit 7696e1b42c03398cfebca29885871a422f6bd521
Author: Sean Yang <[email protected]>
AuthorDate: Wed Oct 18 16:38:46 2023 +0800
fix(pom): Ignore module dubbo-config-spring6 when jdk version < 17 (#13227)
Closes #13226
---
dubbo-config/pom.xml | 19 ++++++++++++++++++-
1 file changed, 18 insertions(+), 1 deletion(-)
diff --git a/dubbo-config/pom.xml b/dubbo-config/pom.xml
index 8fe60edd83..0274adf042 100644
--- a/dubbo-config/pom.xml
+++ b/dubbo-config/pom.xml
@@ -32,7 +32,6 @@
<modules>
<module>dubbo-config-api</module>
<module>dubbo-config-spring</module>
- <module>dubbo-config-spring6</module>
</modules>
<dependencies>
@@ -49,4 +48,22 @@
<scope>test</scope>
</dependency>
</dependencies>
+
+ <profiles>
+ <profile>
+ <id>release</id>
+ <modules>
+ <module>dubbo-config-spring6</module>
+ </modules>
+ </profile>
+ <profile>
+ <id>jdk-version-ge-17</id>
+ <activation>
+ <jdk>17</jdk>
+ </activation>
+ <modules>
+ <module>dubbo-config-spring6</module>
+ </modules>
+ </profile>
+ </profiles>
</project>