Debug School

Rajesh Kumar
Rajesh Kumar

Posted on

Maven Error: Failed to execute goal on project

Today while running "mvn compile" i got following error. Can you plz help me with it???

[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project malu: Could not resolve dependencies for project com.devopsschool.software:malu:jar:1.0-SNAPSHOT: com.devopsschool.software:anshul:jar:1.0 was not found in http://192.168.1.6:8081/artifactory/group during a previous attempt. This failure was cached in the local repository and resolution is not reattempted until the update interval of central has elapsed or updates are forced -> [Help 1]



PS C:\RajeshAll\workspace\maven\malu> mvn compile -U
[INFO] Scanning for projects...
[INFO]
[INFO] -------------------< com.devopsschool.software:malu >-------------------
[INFO] Building malu 1.0-SNAPSHOT
[INFO] --------------------------------[ jar ]---------------------------------
Downloading from central: http://192.168.1.6:8081/artifactory/group/com/devopsschool/software/anshul/1.0/anshul-1.0.pom
[WARNING] The POM for com.devopsschool.software:anshul:jar:1.0 is missing, no dependency information available
Downloading from central: http://192.168.1.6:8081/artifactory/group/com/devopsschool/software/anshul/1.0/anshul-1.0.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  1.810 s
[INFO] Finished at: 2022-10-29T12:28:31+05:30
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project malu: Could not resolve dependencies for project com.devopsschool.software:malu:jar:1.0-SNAPSHOT: Could not find artifact com.devopsschool.software:anshul:jar:1.0 in central (http://192.168.1.6:8081/artifactory/group) -> [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/DependencyResolutionException
Enter fullscreen mode Exit fullscreen mode

Top comments (0)