I'm well on my way in creating my first Maven plugin. One unexpected
behavior, but I've coded around that. But what I require now is some what
deviating; the plugin creates a special jar similar to onejar, containing
all files that are required at runtime as a single deliverable. 

Naturally there is some bootstrap code and it is present in its own
jar-artifact. What I require the plugin to do is explicitly fetch that
artifact and unpack it. It's not a dependency in the pom of the plugin (it
could be, but isn't atm) nor in the pom of the actual project; I simply need
a "artifact = resolveArtifact(groupid, artifactid, version)".

It is either that, or I need to attach the jar as a resource to the plugin.
-- 
View this message in context: 
http://old.nabble.com/fetching-an-artifact-directly-tp27702529p27702529.html
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@maven.apache.org
For additional commands, e-mail: dev-h...@maven.apache.org

Reply via email to