Open stanchovy opened 4 years ago
I am struggling with the same problems and i found out that the root of this problem lies in maven no longer supporting a connection trough http
since January 15, 2020.
https://blog.sonatype.com/central-repository-moving-to-https
Looks like u can fix this by upgrading to the newest version of Ivy. Just download and replace the jar in your walkmod-3.0.0/lib
directory.
I did a vanilla installation of Walkmod on Mac via Homebrew and tried to run it on my existing project. The following seem to indicate that walkmod is doing the wrong thing in pulling dependencies. Can someone help me out? Thanks very much.
$ walkmod apply INFO [main] - Java version: 1.8.0_144 INFO [main] - Java Home: /Library/Java/JavaVirtualMachines/jdk1.8.0_144.jdk/Contents/Home/jre INFO [main] - OS: Mac OS X, Vesion: 10.14.3
An open source tool to apply code conventions version 3.0 - February 2017 -
INFO [main] - /Users/me/work/proj/walkmod.xml [ok] :: loading settings :: url = file:/usr/local/Cellar/walkmod/3.0.0/libexec/config/ivysettings.xml :: loading settings :: url = jar:file:/usr/local/Cellar/walkmod/3.0.0/libexec/lib/ivy-2.4.0-rc1.jar!/org/apache/ivy/core/settings/ivysettings.xml :: resolving dependencies :: org.walkmod#walkmod-gradle-plugin-caller;working confs: [default] found org.walkmod#walkmod-gradle-plugin;1.2.11 in maven2 [1.2.11] org.walkmod#walkmod-gradle-plugin;latest.integration found org.walkmod#javalang;4.8.8 in maven2 [4.8.8] org.walkmod#javalang;[2.0, 5.0) found org.walkmod#merger;1.0.1 in maven2 [1.0.1] org.walkmod#merger;[1.0.1, 2.0) found org.walkmod#model-checker;1.1 in maven2 [1.1] org.walkmod#model-checker;[1.0, 2.0) found org.gradle#gradle-tooling-api;2.10 in springio-release found org.slf4j#slf4j-api;1.7.10 in maven2 found org.walkmod#walkmod-javalang-plugin;3.0.6 in maven2 [3.0.6] org.walkmod#walkmod-javalang-plugin;[2.0, 4.0) found org.walkmod#javalang;4.8.8 in maven2 [4.8.8] org.walkmod#javalang;[3.1.0, 5.0.0) found com.squareup#javapoet;1.8.0 in maven2 found org.walkmod#javalang-compiler;2.3.10 in maven2 [2.3.10] org.walkmod#javalang-compiler;[2.0.0, 3.0.0) found log4j#log4j;1.2.16 in maven2 :: resolution report :: resolve 4263ms :: artifacts dl 18ms
:: problems summary :: :::: WARNINGS module not found: org.walkmod#walkmod-sonar-plugin;latest.integration
:::: ERRORS SERVER ERROR: HTTPS Required url=http://repo1.maven.org/maven2/org/walkmod/walkmod-sonar-plugin/maven-metadata.xml