-
Notifications
You must be signed in to change notification settings - Fork 486
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
Make efficient use of Maven caching in CI and Docker builds #6132
Milestone
Comments
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 29, 2019
Enables to use Maven in offline mode: mvn -o package See IQSS#6132 for details.
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 29, 2019
Since 2013, the initial commit d6868ad, added the endorsed Java API. These days, there is no reference to be found installing the resulting files. The API was not included in the WAR file.
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 29, 2019
Will not affect others, as it is completely unrelated to stages. Enables to use Maven in offline mode: mvn -o package See IQSS#6132 for details.
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 29, 2019
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Aug 29, 2019
poikilotherm
added a commit
to poikilotherm/dataverse
that referenced
this issue
Sep 3, 2019
This reverts commit 7bc6c6f.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is related to my other dependency housekeeping things. See #5288 and #5360.
Also related to gdcc/dataverse-kubernetes#64.
.m2/repo
dir, but in ephemeral build envs, this will be lost after each build.To efficiently cache all dependencies and plugins, one needs to tell Maven it shall "download the world" before executing anything else. After that, Maven can be used in offline mode:
mvn -o ...
.However, the official dependency plugin target
mvn dependency:go-offline
does NOT download everything which is necessary: plugins are missing. There are some bugs for this, see MDEP-82, MDEP-516 and many more, but this has not been resolved yet.For further enhancement of our CI and Docker efforts, I would like to add a Maven plugin. It will do no harm to anyone else, as you need to explicitly use it. Otherwise it will do just nothing.
https://github.com/qaware/go-offline-maven-plugin
The text was updated successfully, but these errors were encountered: