Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.5:exec (default) on project referenceapplication-omod

Thank you for help and sharing your idea @dkayiwa. It motivates us to investigate and look for solution.

I looked and tried different ways and the finally the Ref App Module is built successfully. I just delete all the folders in (.m2/repository/ ) and build it again with following command

mvn clean install -DskipTests=true

I feel that there was conflict between old and new version of libraries.

I am also getting same Error in Bahmni Application execution

F:\Development Files\bahmni g\Testting project\bahmni\bahmni-core\bahmnicore-omod>mvn clean install [INFO] Scanning for projects… [WARNING] [WARNING] Some problems were encountered while building the effective model for org.bahmni.module:bahmnicore-omod:jar:0.91-SNAPSHOT [WARNING] ‘dependencies.dependency.(groupId:artifactId:type:classifier)’ must be unique: org.openmrs.module:rulesengine-api:jar -> duplicate declaration of version 0.91-SNAPSHOT @ org.bahmni.module:bahmnicore-omod:[unknown-version], F:\Development Files\bahmni g\Testting project\bahmni\bahmni-core\bahmnicore-omod\pom.xml, line 292, column 21 [WARNING] ‘dependencyManagement.dependencies.dependency.(groupId:artifactId:type:classifier)’ must be unique: javax.servlet:javax.servlet-api:jar -> duplicate declaration of version 3.0.1 @ org.bahmni.module:bahmni:0.91-SNAPSHOT, F:\Development Files\bahmni g\Testting project\bahmni\bahmni-core\pom.xml, line 317, column 25 [WARNING] ‘build.plugins.plugin.version’ for de.saumya.mojo:gem-maven-plugin is missing. @ org.bahmni.module:bahmnicore-omod:[unknown-version], F:\Development Files\bahmni g\Testting project\bahmni\bahmni-core\bahmnicore-omod\pom.xml, line 529, column 21 [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] -----------------< org.bahmni.module:bahmnicore-omod >------------------ [INFO] Building BahmniEMR Core OMOD 0.91-SNAPSHOT [INFO] --------------------------------[ jar ]--------------------------------- Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/sass/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/sass/maven-metadata.xml Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/sass/maven-metadata.xml (402 B at 37 B/s) Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/compass-core/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/compass-core/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/multi_json/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/multi_json/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/compass-import-once/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/compass-import-once/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/chunky_png/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/chunky_png/maven-metadata.xml Downloaded from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/chunky_png/maven-metadata.xml (346 B at 98 B/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/rb-fsevent/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/rb-fsevent/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Checksum validation failed, expected 1e3d630431ede388da47fef1392ca0c673fb9e66 but is b58b158eee663b55cd9f41185c0bf3581b639279 from repo.mybahmni.org for http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml [WARNING] Could not validate integrity of download from http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml: Checksum validation failed, expected 1e3d630431ede388da47fef1392ca0c673fb9e66 but is b58b158eee663b55cd9f41185c0bf3581b639279 [WARNING] Checksum validation failed, expected 1e3d630431ede388da47fef1392ca0c673fb9e66 but is b58b158eee663b55cd9f41185c0bf3581b639279 from repo.mybahmni.org for http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes-api/1.0-SNAPSHOT/maven-metadata.xml (319 B at 142 B/s) Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/openmrs/module/episodes/1.0-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes/1.0-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/episodes/1.0-SNAPSHOT/maven-metadata.xml (599 B at 628 B/s) Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/rubygems/ffi/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/rubygems/ffi/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/mail-appender/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/mail-appender/0.91-SNAPSHOT/maven-metadata.xml (1.2 kB at 695 B/s) Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmni-java-utils/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-java-utils/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-java-utils/0.91-SNAPSHOT/maven-metadata.xml (609 B at 696 B/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices-omod/1.1-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices-omod/1.1-SNAPSHOT/maven-metadata.xml (784 B at 857 B/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices/1.1-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices/1.1-SNAPSHOT/maven-metadata.xml (608 B at 668 B/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices-api/1.1-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/openmrs/module/idgen-webservices-api/1.1-SNAPSHOT/maven-metadata.xml (783 B at 834 B/s) Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/maven-metadata.xml (997 B at 1.1 kB/s) Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-api/0.91-SNAPSHOT/bahmnicore-api-0.91-20180320.121514-114.pom (9.3 kB at 6.7 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni/0.91-SNAPSHOT/maven-metadata.xml (602 B at 578 B/s) Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/maven-metadata.xml (997 B at 1.1 kB/s) Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-emr-api/0.91-SNAPSHOT/bahmni-emr-api-0.91-20180320.121447-115.pom (7.4 kB at 8.2 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-mapping/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-mapping/0.91-SNAPSHOT/maven-metadata.xml (997 B at 1.0 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/obs-relationship/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/obs-relationship/0.91-SNAPSHOT/maven-metadata.xml (999 B at 1.1 kB/s) Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/web-clients/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/web-clients/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/web-clients/0.91-SNAPSHOT/maven-metadata.xml (986 B at 976 B/s) Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml (988 B at 1.1 kB/s) Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/admin/0.91-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/admin/0.91-SNAPSHOT/admin-0.91-20180320.121550-114.pom (10 kB at 11 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/common/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/common/0.91-SNAPSHOT/maven-metadata.xml (981 B at 1.1 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/file-uploader/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/file-uploader/0.91-SNAPSHOT/maven-metadata.xml (988 B at 1.1 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-migrator/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmni-migrator/0.91-SNAPSHOT/maven-metadata.xml (990 B at 1.1 kB/s) Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/maven-metadata.xml (1.0 kB at 676 B/s) Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data-api/0.91-SNAPSHOT/reference-data-api-0.91-20180320.121534-114.pom (4.0 kB at 2.8 kB/s) Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data/0.91-SNAPSHOT/maven-metadata.xml (610 B at 682 B/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data/0.91-SNAPSHOT/reference-data-0.91-20180320.121530-114.pom Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/reference-data/0.91-SNAPSHOT/reference-data-0.91-20180320.121530-114.pom (3.4 kB at 3.8 kB/s) Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/test/bahmni-test-commons/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/test/bahmni-test-commons/0.91-SNAPSHOT/maven-metadata.xml (1.0 kB at 1.1 kB/s) Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from apache-maven-release: https://repository.apache.org/content/repositories/releases/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from JBoss: http://repository.jboss.org/nexus/content/groups/public-jboss/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from spring-repo: http://maven.springframework.org/milestone/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from openmrs-repo: http://mavenrepo.openmrs.org/nexus/content/repositories/public/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from repo.mybahmni.org-release: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/release/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloaded from repo.mybahmni.org: http://repo.mybahmni.org.s3.amazonaws.com/artifactory/snapshot/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml (996 B at 1.0 kB/s) Downloading from rubygems-releases: http://rubygems-proxy.torquebox.org/releases/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/maven-metadata.xml Downloading from sonatype-nexus-snapshots: https://oss.sonatype.org/content/repositories/snapshots/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/bahmnicore-ui-0.91-20180320.121556-114.pom Downloading from central: http://repo1.maven.org/maven2/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/bahmnicore-ui-0.91-20180320.121556-114.pom Downloading from spring-maven-release: http://maven.springframework.org/release/org/bahmni/module/bahmnicore-ui/0.91-SNAPSHOT/bahmnicore-ui-0.91-20180320.121556-114.pom

[INFO] do_configuration at file:/C:/Users/Tattva PC - 1/.m2/repository/org/jruby/jruby-complete/1.7.10/jruby-complete-1.7.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/gem_runner.rb:74 [INFO] run at file:/C:/Users/Tattva PC - 1/.m2/repository/org/jruby/jruby-complete/1.7.10/jruby-complete-1.7.10.jar!/META-INF/jruby.home/lib/ruby/shared/rubygems/gem_runner.rb:39 [INFO] load at org/jruby/RubyKernel.java:1099 [INFO] (root) at file:C:/Users/Tattva PC - 1/.m2/repository/org/jruby/jruby-complete/1.7.10/jruby-complete-1.7.10.jar!/META-INF/jruby.home/bin/jgem:21 [INFO] load at org/jruby/RubyKernel.java:1099 [INFO] (root) at -e:1 [INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 02:37 min [INFO] Finished at: 2018-03-21T12:17:03+05:30 [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal de.saumya.mojo:gem-maven-plugin:1.1.5:exec (default) on project bahmnicore-omod: Execution default of goal de.saumya.mojo:gem-maven-plugin:1.1.5:exec failed: Java returned: 1 -> [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/PluginExecutionException

i got the same error a few days back while using reference application module and tried to look in the solutions here,i tried running mvn clean install in command prompt and the error was not solved,but when i removed

de.saumya.mojo gem-maven-plugin true exec generate-resources 1.7.10 ${gem.home}/bin/compass compile ${basedir}/src/main/compass

from the pom.xml of the reference application module,then running mvn clean install -DskipTests=true within the command prompt made the build successfull