-
Notifications
You must be signed in to change notification settings - Fork 423
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
»Unknown lifecycle phase "/root/.m2"« when using mvnw #301
Comments
Build with |
this means that something is passing I cannot try it because going to the link you provided I cannot clone that commit
|
found the PR, the problem is that
so you would need to unset it was reported also as https://issues.jenkins.io/browse/JENKINS-47890 |
this was actually fixed or mitigated 5 years ago in 0490eff when using the entrypoint |
* We use a new jdk17 agent without maven installed to avoid the `MAVEN_CONFIG` environment variable * carlossg/docker-maven#301 (comment)
Hi!
I tried your images, but I am unable to use
mvnw
. The wrapper script seems to do a bit too much of magic.The maven image was chosen because I could not find any other image with both git and java installed.
Maven command
https://github.com/georgberky/dependency-update-maven-plugin/blob/47490170e35f70e986fa843860eb5395e942d392/.drone.yml#L17-L25
##Drone CI output
https://cloud.drone.io/georgberky/dependency-update-maven-plugin/142/1/2
... will add -e (
--errors
) and see what it says.The text was updated successfully, but these errors were encountered: