Skip to content

Instantly share code, notes, and snippets.

@ferrybig
Created March 18, 2016 13:10
Show Gist options
  • Save ferrybig/a53020234acc9849e229 to your computer and use it in GitHub Desktop.
Save ferrybig/a53020234acc9849e229 to your computer and use it in GitHub Desktop.

C:\Users\Fernando\Documents\NetBeansProjects\minigame>mvn -o verify -Dmaven.repo.local=../repo-test

[INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building minigame 1.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-enforcer-plugin:1.4.1:enforce (enforce-versions) @ minigame ---

[WARNING] The POM for org.apache.maven:maven-artifact:jar:2.2.1 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-plugin-api:jar:2.2.1 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-project:jar:2.2.1 is missing, no dependency information available
[WARNING] The POM for org.apache.maven:maven-core:jar:2.2.1 is missing, no dependency information available
[WARNING] The POM for org.codehaus.plexus:plexus-utils:jar:3.0.22 is missing, no dependency information available
[WARNING] The POM for commons-lang:commons-lang:jar:2.3 is missing, no dependency information available
[WARNING] The POM for org.apache.maven.enforcer:enforcer-api:jar:1.4.1 is missing, no dependency information available
[WARNING] The POM for org.apache.maven.enforcer:enforcer-rules:jar:1.4.1 is missing, no dependency information available
[WARNING] The POM for org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:1.3 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 2.419 s
[INFO] Finished at: 2016-03-18T14:08:27+01:00
[INFO] Final Memory: 9M/80M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce (enforce-versions) on project minigame: Execution enforce-versions of goal org.apache.maven.plugins:maven-enforcer-plugin:1.4.1:enforce failed: Plugin org.apache.maven.plugins:maven-enforcer-plugin:1.4.1 or one of its dependencies could not be resolved: The following artifacts could not be resolved: org.apache.maven:maven-artifact:jar:2.2.1, org.apache.maven:maven-plugin-api:jar:2.2.1, org.apache.maven:maven-project:jar:2.2.1, org.apache.maven:maven-core:jar:2.2.1, org.codehaus.plexus:plexus-utils:jar:3.0.22, commons-lang:commons-lang:jar:2.3, org.apache.maven.enforcer:enforcer-api:jar:1.4.1, org.apache.maven.enforcer:enforcer-rules:jar:1.4.1, org.apache.maven.plugin-testing:maven-plugin-testing-harness:jar:1.3: Cannot access central (https://repo.maven.apache.org/maven2) in offline mode and the artifact org.apache.maven:maven-artifact:jar:2.2.1 has not been downloaded from it before. -> [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/PluginResolutionException
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment