-
Notifications
You must be signed in to change notification settings - Fork 228
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
a quick, simple IT using PAX to validate OSGi config #159
base: v-1.4.x
Are you sure you want to change the base?
Conversation
Thanks! |
The it-test fails, if the main artifact of XStream is not yet in the repository. For me it failed now the release, but it fails also if you clean the local repository first of the XStream SNAPSHOTs and run mvn clean integration-test |
@joehni - I will have a look at this tonight. |
Thanks, because I have no idea how this really works. I've included the module again in master. Remember, you have to clean your repo of the XStream SNAPSHOTs and for me the build does not break with "mvn clean integration-test", but the test fails. |
Well, "tonight" is long gone, but now it fails for Java 16:
Since I have no experience with OSGi nor do I know, how Pax Exam works, all I can do is to disable this test. |
After the discussion on #156 I thought maybe it would be helpful to add a quick test that loads xstream in an OSGi container. There may be other ways to pull this off, but this is the way that I'm familiar with. It's pretty straightforward - it pretty closely aligns with the tutorial here:
https://ops4j1.jira.com/wiki/spaces/PAXEXAM4/pages/54263846/Getting+Started+with+OSGi+Tests
I am not sure about formatting styles, headers, etc. So just let me know if there are some updates to get in-line.