Skip to content

CodeNarc is failing with "Could not find artifact org.codehaus.groovy:groovy-all:jar:2.5.13" #1478

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

Closed
php-coder opened this issue Dec 21, 2020 · 2 comments

Comments

@php-coder
Copy link
Owner

Seen there https://travis-ci.org/github/php-coder/mystamps/jobs/750863431:

[INFO] --- codenarc-maven-plugin:0.22-1:codenarc (default-cli) @ mystamps ---
[INFO] sourceDirectory is /home/travis/build/php-coder/mystamps/src/test/groovy
[INFO] sourceDirectory is /home/travis/build/php-coder/mystamps/src/test/groovy
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  4.792 s
[INFO] Finished at: 2020-12-21T16:27:48Z
[INFO] ------------------------------------------------------------------------
[ERROR] Could not find artifact org.codehaus.groovy:groovy-all:jar:2.5.13 in google-maven-central (https://maven-central.storage-download.googleapis.com/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.codehaus.groovy -DartifactId=groovy-all -Dversion=2.5.13 -Dpackaging=jar -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.codehaus.groovy -DartifactId=groovy-all -Dversion=2.5.13 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
[ERROR] 
[ERROR] 
[ERROR]   org.codehaus.groovy:groovy-all:jar:2.5.13
[ERROR] 
[ERROR] from the specified remote repositories:
[ERROR]   google-maven-central (https://maven-central.storage-download.googleapis.com/maven2/, releases=true, snapshots=false),
[ERROR]   sonatype (https://oss.sonatype.org/content/repositories/releases/, releases=true, snapshots=false),
[ERROR]   sonatype-snapshots (https://oss.sonatype.org/content/repositories/snapshots/, releases=false, snapshots=true),
[ERROR]   sonatype-apache (https://repository.apache.org/content/repositories/releases/, releases=true, snapshots=false),
[ERROR]   apache-snapshots (https://repository.apache.org/snapshots/, releases=false, snapshots=true)

Regression from e9eb623 commit (#1161)

@php-coder
Copy link
Owner Author

When I pushed a broken commit, CodeNarc didn't run and that's why I didn't caught the issue early. We should run CodeNarc also when pom.xml has been changed.

@php-coder
Copy link
Owner Author

When I pushed a broken commit, CodeNarc didn't run and that's why I didn't caught the issue early. We should run CodeNarc also when pom.xml has been changed.

I've created a separate issue for that: #1479

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant