You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by ju...@apache.org on 2010/06/24 20:13:03 UTC

svn commit: r957660 - in /pdfbox/trunk: parent/pom.xml pdfbox/pom.xml pom.xml

Author: jukka
Date: Thu Jun 24 18:13:03 2010
New Revision: 957660

URL: http://svn.apache.org/viewvc?rev=957660&view=rev
Log:
Prepare for the 1.2.0 release by automating some more of the release process.

Modified:
    pdfbox/trunk/parent/pom.xml
    pdfbox/trunk/pdfbox/pom.xml
    pdfbox/trunk/pom.xml

Modified: pdfbox/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/parent/pom.xml?rev=957660&r1=957659&r2=957660&view=diff
==============================================================================
--- pdfbox/trunk/parent/pom.xml (original)
+++ pdfbox/trunk/parent/pom.xml Thu Jun 24 18:13:03 2010
@@ -83,6 +83,15 @@
           </links>
         </configuration>
       </plugin>
+      <plugin>
+        <artifactId>maven-release-plugin</artifactId>
+        <configuration>
+          <useReleaseProfile>false</useReleaseProfile>
+          <goals>deploy</goals>
+          <arguments>-Papache-release,pedantic</arguments>
+          <autoVersionSubmodules>true</autoVersionSubmodules>
+        </configuration>
+      </plugin>
     </plugins>
     <pluginManagement>
       <plugins>
@@ -90,6 +99,11 @@
             <groupId>org.apache.rat</groupId>
             <artifactId>apache-rat-plugin</artifactId>
             <version>0.6</version>
+            <configuration>
+              <excludes>
+                <exclude>release.properties</exclude>
+              </excludes>
+            </configuration>
           </plugin>
       </plugins>
     </pluginManagement>

Modified: pdfbox/trunk/pdfbox/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pdfbox/pom.xml?rev=957660&r1=957659&r2=957660&view=diff
==============================================================================
--- pdfbox/trunk/pdfbox/pom.xml (original)
+++ pdfbox/trunk/pdfbox/pom.xml Thu Jun 24 18:13:03 2010
@@ -157,6 +157,7 @@
           <excludes>
             <exclude>src/test/resources/input/rendering/*.ai</exclude>
             <exclude>download/glyphlist.txt</exclude>
+            <exclude>release.properties</exclude>
           </excludes>
         </configuration>
       </plugin>

Modified: pdfbox/trunk/pom.xml
URL: http://svn.apache.org/viewvc/pdfbox/trunk/pom.xml?rev=957660&r1=957659&r2=957660&view=diff
==============================================================================
--- pdfbox/trunk/pom.xml (original)
+++ pdfbox/trunk/pom.xml Thu Jun 24 18:13:03 2010
@@ -86,6 +86,91 @@
               </execution>
             </executions>
           </plugin>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <executions>
+              <execution>
+                <goals>
+                  <goal>run</goal>
+                </goals>
+                <phase>deploy</phase>
+                <configuration>
+                  <tasks>
+                    <mkdir dir="${basedir}/target/${project.version}"/>
+                    <copy todir="${basedir}/target/${project.version}"
+                          flatten="true">
+                      <fileset dir="${basedir}">
+                        <include name="RELEASE-NOTES.txt"/>
+                        <include name="target/*-src.zip*"/>
+                        <include name="jempbox/target/*-${project.version}.jar*"/>
+                        <include name="fontbox/target/*-${project.version}.jar*"/>
+                        <include name="pdfbox/target/*-${project.version}.jar*"/>
+                        <include name="app/target/*-${project.version}.jar*"/>
+                      </fileset>
+                    </copy>
+                    <checksum algorithm="MD5" fileext=".md5">
+                      <fileset dir="${basedir}/target/${project.version}">
+                        <include name="*.zip"/>
+                        <include name="*.jar"/>
+                      </fileset>
+                    </checksum>
+                    <checksum algorithm="SHA1" fileext=".sha">
+                      <fileset dir="${basedir}/target/${project.version}">
+                        <include name="*.zip"/>
+                        <include name="*.jar"/>
+                      </fileset>
+                    </checksum>
+                    <checksum file="${basedir}/target/${project.version}/pdfbox-${project.version}-src.zip"
+                              algorithm="SHA1" property="checksum"/>
+                    <echo file="${basedir}/target/vote.txt">
+From: ${username}@apache.org
+To: dev@pdfbox.apache.org
+Subject: [VOTE] Release Apache PDFBox ${project.version}
+
+A candidate for the PDFBox ${project.version} release is available at:
+
+    http://people.apache.org/~${username}/pdfbox/${project.version}/
+
+The release candidate is a zip archive of the sources in:
+
+    http://svn.apache.org/repos/asf/pdfbox/tags/${project.version}/
+
+The SHA1 checksum of the archive is ${checksum}.
+
+Please vote on releasing this package as Apache PDFBox ${project.version}.
+The vote is open for the next 72 hours and passes if a majority of at
+least three +1 PDFBox PMC votes are cast.
+
+    [ ] +1 Release this package as Apache PDFBox ${project.version}
+    [ ] -1 Do not release this package because...${line.separator}
+                    </echo>
+                    <echo/>
+                    <echo>
+The release candidate has been prepared in:
+
+    ${basedir}/target/${project.version}
+
+Please deploy it to people.apache.org like this:
+
+    scp -r ${basedir}/target/${project.version} people.apache.org:public_html/pdfbox/
+
+A release vote template has been generated for you:
+
+    file://${basedir}/target/vote.txt
+                    </echo>
+                    <echo/>
+                  </tasks>
+                </configuration>
+              </execution>
+            </executions>
+            <dependencies>
+              <dependency>
+                 <groupId>org.apache.ant</groupId>
+                 <artifactId>ant-nodeps</artifactId>
+                 <version>1.8.1</version>
+               </dependency>
+            </dependencies>
+          </plugin>
         </plugins>
       </build>
     </profile>