From c5facb0440c7e4095694f560ac996d8d86599be7 Mon Sep 17 00:00:00 2001
From: vharseko <vharseko@openam.org.ru>
Date: Thu, 04 Oct 2018 09:07:57 +0000
Subject: [PATCH] disable maven-checkstyle-plugin in precommit profile

---
 opendj-server-legacy/pom.xml |   77 ++++++++++++++++----------------------
 1 files changed, 33 insertions(+), 44 deletions(-)

diff --git a/opendj-server-legacy/pom.xml b/opendj-server-legacy/pom.xml
index 9857934..1e4e66f 100644
--- a/opendj-server-legacy/pom.xml
+++ b/opendj-server-legacy/pom.xml
@@ -1175,39 +1175,39 @@
       <build>
         <plugins>
 
-          <!-- Enforce Checkstyle -->
-          <plugin>
-            <groupId>org.apache.maven.plugins</groupId>
-            <artifactId>maven-checkstyle-plugin</artifactId>
-            <executions>
-              <!-- Disable default from parent -->
-              <execution>
-                <id>check-src-and-tests</id>
-                <phase>none</phase>
-                <goals>
-                  <goal>checkstyle</goal>
-                </goals>
-              </execution>
-              <execution>
-                <id>check-src-and-tests-alternative</id>
-                <configuration>
-                  <excludes>generated/org/opends/server/snmp/**,org/opends/messages/**</excludes>
-                  <configLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/opends-checkstyle.xml</configLocation>
-                  <headerLocation>${checkstyleHeaderLocation}</headerLocation>
-                  <suppressionsLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/unit-test-suppressions.xml</suppressionsLocation>
-                  <includeTestSourceDirectory>true</includeTestSourceDirectory>
-                  <includeResources>false</includeResources>
-                  <!-- Only output errors if we're not expecting any -->
-                  <consoleOutput>${checkstyleFailOnError}</consoleOutput>
-                  <failsOnError>${checkstyleFailOnError}</failsOnError>
-                </configuration>
-                <phase>process-test-classes</phase>
-                <goals>
-                  <goal>check</goal>
-                </goals>
-              </execution>
-            </executions>
-         </plugin>
+<!--           Enforce Checkstyle -->
+<!--           <plugin> -->
+<!--             <groupId>org.apache.maven.plugins</groupId> -->
+<!--             <artifactId>maven-checkstyle-plugin</artifactId> -->
+<!--             <executions> -->
+<!--               Disable default from parent -->
+<!--               <execution> -->
+<!--                 <id>check-src-and-tests</id> -->
+<!--                 <phase>none</phase> -->
+<!--                 <goals> -->
+<!--                   <goal>checkstyle</goal> -->
+<!--                 </goals> -->
+<!--               </execution> -->
+<!--               <execution> -->
+<!--                 <id>check-src-and-tests-alternative</id> -->
+<!--                 <configuration> -->
+<!--                   <excludes>generated/org/opends/server/snmp/**,org/opends/messages/**</excludes> -->
+<!--                   <configLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/opends-checkstyle.xml</configLocation> -->
+<!--                   <headerLocation>${checkstyleHeaderLocation}</headerLocation> -->
+<!--                   <suppressionsLocation>${project.build.outputDirectory}/org/forgerock/checkstyle/unit-test-suppressions.xml</suppressionsLocation> -->
+<!--                   <includeTestSourceDirectory>true</includeTestSourceDirectory> -->
+<!--                   <includeResources>false</includeResources> -->
+<!--                   Only output errors if we're not expecting any -->
+<!--                   <consoleOutput>${checkstyleFailOnError}</consoleOutput> -->
+<!--                   <failsOnError>${checkstyleFailOnError}</failsOnError> -->
+<!--                 </configuration> -->
+<!--                 <phase>process-test-classes</phase> -->
+<!--                 <goals> -->
+<!--                   <goal>check</goal> -->
+<!--                 </goals> -->
+<!--               </execution> -->
+<!--             </executions> -->
+<!--          </plugin> -->
 
           <!--
              Run unit/integration tests.
@@ -1476,17 +1476,6 @@
       </build>
     </profile>
 
-    <profile>
-      <id>forgerock-release</id>
-
-      <properties>
-        <!-- Released documentation is published at ForgeRock.com -->
-        <docHomepageUrl>https://backstage.forgerock.com/#!/docs/opendj</docHomepageUrl>
-        <docWikiUrl>https://backstage.forgerock.com/#!/docs/opendj</docWikiUrl>
-        <docGuideRefUrl>https://backstage.forgerock.com/#!/docs/opendj/${project.version}/admin-guide</docGuideRefUrl>
-        <docGuideAdminUrl>https://backstage.forgerock.com/#!/docs/opendj/${project.version}/admin-guide</docGuideAdminUrl>
-      </properties>
-    </profile>
   </profiles>
 
 </project>

--
Gitblit v1.10.0