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 spotless run and apply to all files #715

Merged
merged 13 commits into from
Oct 5, 2023
1 change: 1 addition & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* text eol=lf
3 changes: 1 addition & 2 deletions pipeline-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,6 @@
<dependency>
<groupId>org.jenkins-ci.plugins</groupId>
<artifactId>jacoco</artifactId>
<version>${jenkins-plugin-jacoco.version}</version>
<optional>true</optional>
<exclusions>
<exclusion>
Expand Down Expand Up @@ -279,6 +278,7 @@
<groupId>org.slf4j</groupId>
<artifactId>slf4j-simple</artifactId>
</dependency>

<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>pipeline-maven-spy</artifactId>
Expand Down Expand Up @@ -344,7 +344,6 @@
<classifier>tests</classifier>
<scope>test</scope>
</dependency>

<!-- move the related test to pipeline-maven-database and remove this dependency
-->
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ public void verify_fingerprinting_of_dependencies() throws Exception {
loadMonoDependencyMavenProjectInGitRepo(this.gitRepoRule);

// @formatter:off
String pipelineScript = "node() {\n" + " git($/"
+ gitRepoRule.toString() + "/$)\n"
+ " withMaven(options:[dependenciesFingerprintPublisher(includeReleaseVersions:true)]) {\n"
+ " if (isUnix()) {\n"
+ " sh 'mvn package'\n"
+ " } else {\n"
+ " bat 'mvn package'\n"
+ " }\n"
+ " }\n"
+ "}";
String pipelineScript = "node() {\n" +
" git($/" + gitRepoRule.toString() + "/$)\n" +
" withMaven(options:[dependenciesFingerprintPublisher(includeReleaseVersions:true)]) {\n" +
" if (isUnix()) {\n" +
" sh 'mvn package'\n" +
" } else {\n" +
" bat 'mvn package'\n" +
" }\n" +
" }\n" +
"}";
// @formatter:on

String commonsLang3version35Md5 = "780b5a8b72eebe6d0dbff1c11b5658fa";
Expand Down
Loading
Loading