Thanks James,

This works ok.

BTW the xdocs/properties.xml must be updated to reflect this behavior.


Edgar


----- Original Message -----
From: "James CE Johnson" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, August 21, 2002 11:58 AM
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:[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