OSDN Git Service

move config files.
authorOlyutorskii <olyutorskii@users.osdn.me>
Thu, 6 Jun 2019 03:16:14 +0000 (12:16 +0900)
committerOlyutorskii <olyutorskii@users.osdn.me>
Thu, 6 Jun 2019 03:16:14 +0000 (12:16 +0900)
config/checkstyle/checkstyle-suppressions.xml [moved from src/main/config/suppressions.xml with 100% similarity]
config/checkstyle/checkstyle.xml [moved from src/main/config/checks.xml with 99% similarity]
config/pmd/pmdrules.xml [moved from src/main/config/pmdrules.xml with 100% similarity]
pom.xml
src/assembly/src.xml [moved from src/main/assembly/descriptor.xml with 100% similarity]

similarity index 99%
rename from src/main/config/checks.xml
rename to config/checkstyle/checkstyle.xml
index 3e31cbb..115efd5 100644 (file)
@@ -25,9 +25,9 @@
 
     <!-- Filters -->
     <module name="SeverityMatchFilter" />
 
     <!-- Filters -->
     <module name="SeverityMatchFilter" />
-    <module name="SuppressionFilter">
+    <!--module name="SuppressionFilter">
         <property name="file" value="src/main/config/suppressions.xml" />
         <property name="file" value="src/main/config/suppressions.xml" />
-    </module>
+    </module-->
     <module name="SuppressionCommentFilter" />
     <module name="SuppressWithNearbyCommentFilter" />
 
     <module name="SuppressionCommentFilter" />
     <module name="SuppressWithNearbyCommentFilter" />
 
diff --git a/pom.xml b/pom.xml
index d4fff91..62e7eee 100644 (file)
--- a/pom.xml
+++ b/pom.xml
         <!-- Walk around: JDK 11 javadoc + Maven -->
         <detectJavaApiLink>false</detectJavaApiLink>
 
         <!-- Walk around: JDK 11 javadoc + Maven -->
         <detectJavaApiLink>false</detectJavaApiLink>
 
-        <project.mainconf>${project.basedir}/src/main/config</project.mainconf>
-
         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
         <jacoco-plugin.version>0.8.4</jacoco-plugin.version>
 
         <surefire-plugin.version>3.0.0-M3</surefire-plugin.version>
         <jacoco-plugin.version>0.8.4</jacoco-plugin.version>
 
-        <checkstyle.config.location>${project.mainconf}/checks.xml</checkstyle.config.location>
+        <checkstyle.config.location>${project.basedir}/config/checkstyle/checkstyle.xml</checkstyle.config.location>
+        <checkstyle.suppressions.location>${project.basedir}/config/checkstyle/checkstyle-suppressions.xml</checkstyle.suppressions.location>
         <checkstyle.enable.rss>false</checkstyle.enable.rss>
 
         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
         <checkstyle.enable.rss>false</checkstyle.enable.rss>
 
         <spotbugs-plugin.version>3.1.11</spotbugs-plugin.version>
                 <configuration>
                     <archiveBaseDirectory>.</archiveBaseDirectory>
                     <descriptors>
                 <configuration>
                     <archiveBaseDirectory>.</archiveBaseDirectory>
                     <descriptors>
-                        <descriptor>src/main/assembly/descriptor.xml</descriptor>
+                        <descriptor>src/assembly/src.xml</descriptor>
                     </descriptors>
                 </configuration>
             </plugin>
                     </descriptors>
                 </configuration>
             </plugin>
                 <configuration>
                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
                     <rulesets>
                 <configuration>
                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
                     <rulesets>
-                        <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+                        <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
                     </rulesets>
                 </configuration>
             </plugin>
                     </rulesets>
                 </configuration>
             </plugin>
                     <skip>false</skip>
                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
                     <rulesets>
                     <skip>false</skip>
                     <!--targetJdk>${maven.compiler.target}</targetJdk-->
                     <rulesets>
-                        <ruleset>${project.mainconf}/pmdrules.xml</ruleset>
+                        <ruleset>${project.basedir}/config/pmd/pmdrules.xml</ruleset>
                     </rulesets>
                 </configuration>
                 <reportSets>
                     </rulesets>
                 </configuration>
                 <reportSets>