Skip to content

Commit

Permalink
fix(pom): Ignore module dubbo-config-spring6 when jdk version < 17
Browse files Browse the repository at this point in the history
Closes #13226
  • Loading branch information
oxsean committed Oct 18, 2023
1 parent 027aba5 commit 8539ace
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion dubbo-config/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
<modules>
<module>dubbo-config-api</module>
<module>dubbo-config-spring</module>
<module>dubbo-config-spring6</module>
</modules>

<dependencies>
Expand All @@ -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>

0 comments on commit 8539ace

Please sign in to comment.