You are viewing a plain text version of this content. The canonical link for it is here.
Posted to oak-commits@jackrabbit.apache.org by ju...@apache.org on 2012/04/30 12:10:46 UTC

svn commit: r1332142 - in /jackrabbit/oak/trunk: check-release.sh oak-it/mk/pom.xml oak-mk/pom.xml oak-parent/pom.xml pom.xml

Author: jukka
Date: Mon Apr 30 10:10:46 2012
New Revision: 1332142

URL: http://svn.apache.org/viewvc?rev=1332142&view=rev
Log:
OAK-44: Release managements tweaks

Rename ${username} to ${apache.username}
Change To: address from dev@ to oak-dev@
Add the pedantic profile with license header checks (WIP...)

Modified:
    jackrabbit/oak/trunk/check-release.sh
    jackrabbit/oak/trunk/oak-it/mk/pom.xml
    jackrabbit/oak/trunk/oak-mk/pom.xml
    jackrabbit/oak/trunk/oak-parent/pom.xml
    jackrabbit/oak/trunk/pom.xml

Modified: jackrabbit/oak/trunk/check-release.sh
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/check-release.sh?rev=1332142&r1=1332141&r2=1332142&view=diff
==============================================================================
--- jackrabbit/oak/trunk/check-release.sh (original)
+++ jackrabbit/oak/trunk/check-release.sh Mon Apr 30 10:10:46 2012
@@ -111,5 +111,5 @@ echo "[INFO] ---------------------------
 echo "[INFO] "
 
 cd "$ZIPTAGDIR"
-mvn package # -Ppedantic
+mvn package -Ppedantic
 

Modified: jackrabbit/oak/trunk/oak-it/mk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-it/mk/pom.xml?rev=1332142&r1=1332141&r2=1332142&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-it/mk/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-it/mk/pom.xml Mon Apr 30 10:10:46 2012
@@ -30,6 +30,22 @@
   <artifactId>oak-it-mk</artifactId>
   <name>Oak Integration Tests for MicroKernel implementations</name>
 
+  <build>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>README.md</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
+  </build>
+
   <dependencies>
     <dependency>
       <groupId>junit</groupId>

Modified: jackrabbit/oak/trunk/oak-mk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-mk/pom.xml?rev=1332142&r1=1332141&r2=1332142&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-mk/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-mk/pom.xml Mon Apr 30 10:10:46 2012
@@ -53,6 +53,19 @@
         </configuration>
       </plugin>
     </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>src/test/resources/org/apache/jackrabbit/mk/json/test.json</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 
   <dependencies>

Modified: jackrabbit/oak/trunk/oak-parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/oak-parent/pom.xml?rev=1332142&r1=1332141&r2=1332142&view=diff
==============================================================================
--- jackrabbit/oak/trunk/oak-parent/pom.xml (original)
+++ jackrabbit/oak/trunk/oak-parent/pom.xml Mon Apr 30 10:10:46 2012
@@ -83,6 +83,11 @@
             <skip>${skip.deployment}</skip>
           </configuration>
         </plugin>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <version>0.8</version>
+        </plugin>
       </plugins>
     </pluginManagement>
   </build>
@@ -137,6 +142,25 @@
         </plugins>
       </build>
     </profile>
+    <profile>
+      <id>pedantic</id>
+      <build>
+        <plugins>
+          <plugin>
+            <groupId>org.apache.rat</groupId>
+            <artifactId>apache-rat-plugin</artifactId>
+            <executions>
+              <execution>
+                <phase>verify</phase>
+                <goals>
+                  <goal>check</goal>
+                </goals>
+              </execution>
+            </executions>
+          </plugin>
+        </plugins>
+      </build>
+    </profile>
   </profiles>
 
 </project>

Modified: jackrabbit/oak/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/oak/trunk/pom.xml?rev=1332142&r1=1332141&r2=1332142&view=diff
==============================================================================
--- jackrabbit/oak/trunk/pom.xml (original)
+++ jackrabbit/oak/trunk/pom.xml Mon Apr 30 10:10:46 2012
@@ -54,25 +54,27 @@
   </scm>
 
   <build>
-    <plugins>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>release.properties</exclude>
-            <exclude>.git/**</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
-    </plugins>
+    <pluginManagement>
+      <plugins>
+        <plugin>
+          <groupId>org.apache.rat</groupId>
+          <artifactId>apache-rat-plugin</artifactId>
+          <configuration>
+            <excludes>
+              <exclude>release.properties</exclude>
+              <exclude>.git/**</exclude>
+            </excludes>
+          </configuration>
+        </plugin>
+      </plugins>
+    </pluginManagement>
   </build>
 
   <profiles>
     <profile>
       <id>apache-release</id>
       <properties>
-        <username>${user.name}</username>
+        <apache.username>${user.name}</apache.username>
         <keyfile>${user.home}/.ssh/id_rsa</keyfile>
         <passphrase />
       </properties>
@@ -130,13 +132,13 @@
                     </checksum>
                     <checksum file="${basedir}/target/${project.version}/${project.artifactId}-${project.version}-src.zip" algorithm="SHA1" property="checksum" />
                     <echo file="${basedir}/target/vote.txt">
-From: ${username}@apache.org
-To: dev@jackrabbit.apache.org
+From: ${apache.username}@apache.org
+To: oak-dev@jackrabbit.apache.org
 Subject: [VOTE] Release Apache Jackrabbit Oak ${project.version}
 
 A candidate for the Jackrabbit Oak ${project.version} release is available at:
 
-    http://people.apache.org/~${username}/oak/${project.version}/
+    http://people.apache.org/~${apache.username}/oak/${project.version}/
 
 The release candidate is a zip archive of the sources in:
 
@@ -150,7 +152,7 @@ A staged Maven repository is available f
 
 The command for running automated checks against this release candidate is:
 
-    $ sh check-release.sh ${username} ${project.version} ${checksum}
+    $ sh check-release.sh ${apache.username} ${project.version} ${checksum}
 
 Please vote on releasing this package as Apache Jackrabbit Oak ${project.version}.
 The vote is open for the next 72 hours and passes if a majority of at
@@ -167,7 +169,8 @@ The release candidate has been prepared 
 
 Please deploy it to people.apache.org like this:
 
-    scp -r ${basedir}/target/${project.version} people.apache.org:public_html/oak/
+    scp -r ${basedir}/target/${project.version} \
+        ${apache.username}@people.apache.org:public_html/oak/
 
 A release vote template has been generated for you: