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 fails due to missing azure-storage-blob library #2690

Closed
MFAshby opened this issue Aug 17, 2021 · 2 comments
Closed

Build fails due to missing azure-storage-blob library #2690

MFAshby opened this issue Aug 17, 2021 · 2 comments
Labels
bug Something isn't working

Comments

@MFAshby
Copy link
Contributor

MFAshby commented Aug 17, 2021

Describe the bug
Building with maven as described in CONTRIBUTING.md fails with the error below. This is because azure-storage-blob library version 12.6.0 has been pulled from maven central (see https://repo.maven.apache.org/maven2/com/azure/azure-storage-blob/ , the link to version 12.6.0 returns 404)

Environment
Current main branch.

To Reproduce
Run the below commands:

git clone git@github.com:IBM/FHIR
cd FHIR
mvn clean install -f fhir-parent/pom.xml

Expected behavior
Successful build.

Additional context
Output from build command:

[INFO] -----------------< com.ibm.fhir:fhir-bulkdata-webapp >------------------
[INFO] Building fhir-bulkdata-webapp 4.9.0-SNAPSHOT                     [45/53]
[INFO] --------------------------------[ war ]---------------------------------
[WARNING] The POM for com.azure:azure-storage-blob:jar:12.6.0 is missing, no dependency information available
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for IBM FHIR Server 4.9.0-SNAPSHOT:
[INFO] 
[INFO] IBM FHIR Server .................................... SUCCESS [  3.321 s]
[INFO] fhir-core .......................................... SUCCESS [  2.544 s]
[INFO] fhir-database-utils ................................ SUCCESS [  2.082 s]
[INFO] fhir-config ........................................ SUCCESS [  0.530 s]
[INFO] fhir-cache ......................................... SUCCESS [  0.290 s]
[INFO] fhir-model ......................................... SUCCESS [ 13.664 s]
[INFO] fhir-audit ......................................... SUCCESS [  0.645 s]
[INFO] fhir-registry ...................................... SUCCESS [ 15.991 s]
[INFO] fhir-term .......................................... SUCCESS [  0.507 s]
[INFO] fhir-term-graph .................................... SUCCESS [  2.348 s]
[INFO] fhir-provider ...................................... SUCCESS [  1.027 s]
[INFO] fhir-term-remote ................................... SUCCESS [  0.329 s]
[INFO] fhir-profile ....................................... SUCCESS [  0.270 s]
[INFO] fhir-path .......................................... SUCCESS [  5.033 s]
[INFO] fhir-validation .................................... SUCCESS [  2.483 s]
[INFO] fhir-ig-us-core .................................... SUCCESS [  0.503 s]
[INFO] fhir-ig-carin-bb ................................... SUCCESS [  0.453 s]
[INFO] fhir-ig-mcode ...................................... SUCCESS [  0.443 s]
[INFO] fhir-ig-davinci-pdex-plan-net ...................... SUCCESS [  0.383 s]
[INFO] fhir-ig-davinci-pdex-formulary ..................... SUCCESS [  0.227 s]
[INFO] fhir-ig-davinci-pdex ............................... SUCCESS [  0.193 s]
[INFO] fhir-ig-davinci-hrex ............................... SUCCESS [  0.219 s]
[INFO] fhir-ig-spl ........................................ SUCCESS [  0.348 s]
[INFO] fhir-search ........................................ SUCCESS [  0.819 s]
[INFO] fhir-persistence ................................... SUCCESS [  0.691 s]
[INFO] fhir-persistence-schema ............................ SUCCESS [  2.564 s]
[INFO] fhir-persistence-jdbc .............................. SUCCESS [  1.362 s]
[INFO] fhir-notification .................................. SUCCESS [  0.205 s]
[INFO] fhir-notification-websocket ........................ SUCCESS [  0.108 s]
[INFO] fhir-notification-kafka ............................ SUCCESS [  0.105 s]
[INFO] fhir-notification-nats ............................. SUCCESS [  0.242 s]
[INFO] fhir-server ........................................ SUCCESS [  1.006 s]
[INFO] fhir-operation-test ................................ SUCCESS [  0.257 s]
[INFO] fhir-operation-validate ............................ SUCCESS [  0.236 s]
[INFO] fhir-operation-document ............................ SUCCESS [  0.206 s]
[INFO] fhir-operation-healthcheck ......................... SUCCESS [  0.193 s]
[INFO] fhir-operation-apply ............................... SUCCESS [  0.208 s]
[INFO] fhir-operation-convert ............................. SUCCESS [  0.187 s]
[INFO] fhir-operation-term ................................ SUCCESS [  0.244 s]
[INFO] fhir-operation-term-cache .......................... SUCCESS [  0.186 s]
[INFO] fhir-operation-reindex ............................. SUCCESS [  0.199 s]
[INFO] fhir-operation-bulkdata ............................ SUCCESS [  0.801 s]
[INFO] fhir-operation-everything .......................... SUCCESS [  0.342 s]
[INFO] fhir-operation-erase ............................... SUCCESS [  0.418 s]
[INFO] fhir-bulkdata-webapp ............................... FAILURE [  0.334 s]
[INFO] fhir-client ........................................ SKIPPED
[INFO] fhir-server-webapp ................................. SKIPPED
[INFO] fhir-server-test ................................... SKIPPED
[INFO] fhir-smart ......................................... SKIPPED
[INFO] fhir-bucket ........................................ SKIPPED
[INFO] fhir-swagger-generator ............................. SKIPPED
[INFO] fhir-openapi ....................................... SKIPPED
[INFO] fhir-install ....................................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time:  01:05 min
[INFO] Finished at: 2021-08-17T08:57:15Z
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project fhir-bulkdata-webapp: Could not resolve dependencies for project com.ibm.fhir:fhir-bulkdata-webapp:war:4.9.0-SNAPSHOT: Failure to find com.azure:azure-storage-blob:jar:12.6.0 in https://repo.maven.apache.org/maven2 was cached in the local repository, resolution will not be reattempted until the update interval of central has elapsed or updates are forced -> [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/DependencyResolutionException
[ERROR] 
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <args> -rf :fhir-bulkdata-webapp
pkb@codespaces_85952e:/workspaces/FHIR$ 
@MFAshby MFAshby added the bug Something isn't working label Aug 17, 2021
@lmsurpre
Copy link
Member

lmsurpre commented Aug 17, 2021

I already slipped the fix for this one into #2677
I probably should have opened an issue for it as well, so I appreciate you opening this.
Please sync up with main and let us know if you have any trouble.

@MFAshby
Copy link
Contributor Author

MFAshby commented Aug 17, 2021

Great, thanks @lmsurpre I'll pull and try again.

@MFAshby MFAshby closed this as completed Aug 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants