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

Default maven repository update and checksum policies #1977

Closed
aloubyansky opened this issue Apr 10, 2019 · 0 comments
Closed

Default maven repository update and checksum policies #1977

aloubyansky opened this issue Apr 10, 2019 · 0 comments
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@aloubyansky
Copy link
Member

In case update and checksum policies are not explicitly configured, e.g.

                    <id>repository-snapshots-apache</id>
                    <url>https://repository.apache.org/content/groups/snapshots</url>
                    <releases>
                        <enabled>true</enabled>
                    </releases>
                    <snapshots>
                        <enabled>true</enabled>
                    </snapshots>
                </repository>

Maven will use daily and warn respectively. However maven-resolver which we use during test classloading setup will log a warning and use never as the update policy.
To keep it consistent with the Maven default behavior our maven repo initializer should use the same defaults.

@aloubyansky aloubyansky self-assigned this Apr 10, 2019
@aloubyansky aloubyansky added the kind/bug Something isn't working label Apr 10, 2019
@gsmet gsmet added this to the 0.13.2 milestone Apr 10, 2019
@gsmet gsmet closed this as completed Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants