Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Build Error #112

Open
chrisp1001 opened this issue May 29, 2017 · 6 comments
Open

Build Error #112

chrisp1001 opened this issue May 29, 2017 · 6 comments

Comments

@chrisp1001
Copy link

chrisp1001 commented May 29, 2017

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
Copy link
Contributor

jarao commented May 29, 2017 via email

@chrisp1001
Copy link
Author

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
Copy link

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
Copy link
Contributor

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

@sptrakesh
Copy link

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.

sptrakesh@d751f6d#diff-600376dffeb79835ede4a0b285078036

@cnmaier
Copy link

cnmaier commented May 31, 2017

Thank you, @sptrakesh. That did the trick!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants