Okay, how does my mojo get access to that?
--jason
On Oct 10, 2006, at 2:22 PM, Jason van Zyl wrote:
On 10 Oct 06, at 4:17 PM 10 Oct 06, Jason Dillon wrote:
Is the MavenSession bound to a component? Or can I pluck it some
other way from the plexus container?
It's created and passed a
On 10 Oct 06, at 4:17 PM 10 Oct 06, Jason Dillon wrote:
Is the MavenSession bound to a component? Or can I pluck it some
other way from the plexus container?
It's created and passed around. If you want something that is going
to stick around look at MavenExecutionRequest, that's really
Is the MavenSession bound to a component? Or can I pluck it some
other way from the plexus container?
--jason
On Oct 9, 2006, at 6:25 AM, Jason van Zyl wrote:
What is it that you're actually trying to do?
Jason.
On 9 Oct 06, at 3:03 AM 9 Oct 06, Jason Dillon wrote:
No I did not send th
In the first snip, I need to get a list of all dependencies for a
project in a tree so that I can add some dependencies to a classpath
to execute a child java process. The second snip is used to resolve
artifacts which are not configured directly as dependencies, but
defined similar to how
What is it that you're actually trying to do?
Jason.
On 9 Oct 06, at 3:03 AM 9 Oct 06, Jason Dillon wrote:
No I did not send that message 5 times.
I need the localRepository for calls like:
artifactCollector.collect(
project.getDependencyArtifacts(),
project.
No I did not send that message 5 times.
I need the localRepository for calls like:
artifactCollector.collect(
project.getDependencyArtifacts(),
project.getArtifact(),
managedVersions,
getArtifactRepository(), // ${localRepository}
Is it my mail client or did you really send this message 5 times?
The settings object (which contains the local repo) is not a component,
so you can't inject that.
You could re-parse the settings.xml yourself, but that's not a nice
solution.
I think you're stuck with passing the settings or
Anyone know how to get the "${localRepository}" ArtifactRepository
from a Plexus component... not a mojo.
More specifically I have created a new component, which I inject into
my mojo (with @component and a role defined in plexus/
components.xml) and I want that injected component to have a