This is what I'm using rather successfully...

in the webapp/pom.xml
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-war-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

in the ear/pom.xml
  <build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-ear-plugin</artifactId>
        <configuration>
          <archive>
            <manifest>
              <addClasspath>true</addClasspath>
            </manifest>
          </archive>
        </configuration>
      </plugin>
    </plugins>
  </build>

Give this a try, Mang, and let us know...

Wayne


On 2/17/06, Mang Jun Lau <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I've seen people ask this or a similar question before but I don't think
> it has ever been answered.  If it has then can some kind soul point me in
> the right direction?
>
> Here's the situation:
>
> I have an EAR and a WAR inside the EAR.  The EAR also contains JARs.  So
> here's a directory structure:

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

Reply via email to