-
Notifications
You must be signed in to change notification settings - Fork 1.1k
clean-up a bit #1942
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
clean-up a bit #1942
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,7 +46,9 @@ runs: | |
| -Dhttp.keepAlive=false \ | ||
| -Dmaven.wagon.http.pool=false \ | ||
| -Dmaven.wagon.http.retryHandler.class=standard \ | ||
| -Dmaven.wagon.httpconnectionManager.ttlSeconds=120 \ | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I have observed that we get some timeouts from time to time when we need something from maven central, seems that adding these options fixes the problem. |
||
| -Dmaven.wagon.http.retryHandler.count=3 \ | ||
| -Dmaven.resolver.transport=wagon \ | ||
| -Dspring-boot.build-image.skip=true | ||
|
|
||
| touch /tmp/test_times_${{ env.CURRENT_INDEX }}.txt | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -46,6 +46,10 @@ | |
| </repository> | ||
| </repositories> | ||
| <pluginRepositories> | ||
| <pluginRepository> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I am not sure why, but if I put this one here explicitly, it will not go to spring repositories for download, but use maven central |
||
| <id>central</id> | ||
| <url>https://repo1.maven.org/maven2/</url> | ||
| </pluginRepository> | ||
| <pluginRepository> | ||
| <id>spring-snapshots</id> | ||
| <name>Spring Snapshots</name> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,18 +11,6 @@ | |
|
|
||
| <artifactId>spring-cloud-kubernetes-commons</artifactId> | ||
| <name>${project.artifactId}</name> | ||
| <build> | ||
| <plugins> | ||
| <plugin> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. drop explicit java version |
||
| <groupId>org.apache.maven.plugins</groupId> | ||
| <artifactId>maven-compiler-plugin</artifactId> | ||
| <configuration> | ||
| <source>17</source> | ||
| <target>17</target> | ||
| </configuration> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
| <dependencies> | ||
| <dependency> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,8 +11,7 @@ | |
|
|
||
| <artifactId>kubernetes-leader-election-example</artifactId> | ||
| <name>Spring Cloud Kubernetes :: Examples :: Leader Election</name> | ||
| <description>Leader election demonstration with Spring Integration and ConfigMap | ||
| </description> | ||
| <description>Leader election demonstration with Spring Integration and ConfigMap</description> | ||
|
|
||
| <dependencyManagement> | ||
| <dependencies> | ||
|
|
@@ -73,14 +72,6 @@ | |
| <skip>true</skip> | ||
| </configuration> | ||
| </plugin> | ||
| <plugin> | ||
| <artifactId>maven-surefire-plugin</artifactId> | ||
|
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. remove explicit versions and use the inherited ones |
||
| <version>3.1.2</version> | ||
| </plugin> | ||
| <plugin> | ||
| <artifactId>maven-failsafe-plugin</artifactId> | ||
| <version>3.1.2</version> | ||
| </plugin> | ||
| </plugins> | ||
| </build> | ||
|
|
||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
about 1m improvement here because of this