Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- sharif@sharif:~/Documents/Ticket/openmrs-distro-referenceapplication$ mvn clean install
- [INFO] Scanning for projects...
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-package:jar:2.12.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 953, column 12
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-ui-tests:jar:2.12.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 103, column 21
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ org.openmrs.distro:referenceapplication:2.12.0-SNAPSHOT, /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml, line 953, column 12
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.12.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:dataexchange-omod:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 834, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:allergyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 847, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:formentryapp-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 867, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:legacyui-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 934, column 12
- [WARNING] 'dependencyManagement.dependencies.dependency.scope' for org.openmrs.module:reportingcompatibility-api:jar:tests must be one of [provided, compile, runtime, test, system, import] but is 'tests'. @ line 953, column 12
- [WARNING]
- [WARNING] It is highly recommended to fix these problems because they threaten the stability of your build.
- [WARNING]
- [WARNING] For this reason, future Maven versions might no longer support building such malformed projects.
- [WARNING]
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Build Order:
- [INFO]
- [INFO] Reference Application Distribution [pom]
- [INFO] Reference Application Distribution Package [jar]
- [INFO] Reference Application Distribution UI Tests [jar]
- [INFO]
- [INFO] --------------< org.openmrs.distro:referenceapplication >---------------
- [INFO] Building Reference Application Distribution 2.12.0-SNAPSHOT [1/3]
- [INFO] --------------------------------[ pom ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
- [INFO]
- [INFO] --- maven-install-plugin:2.4:install (default-install) @ referenceapplication ---
- [INFO] Installing /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/pom.xml to /home/sharif/.m2/repository/org/openmrs/distro/referenceapplication/2.12.0-SNAPSHOT/referenceapplication-2.12.0-SNAPSHOT.pom
- [INFO]
- [INFO] ----------< org.openmrs.distro:referenceapplication-package >-----------
- [INFO] Building Reference Application Distribution Package 2.12.0-SNAPSHOT [2/3]
- [INFO] --------------------------------[ jar ]---------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-package ---
- [INFO] Deleting /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target
- [INFO]
- [INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ referenceapplication-package ---
- [INFO] Using 'UTF-8' encoding to copy filtered resources.
- [INFO] Copying 1 resource
- [INFO] Copying 2 resources
- [INFO] skip non existing resourceDirectory /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/src/main/webapp
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.12.4:build-distro (build-distro) @ referenceapplication-package ---
- Downloading modules...
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.4.0:war
- [INFO] Copying openmrs-webapp-2.4.0.war to /home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.4.0.war
- file:/home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.4.0.war
- target:/home/sharif/Documents/Ticket/openmrs-distro-referenceapplication/package/target/distro/web
- [INFO] Configured Artifact: org.openmrs.module:addresshierarchy-omod:2.14.2:jar
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.8.2-SNAPSHOT:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.12.1:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.11.0:jar
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.12.0:jar
- [INFO] Configured Artifact: org.openmrs.module:fhir2-omod:1.1.0:jar
- [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.14:omod
- [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.22.0:jar
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary for Reference Application Distribution 2.12.0-SNAPSHOT:
- [INFO]
- [INFO] Reference Application Distribution ................. SUCCESS [ 0.353 s]
- [INFO] Reference Application Distribution Package ......... FAILURE [ 3.175 s]
- [INFO] Reference Application Distribution UI Tests ........ SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 3.764 s
- [INFO] Finished at: 2021-02-08T21:03:04+03:00
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.12.4:build-distro (build-distro) on project referenceapplication-package: Unable to execute mojo: Unable to find artifact. Failure to find org.openmrs.module:registrationapp-omod:jar:1.22.0 in http://mavenrepo.openmrs.org/nexus/content/repositories/public was cached in the local repository, resolution will not be reattempted until the update interval of openmrs-repo has elapsed or updates are forced
- [ERROR]
- [ERROR] Try downloading the file manually from the project website.
- [ERROR]
- [ERROR] Then, install it using the command:
- [ERROR] mvn install:install-file -DgroupId=org.openmrs.module -DartifactId=registrationapp-omod -Dversion=1.22.0 -Dpackaging=jar -Dfile=/path/to/file
- [ERROR]
- [ERROR] Alternatively, if you host your own repository you can deploy the file there:
- [ERROR] mvn deploy:deploy-file -DgroupId=org.openmrs.module -DartifactId=registrationapp-omod -Dversion=1.22.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
- [ERROR]
- [ERROR]
- [ERROR] org.openmrs.module:registrationapp-omod:jar:1.22.0
- [ERROR]
- [ERROR] from the specified remote repositories:
- [ERROR] openmrs-repo (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
- [ERROR] archetype (http://mavenrepo.openmrs.org/nexus/content/repositories/public, releases=true, snapshots=true),
- [ERROR] openmrs-repo-thirdparty (http://mavenrepo.openmrs.org/nexus/content/repositories/thirdparty, releases=true, snapshots=true),
- [ERROR] openmrs-bintray-repo (https://dl.bintray.com/openmrs/maven/, releases=true, snapshots=true),
- [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)
- [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/MojoExecutionException
- [ERROR]
- [ERROR] After correcting the problems, you can resume the build with the command
- [ERROR] mvn <args> -rf :referenceapplication-package
- sharif@sharif:~/Documents/Ticket/openmrs-distro-referenceapplication$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement