![]() ![]() However, if you have a more elegant or better solution, please share! I hope my work can help other people who stumble upon this. If you have the following HTTP repositories defined in the pom.xml: You need to create this unblocker mirror for every repository you have that is blocked. Where inside the tag, you need to specify the id of the blocked repository, and in the tag, you specify the original url of the repository again. mvn directory, add a file named local-settings.xml. mvn directory, add a file named nfig with the content -settings. because you share code with other people or want to use CI/CD with automated testing, you may do the following: Add a directory named. If you work in a project and cannot make sure the Maven settings are always like that, e.g. Pseudo repository to mirror external repositories initially using HTTP. ![]() In the Maven settings (located in $/.m2/settings.xml), the following entry must be removed: I found a solution to do this by inspecting the commit in the Maven git repository that is responsible for the default HTTP blocking: ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |