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

Chore: use old repo URL for maven releases #173

Merged
merged 1 commit into from
Mar 30, 2023
Merged

Chore: use old repo URL for maven releases #173

merged 1 commit into from
Mar 30, 2023

Conversation

paullatzelsperger
Copy link
Contributor

WHAT

This PR sets a hard-coded repo URL for publishing Maven artifacts, and sets it to the "old" catenax-ng/product-edc repository.

WHY

Until we can publish to OSSRH/MavenCentral (#166) we still need to publish to GitHub Packages.
GH requires that Maven coordinates be unique in the same org.
Since both the old Product-EDC repo and our fork of Tractusx-EDC are in the catenax-ng org, we can only publish packages from either one, not both.

So for the time being we publish "into" the old repo.

FURTHER NOTES

Consumers of the packages must also use the old repo url:

repositories {
    maven {
        url = uri("https://maven.pkg.github.com/catenax-ng/product-edc")
        credentials {
            username = project.findProperty("gpr.user") as String? ?: System.getenv("USERNAME")
            password = project.findProperty("gpr.key") as String? ?: System.getenv("TOKEN")
        }
    }
}

this will go away once we have implemented the OSSRH/MavenCentral release process (#166)

@paullatzelsperger paullatzelsperger removed the request for review from florianrusch-zf March 30, 2023 12:29
@SebastianBezold SebastianBezold merged commit 8be6f9f into eclipse-tractusx:develop Mar 30, 2023
paullatzelsperger pushed a commit to paullatzelsperger/tractusx-edc that referenced this pull request May 4, 2023
…use_old_repourl_for_maven_release

Chore: use old repo URL for maven releases
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.

3 participants