Hi Haim, Thanks for the help. But I am afraid I don't know how to use profiles, I had put it in my pom for EAR and tried, but the result was same. I am not confident enough in the way I used it.
regards. Amit On Jan 10, 2008 12:50 PM, Haim Ashkenazi <[EMAIL PROTECTED]> wrote: > On Jan 10, 2008 7:57 AM, amit kumar <[EMAIL PROTECTED]> wrote: > > I am packaging an EAR with a SAR in it. How do exploded EAR with an > exploded > > SAR. > > The ear plugin by default is creating an exploded EAR but SAR within > that is > > still packaged. > > > > Any ideas? > yes. take a look at the profile below. you can change the unpackType > to sar (or at least I think so). > > <profile> > <id>exploded</id> > <activation> > <property> > <name>exploded</name> > <value>true</value> > </property> > </activation> > <build> > <plugins> > <plugin> > <artifactId>maven-ear-plugin</artifactId> > <configuration> > <unpackTypes>ejb,war</unpackTypes> > </configuration> > </plugin> > </plugins> > </build> > </profile> > > Bye > -- > Haim > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
