jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ju...@apache.org
Subject svn commit: r1173563 - /jackrabbit/trunk/jackrabbit-api/pom.xml
Date Wed, 21 Sep 2011 10:39:28 GMT
Author: jukka
Date: Wed Sep 21 10:39:28 2011
New Revision: 1173563

URL: http://svn.apache.org/viewvc?rev=1173563&view=rev
Log:
JCR-3073: Explicit management of public API

Move the clirr plugin to a separate profile in jackrabbit-api to avoid having to manually
maintain the exclude list

Modified:
    jackrabbit/trunk/jackrabbit-api/pom.xml

Modified: jackrabbit/trunk/jackrabbit-api/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-api/pom.xml?rev=1173563&r1=1173562&r2=1173563&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-api/pom.xml (original)
+++ jackrabbit/trunk/jackrabbit-api/pom.xml Wed Sep 21 10:39:28 2011
@@ -50,40 +50,6 @@
           </excludes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.codehaus.mojo</groupId>
-        <artifactId>clirr-maven-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>verify</phase>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <configuration>
-<!-- NOTE: Clirr considers adding new methods to an interface a
-     potential backwards-compatibility issue, as it will break
-     source compatibility with code that implements the interface.
-     In our case that's acceptable, so such cases can simply be
-     excluded in the list below. Just remember to clear the exclude
-     list when updating the baseline version to a new minor release.
--->
-              <excludes>
-<exclude>org/apache/jackrabbit/api/JackrabbitWorkspace</exclude>
-<exclude>org/apache/jackrabbit/api/security/user/Authorizable</exclude>
-<exclude>org/apache/jackrabbit/api/security/user/QueryBuilder</exclude>
-<exclude>org/apache/jackrabbit/api/security/user/QueryBuilder$Direction</exclude>
-              </excludes>
-              <comparisonArtifacts>
-                <comparisonArtifact>
-                  <groupId>${project.groupId}</groupId>
-                  <artifactId>${project.artifactId}</artifactId>
-                  <version>${clirr.baseline.version}</version>
-                </comparisonArtifact>
-              </comparisonArtifacts>
-            </configuration>
-          </execution>
-        </executions>
-      </plugin>
     </plugins>
   </build>
 
@@ -99,4 +65,34 @@
     </dependency>
   </dependencies>
 
+  <profiles>
+    <profile>
+      <id>clirr</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.codehaus.mojo</groupId>
+            <artifactId>clirr-maven-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+                <configuration>
+                  <comparisonArtifacts>
+                    <comparisonArtifact>
+                      <groupId>${project.groupId}</groupId>
+                      <artifactId>${project.artifactId}</artifactId>
+                      <version>${clirr.baseline.version}</version>
+                    </comparisonArtifact>
+                  </comparisonArtifacts>
+                </configuration>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
+  </profiles>
 </project>



Mime
View raw message