Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add configuration to send build scans to https://ge.apache.org #810

Merged
merged 2 commits into from
Jun 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,7 @@ nb-configuration.xml
.vscode/

# formatter-maven-plugin
.cache/
.cache/

# https://ge.apache.org
.mvn/.gradle-enterprise
14 changes: 14 additions & 0 deletions .mvn/extensions.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>

<extensions>
<extension>
<groupId>com.gradle</groupId>
<artifactId>gradle-enterprise-maven-extension</artifactId>
<version>1.17.3</version>
</extension>
<extension>
<groupId>com.gradle</groupId>
<artifactId>common-custom-user-data-maven-extension</artifactId>
<version>1.12</version>
</extension>
</extensions>
28 changes: 28 additions & 0 deletions .mvn/gradle-enterprise.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>

<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">
<server>
<url>https://ge.apache.org</url>
</server>
<buildScan>
<capture>
<goalInputFiles>true</goalInputFiles>
</capture>
<obfuscation>
<ipAddresses>0.0.0.0</ipAddresses>
</obfuscation>
<publish>ALWAYS</publish>
<publishIfAuthenticated>true</publishIfAuthenticated>
<backgroundBuildScanUpload>#{isFalse(env['GITHUB_ACTIONS'])}</backgroundBuildScanUpload>
</buildScan>
<buildCache>
<local>
<enabled>#{isFalse(env['GITHUB_ACTIONS'])}</enabled>
</local>
<remote>
<enabled>false</enabled>
</remote>
</buildCache>
</gradleEnterprise>
Original file line number Diff line number Diff line change
Expand Up @@ -204,6 +204,11 @@ public static MvndResource create(
}
});
}

final Path dotMvn = testExecutionDir.resolve(".mvn");
if (!Files.exists(dotMvn)) {
Files.createDirectories(dotMvn);
}
}
final Path multiModuleProjectDirectory =
Paths.get(DaemonParameters.findDefaultMultimoduleProjectDirectory(testExecutionDir));
Expand Down
Empty file.
Empty file.
Loading