Please take a look at http://sd.no-ip.biz/rpm-plugin/ which is a copy of
the site from what I have so far.  I have basically started with the
configuration of the plugin and was just getting ready to start building
the Plexus component to make things work.  One thing I had not worked
out yet was how to be able to indicate where the dependencies need to be
installed; artifacts which need to be installed with the package need to
be specified as dependencies so Maven will order the build properly, but
I need to be able to specify all of the mapping information for them
somehow.

I was trying to build an RPM plugin which was useful to me.  This means
that the functionality has to way exceed the Maven 1.x RPM plugin (which
just packaged the project's single artifact).  Most of the items in the
configuration I put together are things I need for one or more of the
RPM packages I need to build.  Please let me know how close our plugins
are to each other.

-----Original Message-----
From: Jason van Zyl [mailto:[EMAIL PROTECTED] 
Sent: Friday, October 21, 2005 17:52
To: Maven Developers List
Subject: Re: Components and Mojos in the same Plugin


On Fri, 2005-10-21 at 15:14 -0500, Allison, Bob wrote:
> In starting to build the RPM plugin, I was going to build an
RPMArchiver
> plexus component, assuming that it might be useful for other uses.

We got an RPM plug-in so maybe let us try to get it out in the open. We
at Mergere worked on one for a client and it would be nice if you didn't
have to redo it because we couldn't free it in time. Let me look into
it.

> 1) Is there a problem having mojos and components in the same plugin?
I
> was assuming that plexus would ignore the plugin.xml and mojo classes
> and that maven would ignore component.xml and the component classes.
> 
> 2) How do I configure the plugin so that the plexus components are
> available?  When I was looking at a lifecycle for RPM (about
2.0-beta-1)
> you had to specify <extension> in the <plugin> definition.  The last
> time I looked at the project descriptor (it seems to be a broken link
at
> present) there was a new section under <build> (IIRC) called
> <extensions> but I don't think that had configuration information in
it.
> 
> 3) I was putting the mojo classes in org.apache.maven.plugin.rpm and
> putting the plexus classes in org.codehaus.plexus.archiver.rpm.  Is
this
> reasonable or should I be using a different package for these items?
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
-- 
jvz.

Jason van Zyl
jason at maven.org
http://maven.apache.org

Our achievements speak for themselves. What we have to keep track
of are our failures, discouragements and doubts. We tend to forget
the past difficulties, the many false starts, and the painful
groping. We see our past achievements as the end result of a
clean forward thrust, and our present difficulties as
signs of decline and decay.

 -- Eric Hoffer, Reflections on the Human Condition


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to