Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Some plugins can't be downloaded. So mvn clean install doesn't work
/home/enoabane/jdk-12.0.1/bin/java -Dmaven.multiModuleProjectDirectory=/home/enoabane/openmrs-core -Dmaven.home=/home/enoabane/idea-IU-191.7479.19/plugins/maven/lib/maven3 -Dclassworlds.conf=/home/enoabane/idea-IU-191.7479.19/plugins/maven/lib/maven3/bin/m2.conf -javaagent:/home/enoabane/idea-IU-191.7479.19/lib/idea_rt.jar=40665:/home/enoabane/idea-IU-191.7479.19/bin -Dfile.encoding=UTF-8 -classpath /home/enoabane/idea-IU-191.7479.19/plugins/maven/lib/maven3/boot/plexus-classworlds-2.5.2.jar org.codehaus.classworlds.Launcher -Didea.version2019.1.3 clean install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] OpenMRS
[INFO] openmrs-tools
[INFO] openmrs-test
[INFO] openmrs-api
[INFO] openmrs-web
[INFO] openmrs-webapp
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building OpenMRS 2.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs ---
[INFO] Deleting /home/enoabane/openmrs-core/target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs ---
[INFO] Checking for local modifications: skipped.
[INFO] Updating project files from SCM: skipped.
[INFO] ShortRevision tag detected. The value is '6'.
[INFO] Executing: /bin/sh -c cd /home/enoabane/openmrs-core && git rev-parse --verify --short=6 HEAD
[INFO] Working directory: /home/enoabane/openmrs-core
[INFO] Storing buildNumber: 55e0f2 at timestamp: 1572052806937
[INFO] ShortRevision tag detected. The value is '6'.
[INFO] Executing: /bin/sh -c cd /home/enoabane/openmrs-core && git rev-parse --verify --short=6 HEAD
[INFO] Working directory: /home/enoabane/openmrs-core
[INFO] Storing buildScmBranch: UNKNOWN
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs ---
[INFO]
[INFO] --- maven-jar-plugin:2.3.2:test-jar (default) @ openmrs ---
[WARNING] JAR will be empty - no content was marked for inclusion!
[INFO] Building jar: /home/enoabane/openmrs-core/target/openmrs-2.4.0-SNAPSHOT-tests.jar
[INFO]
[INFO] --- license-maven-plugin:3.0:check (default) @ openmrs ---
[INFO] Checking licenses...
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ openmrs ---
[INFO] Installing /home/enoabane/openmrs-core/pom.xml to /home/enoabane/.m2/repository/org/openmrs/openmrs/2.4.0-SNAPSHOT/openmrs-2.4.0-SNAPSHOT.pom
[INFO] Installing /home/enoabane/openmrs-core/target/openmrs-2.4.0-SNAPSHOT-tests.jar to /home/enoabane/.m2/repository/org/openmrs/openmrs/2.4.0-SNAPSHOT/openmrs-2.4.0-SNAPSHOT-tests.jar
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building openmrs-tools 2.4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ openmrs-tools ---
[INFO] Deleting /home/enoabane/openmrs-core/tools/target
[INFO]
[INFO] --- buildnumber-maven-plugin:1.1:create (default) @ openmrs-tools ---
[INFO]
[INFO] --- build-helper-maven-plugin:1.5:parse-version (parse-version) @ openmrs-tools ---
[INFO]
[INFO] --- maven-resources-plugin:2.4:resources (default-resources) @ openmrs-tools ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:2.1:compile (default-compile) @ openmrs-tools ---
[INFO] Compiling 1 source file to /home/enoabane/openmrs-core/tools/target/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[15,28] error: package com.sun.tools.doclets does not exist
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[20,37] error: cannot find symbol
[ERROR] class Taglet
/home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[29,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[40,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[51,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[62,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[73,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[84,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[96,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[107,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[119,2] error: cannot find symbol
[ERROR] class ShouldTaglet
/home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[119,14] error: cannot find symbol
[ERROR] class ShouldTaglet
/home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[132,1] error: method does not override or implement a method from a supertype
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[143,1] error: method does not override or implement a method from a supertype
[INFO] 14 errors
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] OpenMRS ............................................ SUCCESS [ 2.552 s]
[INFO] openmrs-tools ...................................... FAILURE [ 1.776 s]
[INFO] openmrs-test ....................................... SKIPPED
[INFO] openmrs-api ........................................ SKIPPED
[INFO] openmrs-web ........................................ SKIPPED
[INFO] openmrs-webapp ..................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 4.856 s
[INFO] Finished at: 2019-10-26T02:20:10+01:00
[INFO] Final Memory: 18M/60M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.1:compile (default-compile) on project openmrs-tools: Compilation failure: Compilation failure:
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[15,28] error: package com.sun.tools.doclets does not exist
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[20,37] error: cannot find symbol
[ERROR]
[ERROR] class Taglet
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[29,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[40,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[51,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[62,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[73,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[84,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[96,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[107,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[119,2] error: cannot find symbol
[ERROR]
[ERROR] class ShouldTaglet
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[119,14] error: cannot find symbol
[ERROR]
[ERROR] class ShouldTaglet
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[132,1] error: method does not override or implement a method from a supertype
[ERROR]
[ERROR] /home/enoabane/openmrs-core/tools/src/main/java/org/openmrs/tools/doclet/ShouldTaglet.java:[143,1] error: method does not override or implement a method from a supertype
[ERROR] -> [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/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn <goals> -rf :openmrs-tools
Process finished with exit code 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment