Browse Source

Fix IDE usage of Elemental in vaadin-shared (#10178)

tags/8.2.0.alpha3
Teemu Suo-Anttila 6 years ago
parent
commit
727accead3
3 changed files with 27 additions and 1 deletions
  1. 4
    0
      checkstyle/vaadin-checkstyle.xml
  2. 2
    1
      pom.xml
  3. 21
    0
      shared/pom.xml

+ 4
- 0
checkstyle/vaadin-checkstyle.xml View File

@@ -271,4 +271,8 @@
</module>

<module name="SuppressionFilter">
<property name="file" value="${config_loc}/suppressions.xml" />
</module>

</module>

+ 2
- 1
pom.xml View File

@@ -459,9 +459,10 @@
</dependency>
</dependencies>
<configuration>
<propertyExpansion>config_loc=${basedir}/../checkstyle</propertyExpansion>
<configLocation>../checkstyle/vaadin-checkstyle.xml</configLocation>
<headerLocation>../checkstyle/header</headerLocation>
<suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation>
<!-- <suppressionsLocation>../checkstyle/suppressions.xml</suppressionsLocation> -->
<encoding>UTF-8</encoding>
<consoleOutput>false</consoleOutput>
<failsOnError>false</failsOnError>

+ 21
- 0
shared/pom.xml View File

@@ -80,6 +80,27 @@
</executions>
</plugin>

<!-- Unpacked Dependencies as source -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>

<!-- Needs extra source folder for unpacked dependencies -->
<executions>
<execution>
<id>add-source-path</id>
<phase>generate-sources</phase>
<goals>
<goal>add-source</goal>
</goals>
<configuration>
<sources>
<source>${dependency.unpack.directory}</source>
</sources>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-resources-plugin</artifactId>

Loading…
Cancel
Save