Harald: -------- Original Message -------- Subject: Re: pax exam config duplication From: Harald Wellmann <hwellmann...@gmail.com> To: General OPS4J <general@lists.ops4j.org> Date: Fri 28 Sep 2012 03:08:31 PM CDT > Here is an outline of a possible solution: wow! you had it up your sleeve? :-)
please accept: https://github.com/ops4j/org.ops4j.pax.exam2/pull/13 to make sure it is not going to be lost Andrei > > 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). > > > > 1) is already used to support the versionAsInProject() feature. > > 2) would be a new Mojo for the exam-maven-plugin available on the > exam3-milestones branch. > > 3) 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 > general@lists.ops4j.org > http://lists.ops4j.org/mailman/listinfo/general >
_______________________________________________ general mailing list general@lists.ops4j.org http://lists.ops4j.org/mailman/listinfo/general