Sent: Sunday, October 08, 2006 1:10 PM
To: Maven Developers List
Subject: Re: Creating a .wsr file artifact
Eric,
I'm getting to this a little late as it appears you've already created
the
plugin, but there are the jboss-sar and jboss-packaging plugins over at
mojo.codehaus.org th
-plugin and
don't
> see any components.xml. Yet these both appear to define a default
life
> cycle mapping (somehow). -- Eric
>
> -Original Message-
> From: Swenson, Eric
> Sent: Friday, October 06, 2006 11:56 PM
> To: Maven Developers List
> Subject: RE: Creating
l Beckwith [mailto:[EMAIL PROTECTED]
Sent: Saturday, October 07, 2006 3:09 AM
To: Maven Developers List
Subject: Re: Creating a .wsr file artifact
IIRC those are "standard" mappings and they are defined inside the
components.xml defined in the maven-core plugin in your /lib
directory. Becaus
Yet these both appear to define a default life
cycle mapping (somehow). -- Eric
-Original Message-
From: Swenson, Eric
Sent: Friday, October 06, 2006 11:56 PM
To: Maven Developers List
Subject: RE: Creating a .wsr file artifact
Thanks Nathan. But I'm still not getting anywhere. I as
ne a default life
cycle mapping (somehow). -- Eric
-Original Message-
From: Swenson, Eric
Sent: Friday, October 06, 2006 11:56 PM
To: Maven Developers List
Subject: RE: Creating a .wsr file artifact
Thanks Nathan. But I'm still not getting anywhere. I assume what
you're sayin
List
Subject: RE: Creating a .wsr file artifact
Thanks Nathan. But I'm still not getting anywhere. I assume what
you're saying is that I need to add a META-INF/plexus/components.xml to
my plugin jar. I've done that (but perhaps the contents is still not
right), but I still get the
ugh?
Thanks. -- Eric
-Original Message-
From: Nathan Beyer [mailto:[EMAIL PROTECTED]
Sent: Friday, October 06, 2006 9:43 PM
To: Maven Developers List
Subject: Re: Creating a .wsr file artifact
Check out the CustomArtifactHandler part of this guide [1]. I think
what you're missi
Check out the CustomArtifactHandler part of this guide [1]. I think
what you're missing is an "extension" [2] element in your POM.
-Nathan
[1]
http://maven.apache.org/guides/introduction/introduction-to-the-lifecycle.html
[2] http://maven.apache.org/ref/current/maven-model/maven.html#class_exte
Well, I've made progress since my post. However, I still have an issue.
I now have a maven-wsr-plugin, which I based on maven-war-plugin and I'm
able to compile my project with:
mvn compiler:compile
and package my project (into a .wsr file) with:
mvn wsr:wsr
However, what I can