Skip to content

Commit

Permalink
Add webapp folder content as a resources folder into -ui jar
Browse files Browse the repository at this point in the history
  • Loading branch information
Denis Anisimov committed Jul 16, 2018
1 parent 8cc81db commit 533c514
Showing 1 changed file with 26 additions and 3 deletions.
29 changes: 26 additions & 3 deletions flow-tests/test-root-context/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@
<artifactId>flow-html-components-testbench</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>

<dependency>
<groupId>com.vaadin</groupId>
<artifactId>flow-test-common</artifactId>
<version>${project.version}</version>
Expand Down Expand Up @@ -101,6 +101,28 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<id>add-resource</id>
<phase>generate-resources</phase>
<goals>
<goal>add-resource</goal>
</goals>
<configuration>
<resources>
<resource>
<directory>src/main/webapp</directory>
<targetPath>META-INF/resources</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
Expand Down Expand Up @@ -161,7 +183,8 @@
<id>productionMode</id>
<activation>
<property>
<!-- In BrowserStack tests are run on IE11, and transpilation is needed -->
<!-- In BrowserStack tests are run on IE11, and transpilation
is needed -->
<name>test.use.browserstack</name>
<value>true</value>
</property>
Expand Down

0 comments on commit 533c514

Please sign in to comment.