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

make sure new provisioning idea does not get lost out of existence #13

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

carrot-garden
Copy link

make sure new provisioning idea does not get lost out of existence

Here is an outline of a possible solution:

  1. Use depends-maven-plugin to generate dependencies.properties, listing all transitive dependencies with version and scope in a format easily consumed without a runtime dependency on Maven APIs.

  2. Add a goal to the new exam-maven-plugin to postprocess this properties file, allowing to include or exclude artifacts by scope or groupId or artifactId patterns. The result of this step should be a file with mvn: URLs.

  3. Revive the scanFile() option to provision bundles listed in the file resulting from 2).

  4. is already used to support the versionAsInProject() feature.

  5. would be a new Mojo for the exam-maven-plugin available on the exam3-milestones branch.

  6. is only supported by Pax Runner Container in 2.x, it's deprecated and more or less undocumented, and it's been removed in 3.x, but it's certainly feasible to reintroduce this option (or a similar one) and make it work for all containers.

See also http://team.ops4j.org/wiki/display/paxscanner/File+Scanner

The details need to be fleshed out, but I think this is doable. Not before Pax Exam 3.1.0, though...

Best regards,
Harald


general mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/general

@buildhive
Copy link

OPS4J - Open Participation for Java » org.ops4j.pax.exam2 #71 SUCCESS
This pull request looks good
(what's this?)

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

Successfully merging this pull request may close these issues.

3 participants