maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jason Dillon <>
Subject How to get ${localRepository} from plexus component (not mojo)
Date Sun, 08 Oct 2006 23:18:36 GMT
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 <component> role defined in plexus/ 
components.xml) and I want that injected component to have access to  
"${localRepository}", but I don't want to define that in my mojo and  
pass it in to the component each time it needs it.

Anyone know how to do this?



To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message