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]