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

BATIK-1375. Disable releases for apache.snapshots repo #59

Closed
wants to merge 1 commit into from

Conversation

adoroszlai
Copy link

What changes were proposed in this pull request?

Build tries to download release artifacts from Apache snapshots repo:

Downloading from apache.snapshots.https: https://repository.apache.org/content/repositories/snapshots/org/python/jython/2.7.0/jython-2.7.0.pom
Downloading from central: https://repo.maven.apache.org/maven2/org/python/jython/2.7.0/jython-2.7.0.pom
Downloaded from central: https://repo.maven.apache.org/maven2/org/python/jython/2.7.0/jython-2.7.0.pom (1.4 kB at 102 kB/s)

The Apache snapshot repository should be enabled only for snapshots.

enabled: true or false for whether this repository is enabled for the respective type (releases or snapshots). By default this is true. (source)

https://issues.apache.org/jira/browse/BATIK-1375

How was this patch tested?

Local build.

Repo list:

$ mvn -N --batch-mode eu.maveniverse.maven.plugins:toolbox:list-repositories
...
[INFO] --- toolbox:0.6.0:list-repositories (default-cli) @ batik ---
[INFO] Remote repositories used by project org.apache.xmlgraphics:batik:pom:1.18.0-SNAPSHOT.
[INFO]  * central (https://repo.maven.apache.org/maven2/, default, releases)
[INFO]    First introduced on root
[INFO]  * apache.snapshots.https (https://repository.apache.org/content/repositories/snapshots, default, snapshots)
[INFO]    First introduced on root

@adoroszlai
Copy link
Author

Thanks @simonsteiner1984 for committing this as dba0121.

@adoroszlai adoroszlai closed this Dec 15, 2024
@adoroszlai adoroszlai deleted the BATIK-1375 branch December 15, 2024 11:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant