-
Notifications
You must be signed in to change notification settings - Fork 3
added JPA and JUnit (including CDIRunner), updated several libraries … #2
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
base: master
Are you sure you want to change the base?
Conversation
…and made the index.xhtml nicer and hopefully more useful
jdesmet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should not hardcode the application context path as in "http://127.0.0.1:8080/zakee-web/...". For a better solution, please see https://stackoverflow.com/a/6878393/744133
…ntext name, and repaired the formatting which was ruined by my IDE
|
Of course, you're right. Done. Along the way, I also corrected the formatting of the |
jdesmet
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think that is about the only think left to merge in your changes from your pull request.
| <artifactId>jersey-container-servlet</artifactId> | ||
| <version>2.25</version> | ||
| </dependency> | ||
| <dependency> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There should be no explicit dependencies on repackaged libraries. They are intended internal only to other dependencies that applied it in a transitive manner.
|
@jdesmet Your change request is fine by me. The only problem is that I'm currently abroad. So either we have to wait three weeks, or you remove the offending dependency yourself. You seem to know what to do. Let me explain why I added the dependency: the program either didn't compile or run without the repackaged library. I forgot what happened precisely, but it was one of the two options. So I decided to add the dependency matching the requirements as good as possible. I don't have the slightest idea why the transitive dependency isn't added automatically. Maybe I've missed a third necessary library? |
This pull request adds JPA and JUnit and makes the
index.xhtmlnicer and hopefully more useful. I also added a Json serializer because I noticed that I couldn't pass POJOs to a REST service.This PR has been tested with Tomcat 8.5.21 and Tomcat 9.0.0 M27.