|
@@ -17,6 +17,7 @@
|
|
|
<properties>
|
|
|
<skipTests>false</skipTests>
|
|
|
<skipSpotbugs>false</skipSpotbugs>
|
|
|
+ <project.root.basedir>${project.basedir}/..</project.root.basedir>
|
|
|
</properties>
|
|
|
|
|
|
<profiles>
|
|
@@ -32,12 +33,6 @@
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
</properties>
|
|
|
</profile>
|
|
|
- <profile>
|
|
|
- <id>skip-checkstyle</id>
|
|
|
- <properties>
|
|
|
- <checkstyle.skip>true</checkstyle.skip>
|
|
|
- </properties>
|
|
|
- </profile>
|
|
|
<profile>
|
|
|
<id>skip-spotbugs</id>
|
|
|
<properties>
|
|
@@ -191,39 +186,6 @@
|
|
|
</archive>
|
|
|
</configuration>
|
|
|
</plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-checkstyle-plugin</artifactId>
|
|
|
- <version>3.0.0</version>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>com.puppycrawl.tools</groupId>
|
|
|
- <artifactId>checkstyle</artifactId>
|
|
|
- <version>8.11</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>validate</id>
|
|
|
- <phase>validate</phase>
|
|
|
- <configuration>
|
|
|
- <propertyExpansion>basedir=${basedir}</propertyExpansion>
|
|
|
- <configLocation>../build/checkstyle.xml</configLocation>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <consoleOutput>true</consoleOutput>
|
|
|
- <includeTestResources>false</includeTestResources>
|
|
|
- <failsOnError>true</failsOnError>
|
|
|
- <includes>**/*.java,**/*.jsp,**/*.properties,**/*.xml,**/*.css,**/*.svg</includes>
|
|
|
- <sourceDirectories>
|
|
|
- <directory>src/main</directory>
|
|
|
- </sourceDirectories>
|
|
|
- </configuration>
|
|
|
- <goals>
|
|
|
- <goal>check</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
<plugin>
|
|
|
<groupId>io.leonard.maven.plugins</groupId>
|
|
|
<artifactId>jspc-maven-plugin</artifactId>
|
|
@@ -284,38 +246,6 @@
|
|
|
</reporting>
|
|
|
|
|
|
<dependencies>
|
|
|
- <!-- Test dependencies -->
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <version>4.12</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.mockito</groupId>
|
|
|
- <artifactId>mockito-core</artifactId>
|
|
|
- <version>2.13.0</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.assertj</groupId>
|
|
|
- <artifactId>assertj-core</artifactId>
|
|
|
- <version>3.9.1</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.tomakehurst</groupId>
|
|
|
- <artifactId>wiremock</artifactId>
|
|
|
- <version>2.18.0</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.reflections</groupId>
|
|
|
- <artifactId>reflections</artifactId>
|
|
|
- <version>0.9.11</version>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
-
|
|
|
<!-- main jar -->
|
|
|
<dependency>
|
|
|
<groupId>${project.groupId}</groupId>
|