gt-health / GT-FHIR

Georgia Tech FHIR Server Web Page
36 stars 28 forks source link

Build Error #112

Open chrisp1001 opened 7 years ago

chrisp1001 commented 7 years ago

Hello,

when trying to build gt-fhit-webapp some dependencies appear not to be found by maven:

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:04 min [INFO] Finished at: 2017-05-29T14:41:59+02:00 [INFO] Final Memory: 15M/37M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:purge-local-repository (default-cli) on project gt-fhir-webapp: Failed to refresh project dependencies for: edu.gatech.i3l:gt-fhir-webapp:war:2.0-SNAPSHOT: required artifacts missing: [ERROR] edu.gatech.i3l:gt-fhir-overlay:war:2.0-SNAPSHOT [ERROR] edu.gatech.i3l:gt-fhir-entities:jar:2.0-SNAPSHOT [ERROR] edu.gatech.i3l:gt-fhir-jpabase:jar:2.0-SNAPSHOT [ERROR] [ERROR] for the artifact: [ERROR] edu.gatech.i3l:gt-fhir-webapp:war:2.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] oss-snapshots (https://oss.sonatype.org/content/repositories/snapshots/, releases=true, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)

Can you help?

Kind Regards

Christian

jarao commented 7 years ago

Gotta build each dependency successfully in order

On May 29, 2017, at 8:43 AM, chrisp1001 notifications@github.com wrote:

Hello,

when trying to build gt-fhit-webapp some dependencies appear not to be found by maven:

[INFO] ------------------------------------------------------------------------ [INFO] BUILD FAILURE [INFO] ------------------------------------------------------------------------ [INFO] Total time: 01:04 min [INFO] Finished at: 2017-05-29T14:41:59+02:00 [INFO] Final Memory: 15M/37M [INFO] ------------------------------------------------------------------------ [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:purge-local-repository (default-cli) on project gt-fhir-webapp: Failed to refresh project dependencies for: edu.gatech.i3l:gt-fhir-webapp:war:2.0-SNAPSHOT: required artifacts missing: [ERROR] edu.gatech.i3l:gt-fhir-overlay:war:2.0-SNAPSHOT [ERROR] edu.gatech.i3l:gt-fhir-entities:jar:2.0-SNAPSHOT [ERROR] edu.gatech.i3l:gt-fhir-jpabase:jar:2.0-SNAPSHOT [ERROR] [ERROR] for the artifact: [ERROR] edu.gatech.i3l:gt-fhir-webapp:war:2.0-SNAPSHOT [ERROR] [ERROR] from the specified remote repositories: [ERROR] oss-snapshots (https://oss.sonatype.org/content/repositories/snapshots/, releases=true, snapshots=true), [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false)

Can you help?

Kind Regards

Christian

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.

chrisp1001 commented 7 years ago

Alright, makes sense :)

However, could you give a short explanation stepwise, please? Unfortunately, I am not really experienced with Maven. Furthermore, I couldn't find any information on how to build the project in the docs.

sptrakesh commented 7 years ago

I added the following to the top-level pom file and just build from there.


<modules>
<module>gt-fhir-jpabase</module>
<module>gt-fhir-entities</module>
<module>gt-fhir-overlay</module>
<module>gt-fhir-webapp</module>
</modules>
myungchoi commented 7 years ago

Could you submit pull request with the pom change? I will merge that into develop branch.

sptrakesh commented 7 years ago

My fork has changed quite a bit from your tree, so a pull request is difficult and probably not what you want (since it has some domain specific changes). Link below is the diff for the main pom.

https://github.com/sptrakesh/GT-FHIR/commit/d751f6d6cf105a4d9c1b133983c6f579cde45265#diff-600376dffeb79835ede4a0b285078036

cnmaier commented 7 years ago

Thank you, @sptrakesh. That did the trick!