Skip to content

Commit e20e9d4

Browse files
committed
fix: Use file-based activation for local-dev-javase profile
Changed the activation of the `local-dev-javase` profile in `maven/javase/pom.xml` to be based on the existence of the `${cn1.build.client.path}` file. This prevents the profile from being active during the release build in GitHub Actions, which should fix the Maven Central deployment issue.
1 parent 4e051bf commit e20e9d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

maven/javase/pom.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
<profile>
5454
<id>local-dev-javase</id>
5555
<activation>
56-
<activeByDefault>true</activeByDefault>
56+
<file>
57+
<exists>${cn1.build.client.path}</exists>
58+
</file>
5759
</activation>
5860
<dependencies>
5961
<dependency>

0 commit comments

Comments
 (0)