Skip to content

mvn compile failing. Could not resolve dependencies #1381

@bodymindarts

Description

@bodymindarts

Just trying to compile antlr locally on MacOS Sierra 10.12.1 following this doc.
This is the end of the mvn compile run:

[INFO] ------------------------------------------------------------------------
[INFO] Building ANTLR 4 Tool Tests 4.6-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] ANTLR 4 ............................................ SUCCESS [  0.759 s]
[INFO] ANTLR 4 Runtime .................................... SUCCESS [  5.714 s]
[INFO] ANTLR 4 Tool ....................................... SUCCESS [  1.896 s]
[INFO] ANTLR 4 Maven plugin ............................... SUCCESS [  2.277 s]
[INFO] ANTLR 4 Runtime Test Annotations ................... SUCCESS [  0.014 s]
[INFO] ANTLR 4 Runtime Test Processors .................... SUCCESS [  0.014 s]
[INFO] ANTLR 4 Runtime Tests (2nd generation) ............. SUCCESS [  1.357 s]
[INFO] ANTLR 4 Tool Tests ................................. FAILURE [  0.018 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 12.323 s
[INFO] Finished at: 2016-11-20T16:42:17+01:00
[INFO] Final Memory: 38M/431M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project antlr4-tool-testsuite: Could not resolve dependencies for project org.antlr:antlr4-tool-testsuite:jar:4.6-SNAPSHOT: The following artifacts could not be resolved: org.antlr:antlr4-runtime-testsuite:jar:tests:4.6-SNAPSHOT, org.antlr:antlr4:jar:tests:4.6-SNAPSHOT: Failure to find org.antlr:antlr4-runtime-testsuite:jar:tests:4.6-SNAPSHOT in https://oss.sonatype.org/content/repositories/snapshots was cached in the local repository, resolution will not be reattempted until the update interval of sonatype-nexus-snapshots 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
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :antlr4-tool-testsuite

All help apreciated

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions