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

"Recreate artifact repository failed: Repository already exists" when running "tycho-p2-repository-plugin:fix-artifacts-metadata" #4161

Open
tivervac opened this issue Aug 20, 2024 · 0 comments

Comments

@tivervac
Copy link
Contributor

Running mvn install on the following project will fail with the following error:

[ERROR] Failed to execute goal org.eclipse.tycho:tycho-p2-repository-plugin:4.0.8:fix-artifacts-metadata (fix-metadata) on project com.sigasi.test: Could not update p2 repository: Recreate artifact repository failed: Repository already exists at com.sigasi.test/repository. -> [Help 1]

RepositoryAlreadyExists.zip

The problem is that p2 expects no repository to be created, yet we still have an artifact.xml at that point.

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

No branches or pull requests

1 participant