Please file a JIRA on the multi-project vs single project, with some
details, we'll look into it. It could be a bug.
That said, I think some people have been contributing similar
functionality to the war plugin itself - might be worth investigating.
- Brett
On 11/24/05, Nigel Magnay <[EMAIL PROT
I think the component.xml is correct (at end) - it certainly looks the
same as the plexus examples.
My project that uses this plugin works entirely correctly, *unless* it
is a part of a multiproject build, in which case it uses the wrong
extension. I don't know why this would be the case unless I'
I'm losing track of this in all the bits and pieces as to what you really have.
I'd suggest looking at the Plexus plugin and comparing the
components.xml to your own:
http://svn.plexus.codehaus.org/trunk/plexus-maven-plugin/
HTH,
Brett
On 11/24/05, Nigel Magnay <[EMAIL PROTECTED]> wrote:
> Ah -
Ah - I have found out why I'm having trouble - my configuration looks like
war
uberwar
This works correctly when I build the project that uses the plugin.
However, if the project that uses the plugin is built as a part of a
multiproject build, it fails, using the (incorrec
As I said, your should be uberwar - not war (it needs to match
the role-hint, as
stated in the docs).
On 11/18/05, Nigel Magnay <[EMAIL PROTECTED]> wrote:
> I have an 'uberwar' mojo; it's components.xml has a lifecyclemapping
> and an artifacthandler definition, both with the role-hint of uberwar
I have an 'uberwar' mojo; it's components.xml has a lifecyclemapping
and an artifacthandler definition, both with the role-hint of uberwar.
My project that uses this mojo has a pom.xml with
uberwar
The lifecycle is working correctly, my mojo is being called in the
packaging step. It does a getArt
Your type should be uberwar (it needs to match the role-hint, as
stated in the docs).
- Brett
On 11/18/05, Nigel Magnay <[EMAIL PROTECTED]> wrote:
> Hello - I have been trying to follow the configuration for
> ArtifactHandlers - I have in my components.xml
>
>
> org.apache.maven.artifact.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Yes, the private member vars are injected with values from the
configuration. That's how plexus works by default (plexus is the
underlying container Maven uses).
So, you have a POM with uberwar, and it's setting
the extension to 'uberwar'?
Or, is it
Yep - I'm pretty sure it's reading it as there is also a
LifecycleMapping which is being used correctly.
Are the private member variables supposed to get read set by some
persistence mechanism from the configuration node ?
On 11/17/05, John Casey <[EMAIL PROTECTED]> wrote:
> -BEGIN PGP SIGNE
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You're defining this components.xml in a plugin, right? Do you have
true defined in the plugin reference within
your plugin-user POM? If not, it will use a default artifact handler
that has the same type as your packaging, and the same extension as yo
Hello - I have been trying to follow the configuration for
ArtifactHandlers - I have in my components.xml
org.apache.maven.artifact.handler.ArtifactHandler
uberwar
org.apache.maven.artifact.handler.DefaultArtifactHandler
war
war
war
java
11 matches
Mail list logo