Stephen Connolly-2 wrote:
> 
> fetching the artifact directly can cause issues when you want to use the
> release plugin if the artifact you want to fetch is part of the reactor
> you
> are fetching.
> 

The plugin knows it requires "bootstrap-1.0.jar"; it needs to fetch it
somehow, unpack it and include the contents directly into the resulting jar. 

This can be done in two ways:
- include bootstrap-1.0.jar as a resource in plugin-1.0.jar, so it can be
opened as a resource when the plugin is run (how?)
- "download" bootstrap-1.0.jar from the repository when the plugin is run
(how?)

Release of either bootstrap and plugin are separate; the plugin may become
more complex, but still depend on bootstrap-1.0. And vice versa the
bootstrap code may do some bug fixing, but have no API changes. Although I
would expect that if the bootstrap has a new release, the plugin will as
well.

What I really need to know is either how to include a dependency as a
resource, or how to force-download a dependency in a plugin.



-- 
View this message in context: 
http://old.nabble.com/fetching-an-artifact-directly-tp27702529p27702943.html
Sent from the Maven Developers mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to