Skip to content

Instantly share code, notes, and snippets.

@hartbit
Last active December 19, 2015 09:09
Show Gist options
  • Save hartbit/5930717 to your computer and use it in GitHub Desktop.
Save hartbit/5930717 to your computer and use it in GitHub Desktop.
Simple POM errors with: Failure to find org.antlr:antlr4-master:jar:4.0 in http://repo1.maven.org/maven2
[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building gengo 1.0
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 0.300s
[INFO] Finished at: Fri Jul 05 00:47:44 CEST 2013
[INFO] Final Memory: 4M/102M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project gengo: Could not resolve dependencies for project com.hart-dev:gengo:jar:1.0: Failure to find org.antlr:antlr4-master:jar:4.0 in http://repo1.maven.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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
<project>
<modelVersion>4.0.0</modelVersion>
<groupId>com.hart-dev</groupId>
<artifactId>gengo</artifactId>
<version>1.0</version>
<dependencies>
<dependency>
<groupId>org.antlr</groupId>
<artifactId>antlr4-master</artifactId>
<version>[4.0,5.0)</version>
</dependency>
</dependencies>
</project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment