Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
<?xml version="1.0"?>
<project>
  ...
  <packaging>woapplication</packaging>
  ...
  <build>
    ...
   <resources>
     <resource>
       <directory> [your folder here] </directory>
       <targetPath> [either Resources or WebServerResources] </targetPath
     </resource>
   </resources>
...
    <plugins>
      <plugin>
        <groupId>org.objectstyle.woproject.maven2</groupId>
        <artifactId>maven-wolifecycle-plugin</artifactId>
        <extensions>true</extensions>
      </plugin>
    </plugins>
    ...
  </build>
...
</project>

Per default JavaClientClasses are not included in the WebServerResources.tar.gz per default.

To include them change your pom to set the 'includeJavaClientClassesInWebServerResources'property to true.

Code Block

<?xml version="1.0"?>
<project>
  ...
  <packaging>woapplication</packaging>
  ...

<build>
                ........
                <plugins>
                        <plugin>
                                <groupId>org.objectstyle.woproject.maven2</groupId>
                                <artifactId>maven-wolifecycle-plugin</artifactId>
                                <extensions>true</extensions>
                                <configuration>
                                        <readPatternsets>true</readPatternsets>
  <includeJavaClientClassesInWebServerResources>true</includeJavaClientClassesInWebServerResources>
                                </configuration>
                        </plugin>
                </plugins>
        </build>
...
</project>