Completely correct!

I have a war that contains a webstart application (more or less the same issues 
getting that to work).
THis is in the pom.xml of the WAR project (I have subprojects for war, shared, 
client)

        <build>
        <finalName>app-war</finalName>
    <plugins>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>dependency-maven-plugin</artifactId>
        <executions>
          <execution>
            <phase>process-resources</phase>
            <goals>
              <goal>unpack</goal>
            </goals>
          </execution>
        </executions>
        <configuration>
          <artifactItems>
            <artifactItem>
              <groupId>nl.finalist.app</groupId>
              <artifactId>client</artifactId>
              <version>${version}</version>
              <type>zip</type>
            </artifactItem>
          </artifactItems>
          
<outputDirectory>${project.build.directory}/${project.build.finalName}/</outputDirectory>
        </configuration>
      </plugin>
    </plugins>

-----Oorspronkelijk bericht-----
Van: Max Cooper [mailto:[EMAIL PROTECTED]
Verzonden: donderdag 27 april 2006 2:40
Aan: Maven Users List
Onderwerp: Re: Applets


You need a multi-project.

I have not setup a maven2 project to build an applet that is deployed as 
part of a webapp, so take my advice with a grain of salt.

I would think that you would first need to have a subproject to build a 
jar file that contains your applet. The applet code should probably be 
separate from your webapp code anyway. Any code that is shared by the 
webapp and the applet should be moved to third "shared jar" project that 
both the webapp and applet project will depend on.


-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.385 / Virus Database: 268.5.0/325 - Release Date: 26-4-2006
 

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

Reply via email to