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

Support for file urls #8

Closed
ghenzler opened this issue Jul 30, 2020 · 0 comments · Fixed by #9
Closed

Support for file urls #8

ghenzler opened this issue Jul 30, 2020 · 0 comments · Fixed by #9

Comments

@ghenzler
Copy link
Member

ghenzler commented Jul 30, 2020

File urls are generally supported for maven repositories: https://maven.apache.org/guides/introduction/introduction-to-repositories.html#internal-repositories

Using file urls with artifacts provided in git repo itself can be useful, especially if it is only about parent poms. The big advantage is that

  • No remote repository on the internet has to be maintained
  • It can also be used for development team members that don't have access to such a repository

For the case the directory .mvn/repository exists in project structure (similar path as ~/.m2/repository), it should automatically be registered as repository. For other location a URL like file://${maven.multiModuleProjectDirectory}/artifacts/vendor1 or file://${maven.multiModuleProjectDirectory}/artifacts/vendor2 shall be supported (automatically replacing ${maven.multiModuleProjectDirectory} with the reactor root.

ghenzler added a commit that referenced this issue Jul 30, 2020
ghenzler added a commit that referenced this issue Jul 30, 2020
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 a pull request may close this issue.

1 participant