Thanks, Ryan. This turned out to be exactly the solution I needed:
https://bitbucket.org/ojacobson/apacheds-maven-plugin/changeset/fcb7d7b66a41
-o
On 2011-04-29, at 9:00 AM, Ryan Connolly wrote:
> Owen: I think my previous reply got it half right:
>
>/**
> * @parameter expression="${pl
Owen Jacobson wrote:
> Hi folks,
>
> I'm working on upgrading a Maven plugin that runs Apache DS[0] to use the
> latest version of their software. Unfortunately, the latest version of
> their software does something slightly slack-jawed on startup: it inspects
> the java.class.path system propert
Owen: I think my previous reply got it half right:
/**
* @parameter expression="${plugin.artifacts}"
* @required
* @readonly
*/
private List pluginArtifacts;
StringBuilder sb = new StringBuilder();
for (Artifact dep : pluginArtifacts)
{
Owen:
As far as getting a nice pre-crafted classpath element string from the
plugin's dependencies, I am not aware of an API call that will do that like
we can for MavenProject classpaths (project.getRuntimeClasspathElements(),
etc.). However, the plugin's dependencies are available in the follow
adding a configuration parameter to the plugin such as
additionalClasspathElements from surefire plugin would allow additonal entries
to the cp
http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html
does this help??
Martin
__
Note de d