Build failed with an exception - Could not determine the dependencies of task ':fatJar'
bardware opened this issue · comments
Bernhard Döbler commented
Hi,
I updated my local copy of this repo to tags/CFLint-1.5.0
and called ./gradlew build --stacktrace
. I ended up with an exception
* What went wrong:
Could not determine the dependencies of task ':fatJar'.
> Could not resolve all files for configuration ':runtime'.
> Could not resolve com.github.cfparser:cfml.parsing:2.11.0.
Required by:
project :
> Could not resolve com.github.cfparser:cfml.parsing:2.11.0.
> Could not get resource 'http://repo.maven.apache.org/maven2/com/github/cfparser/cfml.parsing/2.11.0/cfml.parsing-2.11.0.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/com/github/cfparser/cfml.parsing/2.11.0/cfml.parsing-2.11.0.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve commons-cli:commons-cli:1.2.
Required by:
project :
> Could not resolve commons-cli:commons-cli:1.2.
> Could not get resource 'http://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/commons-cli/commons-cli/1.2/commons-cli-1.2.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve ro.fortsoft.pf4j:pf4j:0.6.
Required by:
project :
> Could not resolve ro.fortsoft.pf4j:pf4j:0.6.
> Could not get resource 'http://repo.maven.apache.org/maven2/ro/fortsoft/pf4j/pf4j/0.6/pf4j-0.6.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/ro/fortsoft/pf4j/pf4j/0.6/pf4j-0.6.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve ant:ant:1.7.0.
Required by:
project :
> Could not resolve ant:ant:1.7.0.
> Could not get resource 'http://repo.maven.apache.org/maven2/ant/ant/1.7.0/ant-1.7.0.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/ant/ant/1.7.0/ant-1.7.0.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve com.sun.xml.bind:jaxb-impl:2.1.8.
Required by:
project :
> Could not resolve com.sun.xml.bind:jaxb-impl:2.1.8.
> Could not get resource 'http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/com/sun/xml/bind/jaxb-impl/2.1.8/jaxb-impl-2.1.8.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve com.fasterxml.jackson.core:jackson-core:2.10.1.
Required by:
project :
> Could not resolve com.fasterxml.jackson.core:jackson-core:2.10.1.
> Could not get resource 'http://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.10.1/jackson-core-2.10.1.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/com/fasterxml/jackson/core/jackson-core/2.10.1/jackson-core-2.10.1.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.10.1.
Required by:
project :
> Could not resolve com.fasterxml.jackson.module:jackson-module-jaxb-annotations:2.10.1.
> Could not get resource 'http://repo.maven.apache.org/maven2/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.10.1/jackson-module-jaxb-annotations-2.10.1.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/com/fasterxml/jackson/module/jackson-module-jaxb-annotations/2.10.1/jackson-module-jaxb-annotations-2.10.1.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve net.java.dev.stax-utils:stax-utils:20070216.
Required by:
project :
> Could not resolve net.java.dev.stax-utils:stax-utils:20070216.
> Could not get resource 'http://repo.maven.apache.org/maven2/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.pom'.
> Could not GET 'http://repo.maven.apache.org/maven2/net/java/dev/stax-utils/stax-utils/20070216/stax-utils-20070216.pom'. Received status code 501 from server: HTTPS Required
> Could not resolve commons-io:commons-io:2.5.
Required by:
project :
> Could not resolve commons-io:commons-io:2.5.
> Could not get resource 'http://repo.maven.apache.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.pom'.
> Could not HEAD 'http://repo.maven.apache.org/maven2/commons-io/commons-io/2.5/commons-io-2.5.pom'. Received status code 501 from server: HTTPS Required
That is because the server is not addressed via https. I tried before (few days back) and got some certificate error also. Is there something you can correct?