You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@accumulo.apache.org by ct...@apache.org on 2017/06/13 21:24:24 UTC

[1/3] accumulo git commit: ACCUMULO-4432 Ensure ITs are categorized

Repository: accumulo
Updated Branches:
  refs/heads/1.8 2b72e7c96 -> 122423151
  refs/heads/master daeb78bd1 -> d0281f20f


ACCUMULO-4432 Ensure ITs are categorized

Adds warbucks-maven-plugin to jdk8 profile (requires java 8) configured
to fail if ITs are found without a JUnit @Category annotation.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/12242315
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/12242315
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/12242315

Branch: refs/heads/1.8
Commit: 122423151481512d2dd05b9d1133ee8945ff75a2
Parents: 2b72e7c
Author: Christopher Tubbs <ct...@apache.org>
Authored: Tue Jun 13 16:50:09 2017 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Tue Jun 13 16:50:09 2017 -0400

----------------------------------------------------------------------
 pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/12242315/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b023908..957792a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1279,6 +1279,19 @@
                         <ignore />
                       </action>
                     </pluginExecution>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>net.revelc.code</groupId>
+                        <artifactId>warbucks-maven-plugin</artifactId>
+                        <versionRange>[0,)</versionRange>
+                        <goals>
+                          <goal>check</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
                   </pluginExecutions>
                 </lifecycleMappingMetadata>
               </configuration>
@@ -1375,8 +1388,37 @@
                 <additionalparam>-Xdoclint:all,-Xdoclint:-missing</additionalparam>
               </configuration>
             </plugin>
+            <plugin>
+              <groupId>net.revelc.code</groupId>
+              <artifactId>warbucks-maven-plugin</artifactId>
+              <version>1.0.0</version>
+            </plugin>
           </plugins>
         </pluginManagement>
+        <plugins>
+          <plugin>
+            <groupId>net.revelc.code</groupId>
+            <artifactId>warbucks-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>check-junit-categories-on-its</id>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <rule>
+                      <includeMainClasses>true</includeMainClasses>
+                      <includeTestClasses>true</includeTestClasses>
+                      <classPattern>.*IT</classPattern>
+                      <classAnnotationPattern>org[.]junit[.]experimental[.]categories[.]Category</classAnnotationPattern>
+                    </rule>
+                  </rules>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
       </build>
     </profile>
     <profile>


[3/3] accumulo git commit: Merge branch '1.8'

Posted by ct...@apache.org.
Merge branch '1.8'


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/d0281f20
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/d0281f20
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/d0281f20

Branch: refs/heads/master
Commit: d0281f20fa674149160b4794dcf8446319457a24
Parents: daeb78b 1224231
Author: Christopher Tubbs <ct...@apache.org>
Authored: Tue Jun 13 17:08:04 2017 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Tue Jun 13 17:08:04 2017 -0400

----------------------------------------------------------------------
 pom.xml | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/d0281f20/pom.xml
----------------------------------------------------------------------
diff --cc pom.xml
index 89f6b26,957792a..857e762
--- a/pom.xml
+++ b/pom.xml
@@@ -835,6 -842,6 +835,11 @@@
              </excludes>
            </configuration>
          </plugin>
++        <plugin>
++          <groupId>net.revelc.code</groupId>
++          <artifactId>warbucks-maven-plugin</artifactId>
++          <version>1.0.0</version>
++        </plugin>
        </plugins>
      </pluginManagement>
      <plugins>
@@@ -1104,6 -1077,6 +1109,28 @@@
          </executions>
        </plugin>
        <plugin>
++        <groupId>net.revelc.code</groupId>
++        <artifactId>warbucks-maven-plugin</artifactId>
++        <executions>
++          <execution>
++            <id>check-junit-categories-on-its</id>
++            <goals>
++              <goal>check</goal>
++            </goals>
++            <configuration>
++              <rules>
++                <rule>
++                  <includeMainClasses>true</includeMainClasses>
++                  <includeTestClasses>true</includeTestClasses>
++                  <classPattern>.*IT</classPattern>
++                  <classAnnotationPattern>org[.]junit[.]experimental[.]categories[.]Category</classAnnotationPattern>
++                </rule>
++              </rules>
++            </configuration>
++          </execution>
++        </executions>
++      </plugin>
++      <plugin>
          <!-- Allows us to get the apache-ds bundle artifacts -->
          <groupId>org.apache.felix</groupId>
          <artifactId>maven-bundle-plugin</artifactId>


[2/3] accumulo git commit: ACCUMULO-4432 Ensure ITs are categorized

Posted by ct...@apache.org.
ACCUMULO-4432 Ensure ITs are categorized

Adds warbucks-maven-plugin to jdk8 profile (requires java 8) configured
to fail if ITs are found without a JUnit @Category annotation.


Project: http://git-wip-us.apache.org/repos/asf/accumulo/repo
Commit: http://git-wip-us.apache.org/repos/asf/accumulo/commit/12242315
Tree: http://git-wip-us.apache.org/repos/asf/accumulo/tree/12242315
Diff: http://git-wip-us.apache.org/repos/asf/accumulo/diff/12242315

Branch: refs/heads/master
Commit: 122423151481512d2dd05b9d1133ee8945ff75a2
Parents: 2b72e7c
Author: Christopher Tubbs <ct...@apache.org>
Authored: Tue Jun 13 16:50:09 2017 -0400
Committer: Christopher Tubbs <ct...@apache.org>
Committed: Tue Jun 13 16:50:09 2017 -0400

----------------------------------------------------------------------
 pom.xml | 42 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 42 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/accumulo/blob/12242315/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index b023908..957792a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1279,6 +1279,19 @@
                         <ignore />
                       </action>
                     </pluginExecution>
+                    <pluginExecution>
+                      <pluginExecutionFilter>
+                        <groupId>net.revelc.code</groupId>
+                        <artifactId>warbucks-maven-plugin</artifactId>
+                        <versionRange>[0,)</versionRange>
+                        <goals>
+                          <goal>check</goal>
+                        </goals>
+                      </pluginExecutionFilter>
+                      <action>
+                        <ignore />
+                      </action>
+                    </pluginExecution>
                   </pluginExecutions>
                 </lifecycleMappingMetadata>
               </configuration>
@@ -1375,8 +1388,37 @@
                 <additionalparam>-Xdoclint:all,-Xdoclint:-missing</additionalparam>
               </configuration>
             </plugin>
+            <plugin>
+              <groupId>net.revelc.code</groupId>
+              <artifactId>warbucks-maven-plugin</artifactId>
+              <version>1.0.0</version>
+            </plugin>
           </plugins>
         </pluginManagement>
+        <plugins>
+          <plugin>
+            <groupId>net.revelc.code</groupId>
+            <artifactId>warbucks-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <id>check-junit-categories-on-its</id>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+                <configuration>
+                  <rules>
+                    <rule>
+                      <includeMainClasses>true</includeMainClasses>
+                      <includeTestClasses>true</includeTestClasses>
+                      <classPattern>.*IT</classPattern>
+                      <classAnnotationPattern>org[.]junit[.]experimental[.]categories[.]Category</classAnnotationPattern>
+                    </rule>
+                  </rules>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
       </build>
     </profile>
     <profile>