Copy the webapp/pages into the final JAR, so xtrnlbrwsr can find them ibrwsr
authorJaroslav Tulach <jtulach@netbeans.org>
Mon, 10 Mar 2014 13:05:18 +0100
branchibrwsr
changeset 10209a95867af5e
parent 101 5ef40158eb9c
child 122 898f93ea65e2
Copy the webapp/pages into the final JAR, so xtrnlbrwsr can find them
minesweeper/pom.xml
     1.1 --- a/minesweeper/pom.xml	Mon Mar 10 12:56:48 2014 +0100
     1.2 +++ b/minesweeper/pom.xml	Mon Mar 10 13:05:18 2014 +0100
     1.3 @@ -50,6 +50,30 @@
     1.4            </plugin>
     1.5            <plugin>
     1.6                <groupId>org.apache.maven.plugins</groupId>
     1.7 +              <artifactId>maven-resources-plugin</artifactId>
     1.8 +              <version>2.6</version>
     1.9 +              <executions>
    1.10 +                  <execution>
    1.11 +                      <id>copy-resources</id>
    1.12 +                      <!-- here the phase you need -->
    1.13 +                      <phase>process-resources</phase>
    1.14 +                      <goals>
    1.15 +                          <goal>copy-resources</goal>
    1.16 +                      </goals>
    1.17 +                      <configuration>
    1.18 +                          <outputDirectory>${basedir}/target/classes/org/apidesign/demo/minesweeper/</outputDirectory>
    1.19 +                          <resources>          
    1.20 +                              <resource>
    1.21 +                                  <directory>src/main/webapp/</directory>
    1.22 +                                  <filtering>true</filtering>
    1.23 +                              </resource>
    1.24 +                          </resources>              
    1.25 +                      </configuration>            
    1.26 +                  </execution>
    1.27 +              </executions>
    1.28 +          </plugin>
    1.29 +          <plugin>
    1.30 +              <groupId>org.apache.maven.plugins</groupId>
    1.31                <artifactId>maven-jar-plugin</artifactId>
    1.32                <version>2.4</version>
    1.33                <configuration>