You need to configure Maven on your machine with the right Jenkins repos. In this case, it's the 'incrementals' one.
Cannot provide a link as I'm offline right now, but googling using the above should help. Le jeu. 16 juil. 2020 à 15:30, Robert Hafner <[email protected]> a écrit : > I'm seeing the following error when attempting to run the docker workflow > plugin demo. Can you tell me how to resolve the dependency issue? > > make -C demo run > > … > > > > [INFO] > ------------------------------------------------------------------------ > > [INFO] BUILD FAILURE > > [INFO] > ------------------------------------------------------------------------ > > [INFO] Total time: 10.456 s > > [INFO] Finished at: 2020-07-16T08:29:22-04:00 > > [INFO] > ------------------------------------------------------------------------ > > [WARNING] The requested profile "consume-incrementals" could not be > activated because it does not exist. > > [WARNING] The requested profile "might-produce-incrementals" could not be > activated because it does not exist. > > [ERROR] Failed to execute goal > org.apache.maven.plugins:maven-dependency-plugin:2.5.1:get (default-cli) on > project standalone-pom: Couldn't download artifact: Could not find artifact > org.jenkins-ci.plugins:docker-commons:hpi:1.7 in central ( > https://repo.maven.apache.org/maven2) > > [ERROR] > > [ERROR] Try downloading the file manually from the project website. > > [ERROR] > > [ERROR] Then, install it using the command: > > [ERROR] mvn install:install-file -DgroupId=org.jenkins-ci.plugins > -DartifactId=docker-commons -Dversion=1.7 -Dpackaging=hpi > -Dfile=/path/to/file > > [ERROR] > > [ERROR] Alternatively, if you host your own repository you can deploy the > file there: > > [ERROR] mvn deploy:deploy-file -DgroupId=org.jenkins-ci.plugins > -DartifactId=docker-commons -Dversion=1.7 -Dpackaging=hpi > -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id] > > [ERROR] > > [ERROR] > > [ERROR] org.jenkins-ci.plugins:docker-commons:hpi:1.7 > > [ERROR] > > [ERROR] from the specified remote repositories: > > [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, > snapshots=false) > > [ERROR] > > [ERROR] -> [Help 1] > > [ERROR] > > [ERROR] To see the full stack trace of the errors, re-run Maven with the > -e switch. > > [ERROR] Re-run Maven using the -X switch to enable full debug logging. > > [ERROR] > > [ERROR] For more information about the errors and possible solutions, > please read the following articles: > > [ERROR] [Help 1] > http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To view this discussion on the web visit > https://groups.google.com/d/msgid/jenkinsci-users/CAO73kxCj1qg%3Dayv-_3m%2By7X1_8ha_sBnCvLoMT4bB3JLZfzJBg%40mail.gmail.com > <https://groups.google.com/d/msgid/jenkinsci-users/CAO73kxCj1qg%3Dayv-_3m%2By7X1_8ha_sBnCvLoMT4bB3JLZfzJBg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/CANWgJS7kMenZsvfJKo5tm%2B46F7n6QAXL1vR3XTmNDwPN%2BNPEhw%40mail.gmail.com.
