make sure new provisioning idea does not get lost out of existence #13
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
make sure new provisioning idea does not get lost out of existence
Here is an outline of a possible solution:
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.
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.
Revive the scanFile() option to provision bundles listed in the file resulting from 2).
is already used to support the versionAsInProject() feature.
would be a new Mojo for the exam-maven-plugin available on the exam3-milestones branch.
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