This is still a more appropriate question for [email protected], as this is the list for development on maven and its plugins itself. I'd be happy to follow up on the thread there.

To help you along, you don't need to overwrite the default lifecycle - just bind different goals to it. You can't configure goals when you do that - I'm a bit unsure whether you are putting your plugin in there, or the resources plugin, or both. What you are likely looking to do is extend the resources plugin with the new configuration and functionality and bind that by default.

An example of declaring a new packaging type is here: 
http://svn.apache.org/viewvc/maven/site/trunk/src/site/apt/guides/introduction/introduction-to-the-lifecycle.apt?revision=501590

On 13/06/2009, at 6:37 AM, Erick Dovale wrote:

Folks,
I am writing a plugin that builds an artifact that needs no compilation or
tests whatsever as it is only resources.
I am overwriting the default lifecycle to only run the resources phases, the
packaging phases and the install phases.
I need to change the resource plugin configuration to write the file to a
folder other than classes. How can I achieve this from a plugin?

Thanks.

Erick.


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

Reply via email to