Skip to content

Commit 8eef358

Browse files
committed
work in progress
1 parent b6e5fbc commit 8eef358

File tree

2 files changed

+57
-8
lines changed

2 files changed

+57
-8
lines changed

pom.xml

Lines changed: 22 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,7 @@
350350
</activation>
351351
<build>
352352
<finalName>simpleworklist</finalName>
353-
<defaultGoal>clean spring-boot:run</defaultGoal>
353+
<defaultGoal>clean install dependency:sources dependency:resolve dependency:resolve-plugins dependency:tree site spring-boot:run</defaultGoal>
354354
<plugins>
355355
<plugin>
356356
<groupId>org.springframework.boot</groupId>
@@ -818,6 +818,7 @@
818818
<groupId>org.apache.maven.plugins</groupId>
819819
<artifactId>maven-project-info-reports-plugin</artifactId>
820820
<configuration>
821+
<skipEmptyReport>true</skipEmptyReport>
821822
<dependencyDetailsEnabled>true</dependencyDetailsEnabled>
822823
</configuration>
823824
</plugin>
@@ -837,25 +838,24 @@
837838
<linksource>true</linksource>
838839
<maxmemory>1024m</maxmemory>
839840
<source>${java.version}</source>
840-
<encoding>${project.build.sourceEncoding}</encoding>
841841
</configuration>
842842
</plugin>
843843
<plugin>
844844
<groupId>org.apache.maven.plugins</groupId>
845-
<artifactId>maven-checkstyle-plugin</artifactId>
846-
<configuration>
847-
<encoding>${project.build.sourceEncoding}</encoding>
848-
</configuration>
845+
<artifactId>maven-jxr-plugin</artifactId>
849846
</plugin>
850847
<plugin>
851848
<groupId>org.apache.maven.plugins</groupId>
852-
<artifactId>maven-jxr-plugin</artifactId>
849+
<artifactId>maven-checkstyle-plugin</artifactId>
850+
</plugin>
851+
<plugin>
852+
<groupId>com.github.spotbugs</groupId>
853+
<artifactId>spotbugs-maven-plugin</artifactId>
853854
</plugin>
854855
<plugin>
855856
<groupId>org.apache.maven.plugins</groupId>
856857
<artifactId>maven-pmd-plugin</artifactId>
857858
<configuration>
858-
<sourceEncoding>${project.build.sourceEncoding}</sourceEncoding>
859859
<minimumTokens>100</minimumTokens>
860860
<targetJdk>${java.version}</targetJdk>
861861
<excludeRoots>
@@ -880,6 +880,20 @@
880880
<plugin>
881881
<groupId>org.apache.maven.plugins</groupId>
882882
<artifactId>maven-surefire-report-plugin</artifactId>
883+
<configuration>
884+
<skipFailsafeReport>true</skipFailsafeReport>
885+
<skipSurefireReport>true</skipSurefireReport>
886+
</configuration>
887+
</plugin>
888+
<plugin>
889+
<groupId>org.apache.maven.plugins</groupId>
890+
<artifactId>maven-invoker-plugin</artifactId>
891+
<configuration>
892+
<cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
893+
<settingsFile>src/it/settings.xml</settingsFile>
894+
<localRepositoryPath>${project.build.directory}/it-repo</localRepositoryPath>
895+
<postBuildHookScript>verify</postBuildHookScript> <!-- no extension required -->
896+
</configuration>
883897
</plugin>
884898
</plugins>
885899
</reporting>

src/it/settings.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0"?>
2+
<settings>
3+
<profiles>
4+
<profile>
5+
<id>it-repo</id>
6+
<activation>
7+
<activeByDefault>true</activeByDefault>
8+
</activation>
9+
<repositories>
10+
<repository>
11+
<id>local.central</id>
12+
<url>@localRepositoryUrl@</url>
13+
<releases>
14+
<enabled>true</enabled>
15+
</releases>
16+
<snapshots>
17+
<enabled>true</enabled>
18+
</snapshots>
19+
</repository>
20+
</repositories>
21+
<pluginRepositories>
22+
<pluginRepository>
23+
<id>local.central</id>
24+
<url>@localRepositoryUrl@</url>
25+
<releases>
26+
<enabled>true</enabled>
27+
</releases>
28+
<snapshots>
29+
<enabled>true</enabled>
30+
</snapshots>
31+
</pluginRepository>
32+
</pluginRepositories>
33+
</profile>
34+
</profiles>
35+
</settings>

0 commit comments

Comments
 (0)