Skip to content

Commit a083245

Browse files
authored
Migrate to Develocity Maven Extension (apache#12658)
* Migrate to Develocity Maven Extension * Update to Common Custom User Data Maven Extension 2.0
1 parent 6639d57 commit a083245

8 files changed

+16
-18
lines changed

Diff for: .github/workflows/cluster-it-1c1d.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
env:
2828
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
29-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
29+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
3030

3131
jobs:
3232
Simple:

Diff for: .github/workflows/cluster-it-1c3d.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ concurrency:
2626

2727
env:
2828
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
29-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
29+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
3030

3131
jobs:
3232
Simple:

Diff for: .github/workflows/pipe-it-2cluster.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ concurrency:
2424

2525
env:
2626
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
27-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
27+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
2828

2929
jobs:
3030
auto-create-schema:

Diff for: .github/workflows/sonar-codecov.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929
env:
3030
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
3131
PR_NUMBER: ${{ github.event.number }}
32-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
32+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
3333

3434
jobs:
3535
codecov:

Diff for: .github/workflows/unit-test.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ concurrency:
2929

3030
env:
3131
MAVEN_OPTS: -Dhttp.keepAlive=false -Dmaven.wagon.http.pool=false -Dmaven.wagon.http.retryHandler.class=standard -Dmaven.wagon.http.retryHandler.count=3
32-
GRADLE_ENTERPRISE_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
32+
DEVELOCITY_ACCESS_KEY: ${{ secrets.GE_ACCESS_TOKEN }}
3333

3434
jobs:
3535
unit-test:

Diff for: .gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -122,3 +122,4 @@ iotdb-core/tsfile/src/main/antlr4/org/apache/tsfile/parser/gen/
122122

123123
# Develocity
124124
.mvn/.gradle-enterprise/
125+
.mvn/.develocity/

Diff for: .mvn/gradle-enterprise.xml renamed to .mvn/develocity.xml

+7-10
Original file line numberDiff line numberDiff line change
@@ -19,20 +19,17 @@
1919
under the License.
2020
2121
-->
22-
<gradleEnterprise xmlns="https://www.gradle.com/gradle-enterprise-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.gradle.com/gradle-enterprise-maven https://www.gradle.com/schema/gradle-enterprise-maven.xsd">
22+
<develocity xmlns="https://www.gradle.com/develocity-maven" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="https://www.gradle.com/develocity-maven https://www.gradle.com/schema/develocity-maven.xsd">
2323
<server>
2424
<url>https://ge.apache.org</url>
25-
<allowUntrusted>false</allowUntrusted>
2625
</server>
2726
<buildScan>
28-
<capture>
29-
<goalInputFiles>true</goalInputFiles>
30-
<buildLogging>true</buildLogging>
31-
<testLogging>true</testLogging>
32-
</capture>
3327
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
34-
<publish>ALWAYS</publish>
35-
<publishIfAuthenticated>true</publishIfAuthenticated>
28+
<publishing>
29+
<onlyIf>
30+
<![CDATA[authenticated]]>
31+
</onlyIf>
32+
</publishing>
3633
<obfuscation>
3734
<ipAddresses>#{{'0.0.0.0'}}</ipAddresses>
3835
</obfuscation>
@@ -45,4 +42,4 @@
4542
<enabled>false</enabled>
4643
</remote>
4744
</buildCache>
48-
</gradleEnterprise>
45+
</develocity>

Diff for: .mvn/extensions.xml

+3-3
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
<extensions xmlns="http://maven.apache.org/EXTENSIONS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/EXTENSIONS/1.0.0 http://maven.apache.org/xsd/core-extensions-1.0.0.xsd">
2323
<extension>
2424
<groupId>com.gradle</groupId>
25-
<artifactId>gradle-enterprise-maven-extension</artifactId>
26-
<version>1.19.2</version>
25+
<artifactId>develocity-maven-extension</artifactId>
26+
<version>1.21.3</version>
2727
</extension>
2828
<extension>
2929
<groupId>com.gradle</groupId>
3030
<artifactId>common-custom-user-data-maven-extension</artifactId>
31-
<version>1.12.4</version>
31+
<version>2.0</version>
3232
</extension>
3333
</extensions>

0 commit comments

Comments
 (0)