Open chrisp1001 opened 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.
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.
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>
Could you submit pull request with the pom change? I will merge that into develop branch.
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.
Thank you, @sptrakesh. That did the trick!
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