aboutsummaryrefslogtreecommitdiffstats
path: root/compatibility-shared/pom.xml
diff options
context:
space:
mode:
authorHenri Sara <hesara@vaadin.com>2016-08-25 10:39:02 +0300
committerVaadin Code Review <review@vaadin.com>2016-08-25 09:51:22 +0000
commit6439a2e0c9a37da5a34f021a31eb8d61c902fd69 (patch)
treea22f64a672f14a820b0da2f876481ac2c5d8588b /compatibility-shared/pom.xml
parent0055a460334ecd77e271ca05b78ae5a559b05d23 (diff)
downloadvaadin-framework-6439a2e0c9a37da5a34f021a31eb8d61c902fd69.tar.gz
vaadin-framework-6439a2e0c9a37da5a34f021a31eb8d61c902fd69.zip
Add sources to vaadin-compatibility-shared JAR
This is required by vaadin-compatibility-client-compiled client side compilation. Change-Id: I8ef49736eaf6c747d5d8892615dbf93a519f3ee0
Diffstat (limited to 'compatibility-shared/pom.xml')
-rw-r--r--compatibility-shared/pom.xml28
1 files changed, 28 insertions, 0 deletions
diff --git a/compatibility-shared/pom.xml b/compatibility-shared/pom.xml
index 75c42a225d..9c9b88fdbc 100644
--- a/compatibility-shared/pom.xml
+++ b/compatibility-shared/pom.xml
@@ -63,6 +63,34 @@
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-resources-plugin</artifactId>
+ <executions>
+ <!-- Copy .java files to package -->
+ <execution>
+ <id>copy-sources</id>
+ <!-- here the phase you need -->
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.outputDirectory}</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <filtering>false</filtering>
+ </resource>
+ <resource>
+ <directory>src/main/java</directory>
+ <filtering>false</filtering>
+ </resource>
+ </resources>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>