-
Notifications
You must be signed in to change notification settings - Fork 144
[OPENJPA-2669] Add karaf feature and adapt imports #5
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
Conversation
<feature name="openjpa" description="Apache OpenJPA 3 persistence engine support" version="${project.version}"> | ||
<details>Apache OpenJPA persistence engine</details> | ||
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-jta_1.1_spec/1.1.1</bundle> | ||
<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle> |
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 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.
Well alpha-1 does not sound so trustworthy :-) I just checked that you created the bundle. Is it stable ? If yes it would be great if you could release a 1.0.0 version so people know it is safe to use.
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.
alpha-1 for EE 7 spec was cause of this TCK thing only, I didn't check the OSGi part but that would be easy to enhance and stay consistent with karaf ecosystem I think.
<bundle dependency="true">mvn:org.eclipse.persistence/javax.persistence/2.1.0</bundle> | ||
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-annotation_1.0_spec/1.1.1</bundle> | ||
<bundle dependency="true">mvn:org.apache.geronimo.specs/geronimo-el_1.0_spec/1.0.1</bundle> | ||
<bundle dependency="true">mvn:commons-pool/commons-pool/1.6</bundle> |
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 likely move to dbcp2 today no?
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.
Makes sense .. or not use require any pooling at all. I let pax-jdbc-config create a pooled DataSource
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.
+1 to not handle it there
@cschneider how hard would it be to have a unit test with pax to ensure it is not broken in the main build? |
A pax exam test is on my todo list. I think it is crucial to make sure the feature still works in the future. |
Fwiw, validating the features with the Karaf 4 maven plugin ensure that the feature can be deployed correctly. An integration test can certainly be done to actually test the bundles, but it's not necessary to verify that the bundles can be installed and resolved correctly. |
Well I was more concerned about the runtime behavior than the installation (= ensure it deploys and then we can load properly classes, listeners etc... and that tccl is the right one). Some work will get started soon with some lazy instantiation logic and I would like to avoid a half working state. |
No description provided.