Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kiiza@kiiza-Extensa-5635Z:~/openmrs/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.7.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:sysadmin-api:jar -> duplicate declaration of version ${sysadminVersion} @ org.openmrs.distro:referenceapplication:2.7.0-SNAPSHOT, /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml, line 403, column 16
- [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:addresshierarchy-api:jar -> duplicate declaration of version ${addresshierarchyVersion} @ org.openmrs.distro:referenceapplication:2.7.0-SNAPSHOT, /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml, line 409, column 16
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication-ui-tests:jar:2.7.0-SNAPSHOT
- [WARNING] 'build.plugins.plugin.version' for org.apache.maven.plugins:maven-deploy-plugin is missing. @ line 102, column 21
- [WARNING]
- [WARNING] Some problems were encountered while building the effective model for org.openmrs.distro:referenceapplication:pom:2.7.0-SNAPSHOT
- [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:sysadmin-api:jar -> duplicate declaration of version ${sysadminVersion} @ line 403, column 16
- [WARNING] 'dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.openmrs.module:addresshierarchy-api:jar -> duplicate declaration of version ${addresshierarchyVersion} @ line 409, column 16
- [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
- [INFO] Reference Application Distribution Package
- [INFO] Reference Application Distribution UI Tests
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Reference Application Distribution 2.7.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication ---
- [INFO]
- [INFO] --- maven-install-plugin:2.3:install (default-install) @ referenceapplication ---
- [INFO] Installing /home/kiiza/openmrs/openmrs-distro-referenceapplication/pom.xml to /home/kiiza/.m2/repository/org/openmrs/distro/referenceapplication/2.7.0-SNAPSHOT/referenceapplication-2.7.0-SNAPSHOT.pom
- [INFO]
- [INFO] ------------------------------------------------------------------------
- [INFO] Building Reference Application Distribution Package 2.7.0-SNAPSHOT
- [INFO] ------------------------------------------------------------------------
- [INFO]
- [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ referenceapplication-package ---
- [INFO] Deleting /home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target
- [INFO]
- [INFO] --- openmrs-sdk-maven-plugin:3.9.0:build-distro (build-distro) @ referenceapplication-package ---
- Downloading modules...
- [INFO] Configured Artifact: org.openmrs.web:openmrs-webapp:2.0.5:war
- [INFO] Copying openmrs-webapp-2.0.5.war to /home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.0.5.war
- file:/home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web/openmrs-2.0.5.war
- target:/home/kiiza/openmrs/openmrs-distro-referenceapplication/package/target/distro/web
- [INFO] Configured Artifact: org.openmrs.module:legacyui-omod:1.3.3:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatadeploy-omod:1.9.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingrest-omod:1.9.0:jar
- [INFO] Configured Artifact: org.openmrs.module:owa-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:serialization.xstream-omod:0.2.13:omod
- [INFO] Configured Artifact: org.openmrs.module:registrationapp-omod:1.10.0:jar
- [INFO] Configured Artifact: org.openmrs:event-omod:2.6.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uilibrary-omod:2.0.6:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlwidgets-omod:1.9.0:jar
- [INFO] Configured Artifact: org.openmrs.module:dataexchange-omod:1.3.2:jar
- [INFO] Configured Artifact: org.openmrs.module:appui-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:allergyui-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:providermanagement-omod:2.9.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentschedulingui-omod:1.6.1:jar
- [INFO] Configured Artifact: org.openmrs.module:formentryapp-omod:1.4.2:jar
- [INFO] Configured Artifact: org.openmrs.module:idgen-omod:4.4.1:jar
- [INFO] Configured Artifact: org.openmrs.module:metadatamapping-omod:1.3.3:jar
- [INFO] Configured Artifact: org.openmrs.module:chartsearch-omod:2.1.0:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentryui-omod:1.6.4:jar
- [INFO] Configured Artifact: org.openmrs.module:referencedemodata-omod:1.4.3:jar
- [INFO] Configured Artifact: org.openmrs.module:emrapi-omod:1.23.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referenceapplication-omod:2.6.0:jar
- [INFO] Configured Artifact: org.openmrs.module:htmlformentry-omod:3.4.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appframework-omod:2.10.0:jar
- [INFO] Configured Artifact: org.openmrs.module:referencemetadata-omod:2.7.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingui-omod:1.5.0:jar
- [INFO] Configured Artifact: org.openmrs.module:coreapps-omod:1.17.0:jar
- [INFO] Configured Artifact: org.openmrs.module:reportingcompatibility-omod:2.0.4:jar
- [INFO] Configured Artifact: org.openmrs.module:reporting-omod:1.15.0:jar
- [INFO] Configured Artifact: org.openmrs.module:adminui-omod:1.2.2:jar
- [INFO] Configured Artifact: org.openmrs.module:registrationcore-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:appointmentscheduling-omod:1.8.0:jar
- [INFO] Configured Artifact: org.openmrs.module:calculation-omod:1.2:jar
- [INFO] Configured Artifact: org.openmrs.module:webservices.rest-omod:2.21.0:jar
- [INFO] Configured Artifact: org.openmrs.module:atlas-omod:2.2:omod
- [INFO] Configured Artifact: org.openmrs.module:uicommons-omod:2.4.0:jar
- [INFO] Configured Artifact: org.openmrs.module:uiframework-omod:2.2.0:jar
- [INFO] ------------------------------------------------------------------------
- [INFO] Reactor Summary:
- [INFO]
- [INFO] Reference Application Distribution ................ SUCCESS [1.038s]
- [INFO] Reference Application Distribution Package ........ FAILURE [4.586s]
- [INFO] Reference Application Distribution UI Tests ....... SKIPPED
- [INFO] ------------------------------------------------------------------------
- [INFO] BUILD FAILURE
- [INFO] ------------------------------------------------------------------------
- [INFO] Total time: 6.186s
- [INFO] Finished at: Wed Nov 08 16:21:44 EAT 2017
- [INFO] Final Memory: 22M/257M
- [INFO] ------------------------------------------------------------------------
- [ERROR] Failed to execute goal org.openmrs.maven.plugins:openmrs-sdk-maven-plugin:3.9.0:build-distro (build-distro) on project referenceapplication-package: Unable to execute mojo: Unable to find artifact. Failure to find org.openmrs.module:uiframework-omod:jar:2.2.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=uiframework-omod -Dversion=2.2.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=uiframework-omod -Dversion=2.2.0 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
- [ERROR]
- [ERROR]
- [ERROR] org.openmrs.module:uiframework-omod:jar:2.2.0
- [ERROR]
- [ERROR] from the specified remote repositories:
- [ERROR] openmrs-repo (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] central (http://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 <goals> -rf :referenceapplication-package
- kiiza@kiiza-Extensa-5635Z:~/openmrs/openmrs-distro-referenceapplication$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement