[ERROR] Failed to execute goal on project accord-web-utils:
Could not resolve dependencies for project com.accord.web:accord-web-utils:jar:1.0.4-SNAPSHOT:
Could not find artifact com.accord.business.bafr:accord-business-bafr:jar:1.0.5-SNAPSHOT in snapshots (http://sv0311:8081/artifactory/libs-snapshot) ->
I am getting the above error when I updated the version of com.accord.business.bafr:accord-business-bafr. How can I resolve it?
Related
I am trying to package my JEE application with Maven.
I am getting this error:
Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx.xxx:xxx:war:0.0.1-SNAPSHOT: Failed to collect dependencies at net.sf.jasperreports:jasperreports:jar:6.0.0 ->
org.olap4j:olap4j:jar:0.9.7.309-JS-3: Failed to read artifact descriptor for org.olap4j:olap4j:jar:0.9.7.309-JS-3: Could not transfer artifact org.olap4j:olap4j:pom:0.9.7.309-JS-3 from/to maven-default-http-blocker (http://0.0.0.0/
): Blocked mirror for repositories: [jasperreports (http://jasperreports.sourceforge.net/maven2, default, releases+snapshots), jaspersoft-third-party (http://jaspersoft.artifactoryonline.com/jaspersoft/third-party-ce-artifacts/, default, releases+snapshots)] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal on project xxx: Could not resolve dependencies for project com.xxx.xxx:xxx:war:0.0.1-SNAPSHOT: Failed to collect dependencies at net.sf.jasperreports:jasperreports:jar:6.0.0 -> org.olap4j:olap4j:jar:0.9.7.309-JS-3
I do have this library in my repo :
How could I solve this issue?
I'm trying to build and run the maven project as mentioned here https://github.com/gateio/gateapi-java/tree/master/example. As far as I can see the pom.xml doesn't even mention mockito but the maven build fails with
[ERROR] Failed to execute goal on project gateapi-demo: Could not resolve dependencies for project io.gate.apidemo:gateapi-demo:jar:1.0-SNAPSHOT: Failed to collect dependencies at io.gate:gate-api:jar:5.15.3: Failed to read artifact descriptor for io.gate:gate-api:jar:5.15.3: Could not transfer artifact io.gate:gate-api:pom:5.15.3 from/to mockito (https://mvnrepository.com/artifact/org.mockito/mockito-all): authorization failed for https://mvnrepository.com/artifact/org.mockito/mockito-all/io/gate/gate-api/5.15.3/gate-api-5.15.3.pom, status: 403 Forbidden -> [Help 1]
What is going on here?
I am working with shopizer and I try to use https://github.com/shopizer-ecommerce/shopizer-inventory-csv to upload inventory from a csv file.
I edit . and the I run ./mvnw clean install
But I am getting this error
[ERROR] Failed to execute goal on project shopizer-inventory-csv: Could not resolve dependencies for project com.shopizer:shopizer-inventory-csv:jar:2.0.3-SNAPSHOT: The following artifacts could not be resolved: com.shopizer:sm-core-model:jar:2.0.3-SNAPSHOT, com.shopizer:sm-shop:jar:2.0.3-SNAPSHOT: Could not find artifact com.shopizer:sm-core-model:jar:2.0.3-SNAPSHOT -> [Help 1]
I am trying to verify using this parameter (which work for other projects)
mvn -X verify sonar:sonar -Drevision=4.0.10
Maven fails to download dependency because of the argument not resolved
Failed to execute goal on project APP-ear: Could not resolve
dependencies for project com.orginternational:APP-ear:ear:4.0.10:
Failed to collect dependencies at
com.orginternational:APP-was:war:4.0.10: Failed to read artifact
descriptor for com.orginternational:APP-was:war:4.0.10: Could not
transfer artifact com.orginternational:APP:pom:${revision} from/to en
(https://nexus.example.com/repository/maven-central/): Failed to
transfer file
https://nexus.example.com/repository/maven-central/com/orginternational/APP/$%7Brevision%7D/APP-$%7Brevision%7D.pom
with status code 400 -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
execute goal on project APP-ear: Could not resolve dependencies for
project com.orginternational:APP-ear:ear:4.0.10: Failed to collect
dependencies at com.orginternational:APP-was:war:4.0.10
Any clue how to fix this please?
I have a multi-module Maven project in one root project I just want to add another maven module in the root project which contains many module, so after calling the parent from the pom.xml child I get the following error:
parent pom:
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-dep-mgt (default) on project calender: Found Dependency errors.
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:analyze-dep
-mgt (default) on project calender: Found Dependency errors.
analyze-dep-mgt is a mojo which detects whenever there are dependency mismatches during the final resolution of the build. (https://maven.apache.org/plugins/maven-dependency-plugin/analyze-dep-mgt-mojo.html)
There is likely to be a problem with your dependencies. Check this documentation for more info on how to structure your poms. (https://maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html)
I recently had this error when adding a new dependency in which a transitive dependency was causing the same goal fail. Using an older version of the dependency resolved the issue.