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

Remove elements repositories and distributionManagement from pom.xml #114

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

mikkoi
Copy link
Contributor

@mikkoi mikkoi commented Mar 19, 2025

Remove elements <repositories> and <distributionManagement>.

By default Maven searches the central repository at https://repo.maven.apache.org/maven2/. Additional repositories can be configured in the pom.xml repositories element.

We deploy to https://oss.sonatype.org/ but the artifacts are published to Maven Central https://mvnrepository.com/artifact/org.finos/finos

We should not guide users to download our artifacts from Sonatype when they are available at Maven Central where Maven by default looks for them.

If user needs to access them from Sonatype, e.g. to access the snapshots, user can configure a mirror in user specific ~/.m2/settings.xml file.

Remove elements `<repositories>` and `<distributionManagement>`.

By default Maven searches the central repository at https://repo.maven.apache.org/maven2/. Additional repositories can be configured in the pom.xml `repositories` element.

We deploy to https://oss.sonatype.org/ but the artifacts are published to Maven Central https://mvnrepository.com/artifact/org.finos/finos

We should not guide users to download our artifacts from Sonatype when they are available at Maven Central where Maven by default looks for them.

If user needs to access them from Sonatype, e.g. to access the snapshots, user can configure a mirror in user specific `~/.m2/settings.xml` file.
@maoo
Copy link
Member

maoo commented Mar 27, 2025

Hi @mikkoi , thanks for the PR! I agree with your comment regarding the download of artifacts, so I agree on the deletion of lines 78-87, though I see that your PR also removes the <distributionManagement> tag, which is needed to release the finos-parent-pom , and is IMO also useful to be inherited by Maven projects using this pom as parent.

WDYT?

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.

2 participants