javaquery/demo-calculator/pom.xml
changeset 1985 cd1cc103a03c
parent 1913 37194f101d35
child 1961 e9e1b1e863ba
     1.1 --- a/javaquery/demo-calculator/pom.xml	Fri Mar 25 21:47:32 2016 +0100
     1.2 +++ b/javaquery/demo-calculator/pom.xml	Tue Jan 17 07:04:06 2017 +0100
     1.3 @@ -34,13 +34,6 @@
     1.4                              <goal>aot</goal>
     1.5                          </goals>
     1.6                      </execution>
     1.7 -                    <execution>
     1.8 -                        <id>show</id>
     1.9 -                        <goals>
    1.10 -                            <goal>show</goal>
    1.11 -                        </goals>
    1.12 -                        <phase>integration-test</phase>
    1.13 -                    </execution>
    1.14                  </executions>
    1.15                  <configuration>
    1.16                      <directory>${project.build.directory}/${project.build.finalName}-bck2brwsr/public_html/</directory>
    1.17 @@ -144,4 +137,32 @@
    1.18        <scope>test</scope>
    1.19      </dependency>
    1.20    </dependencies>
    1.21 +  <profiles>
    1.22 +      <profile>
    1.23 +          <id>test-run</id>
    1.24 +          <activation>
    1.25 +              <property>
    1.26 +                  <name>!skipTests</name>
    1.27 +              </property>
    1.28 +          </activation>
    1.29 +          <build>
    1.30 +              <plugins>
    1.31 +                  <plugin>
    1.32 +                      <groupId>org.apidesign.bck2brwsr</groupId>
    1.33 +                      <artifactId>bck2brwsr-maven-plugin</artifactId>
    1.34 +                      <version>${project.version}</version>
    1.35 +                      <executions>
    1.36 +                          <execution>
    1.37 +                              <id>show</id>
    1.38 +                              <goals>
    1.39 +                                  <goal>show</goal>
    1.40 +                              </goals>
    1.41 +                              <phase>integration-test</phase>
    1.42 +                          </execution>
    1.43 +                      </executions>
    1.44 +                  </plugin>
    1.45 +              </plugins>
    1.46 +          </build>
    1.47 +      </profile>
    1.48 +  </profiles>
    1.49  </project>