Look at:

http://cvs.apache.org/viewcvs.cgi/jakarta-turbine-maven/src/plugins-build/war/plugin.jelly?rev=1.4&content-type=text/vnd.viewcvs-markup

That should be a good starting point for figuring out how it works.

-Kurt

On Wed, 21 Aug 2002, Dickson, Mike wrote:

> How did you figure that out?  One of the barriers I see to using Maven is
> just simply trying to figure out what you have to do to get the behavior
> you're looking for.
>
> Mike
>
> > -----Original Message-----
> > From: James CE Johnson [mailto:[EMAIL PROTECTED]]
> > Sent: Wednesday, August 21, 2002 11:58 AM
> > To: [EMAIL PROTECTED]
> > Subject: Re: Problem again with bundle jars in WAR goal
> >
> > > Hi,
> > > I upgrade to Maven b6, and now I can't bundle the jars into the war.
> > >
> > > In Maven b5 I have to put something like that:
> >
> > I had to change my <dependency> thusly:
> >
> >     <dependency>
> >       <id>com.imperitek.util</id>
> >       <version>0.6</version>
> >       <url>../com.imperitek.util-site</url>
> >       <properties>
> >         <war.bundle.jar>true</war.bundle.jar>
> >       </properties>
> >     </dependency>
> >
> > There's also a patch to the war plugin. That should be available in the
> > CVS version.
> > >
> > > <dependency>
> > >      <id>commons-configuration</id>
> > >      <version>1.0-dev</version>
> > >      <url>http://jakarta.apache.org/commons/</url>
> > >      <metaEntries>
> > >          <metaEntry>j2ee.war.bundle.jar:true</metaEntry>
> > >      </metaEntries>
> > >    </dependency>
> > >
> > > Later I found that the name of the metaEntry was changed to
> > > war.bundle.jar
> > >
> > > Now seems that the way is using properties, in the CVS HEAD the
> > > plugin.jelly use the method getProperty instead the method
> > > getMetaEntry.
> > >
> > > In the xdocs says that the way is:
> > >
> > > <dependency>
> > >    <id>jarid</id>
> > >    <version>jarversion</version>
> > >    <properties>
> > >      <classloader>war.bundle.jar:true</classloader>
> > >    </properties>
> > >  </dependency>
> > >
> > > But I tried with not success
> > >
> > > Any idea
> > >
> > > Thanks
> > >
> > > Edgar
> >
> >
> >
> >
> > --
> > To unsubscribe, e-mail:   <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
> > For additional commands, e-mail: <mailto:turbine-maven-user-
> > [EMAIL PROTECTED]>
>
> --
> To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
>


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

Reply via email to