You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pdfbox.apache.org by le...@apache.org on 2018/02/20 20:20:29 UTC

pdfbox-jbig2 git commit: PDFBOX-4098: prepare pom.xml for first apache release

Repository: pdfbox-jbig2
Updated Branches:
  refs/heads/master 52c7762c8 -> cf39eec22


PDFBOX-4098: prepare pom.xml for first apache release


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

Branch: refs/heads/master
Commit: cf39eec22a09b46f3d915602dc5102a1000209da
Parents: 52c7762
Author: Andreas Lehmkühler <an...@lehmi.de>
Authored: Tue Feb 20 21:20:15 2018 +0100
Committer: Andreas Lehmkühler <an...@lehmi.de>
Committed: Tue Feb 20 21:20:15 2018 +0100

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


http://git-wip-us.apache.org/repos/asf/pdfbox-jbig2/blob/cf39eec2/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index f8ee995..fbf969f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -350,6 +350,90 @@
                 </plugins>
             </build>
         </profile>
+    <profile>
+      <id>apache-release</id>
+      <build>
+        <plugins>
+          <plugin>
+            <artifactId>maven-antrun-plugin</artifactId>
+            <version>1.8</version>
+            <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="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}/jbig2-imageio-${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 JBIG2 ImageIO ${project.version}
+
+A candidate for the PDFBox JBIG2 ImageIO ${project.version} release is available at:
+
+    https://dist.apache.org/repos/dist/dev/pdfbox/jbig2-imageio/${project.version}/
+
+The release candidate is a zip archive of the sources in:
+
+    http://svn.apache.org/repos/asf/pdfbox/tags/jbig2-imageio-${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 JBIG2 ImageIO ${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}
+
+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>
 	</profiles>
 
 </project>