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

Building Error: Could not find artifacts #1

Open
ghost opened this issue Feb 17, 2017 · 3 comments
Open

Building Error: Could not find artifacts #1

ghost opened this issue Feb 17, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Feb 17, 2017

The command

mvn -Dmaven.test.skip=true package

results in the following error message:

[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO] 
[INFO] OUS Layout and Print Server ........................ SUCCESS [  3.351 s]
[INFO] OUS Print Utilities ................................ FAILURE [  5.244 s]
[INFO] Layout Test Resources Bundle ....................... SKIPPED
[INFO] Layout Engine ...................................... SKIPPED
[INFO] Layout Camel Component ............................. SKIPPED
[INFO] OUS Database Access ................................ SKIPPED
[INFO] SUB PrintServer .................................... SKIPPED
[INFO] Layout Command Line Interface ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 8.810 s
[INFO] Finished at: 2017-02-17T11:51:40+01:00
[INFO] Final Memory: 15M/165M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal on project util: Could not resolve dependencies for project de.unigoettingen.sub:util:jar:1.0-SNAPSHOT: Could not find artifact org.apache.commons:commons-vfs2:jar:2.1-SNAPSHOT in apache-snapshots (http://repository.apache.org/content/groups/snapshots) -> [Help 1]

This can be resolved by changing the required version of Apache Commons VFS from "2.1-SNAPSHOT" to "2.1". This is then followed by other dependency errors that I could resolve in a similar way. However, I finally encountered dependency errors that I couldn't solve.

@christianmahnke
Copy link
Collaborator

It might take some time until I can look into it. But this code isn't under development anymore...

@ghost
Copy link
Author

ghost commented Feb 17, 2017

Thanks for the quick reply :) I only need the part that produces pdf files from LBS-Layouts. I managed to build the parts I need by commenting out some of the modules and fiddling with the code... No idea if it still works correctly in all circumstances. It does produce the pdf files I need, so I am happy for the time being. Thanks for sharing your work.

@christianmahnke
Copy link
Collaborator

christianmahnke commented Feb 20, 2017

I've looked into this and got it in parts running, there is only one Issue left on the PDFBox part:
https://pdfbox.apache.org/2.0/migration.html
Someone took my commit rights...

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

1 participant