You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jdo-commits@db.apache.org by ti...@apache.org on 2021/10/17 19:15:51 UTC

[db-jdo] branch pre-3.2-RC1-fixes created (now f9365be)

This is an automated email from the ASF dual-hosted git repository.

tilmannz pushed a change to branch pre-3.2-RC1-fixes
in repository https://gitbox.apache.org/repos/asf/db-jdo.git.


      at f9365be  Pre 3.2 release fixes

This branch includes the following new commits:

     new f9365be  Pre 3.2 release fixes

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


[db-jdo] 01/01: Pre 3.2 release fixes

Posted by ti...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

tilmannz pushed a commit to branch pre-3.2-RC1-fixes
in repository https://gitbox.apache.org/repos/asf/db-jdo.git

commit f9365beac44502db33d3e0f6b8d6c0e7b5732952
Author: Tilmann <zo...@gmx.de>
AuthorDate: Sun Oct 17 21:15:40 2021 +0200

    Pre 3.2 release fixes
---
 .rat-excludes      |  1 +
 HowToReleaseJDO.md | 49 +++++++++++++++++++++++++++----------------------
 parent-pom/pom.xml |  4 ++++
 3 files changed, 32 insertions(+), 22 deletions(-)

diff --git a/.rat-excludes b/.rat-excludes
index fd92448..fcf26d6 100644
--- a/.rat-excludes
+++ b/.rat-excludes
@@ -33,6 +33,7 @@ Q*MeetingRoom.java
 Q*Person.java
 Q*Project.java
 Q*DiscriminatorClassName*.java
+QPC*Annotated.java
 QPrimitiveTypes.java
 QVersionedPCPoint.java
 QNamedQueriesSample.java
diff --git a/HowToReleaseJDO.md b/HowToReleaseJDO.md
index 350742c..743e28f 100644
--- a/HowToReleaseJDO.md
+++ b/HowToReleaseJDO.md
@@ -105,41 +105,45 @@ Detailed process steps
     main branch.
 
         git checkout -b 3.2
-        git push -u 3.2
+        git push -u origin 3.2
 
 3.  In the release branch, update version numbers in the following files in
     preparation for the next release:
     
-    tck/README.md  
-    Update version number and date
+    * `tck/README.md`     
+      Update version number and date
 
     Use the maven version plug-in to update version numbers in the
     pom.xml files at the root and subproject levels.
 
+        mvn versions:set -DnewVersion=3.2-RC1 -DprocessAllModules
+        mvn versions:update-parent -DallowSnapshots=true -DnewVersion=3.2-RC1 -DprocessAllModulesss
+        mvn versions::commit -DprocessAllModules
+
 4.  If needed, update the dependency to the RI, DataNucleus, in the tck
-    pom.xml.
+    `pom.xml`.
 
 5.  If needed, apply patches from the main branch to the release branch.
 
 6.  Update version numbers where necessary in projects to be released,
     if these changes haven't been made previously. Check the following
     files:
-    README.md  
-    File names and version references in the Overview section (for a
+     * `README.md`   
+       File names and version references in the Overview section (for a
     major release only.)
 
-    tck/RunRules.md  
-    Update version number
+     * `tck/RunRules.md`  
+       Update version number
 
-7.  Check the scm settings in the pom.xml files in the new branch and
+7.  Check the scm settings in the `pom.xml` files in the new branch and
     make sure they refer to the new branch (instead of the main branch).
 
 8.  Follow the instructions at [Publishing Maven
-    Artifacts](http://www.apache.org/dev/publishing-maven-artifacts.html)
+    Artifacts](https://infra.apache.org/publishing-maven-artifacts.html)
     to set up your development environment.
 
-9.  Copy the JNDI implementation jars (providerutil.jar and
-    fscontext.jar) to the branch lib/ext directory. This is needed to
+9.  Copy the JNDI implementation jars (`providerutil.jar` and
+    `fscontext.jar`) to the branch `lib/ext` directory. This is needed to
     test the tck before distributing it.
     **Do not check these in into the repository**
 
@@ -153,28 +157,29 @@ Detailed process steps
   
     This creates the .jar and .pom files in the target directory of each
     subproject. Be prepared to enter your key passcode when prompted, 
-    to create the <artifact>.asc GPG signatures.
+    to create the `<artifact>.asc` GPG signatures.
     This happens multiple times.
 
 12. Run [Apache Rat](http://creadur.apache.org/rat) on the release 
     artifacts to verify the results of the build.
 
     Download Apache Rat from https://creadur.apache.org/rat/download_rat.cgi 
-    and extract the Jar-File, e.g. apache-rat-0.13.jar 
+    and extract the Jar-File, e.g. `apache-rat-0.13.jar` 
 
-        java -jar apache-rat-0.13.jar -E .rat-excludes -d api/target/jdo-api-3.2-SNAPSHOT-sources.jar
-        java -jar apache-rat-0.13.jar -E .rat-excludes -d tck/target/jdo-tck-3.2-SNAPSHOT-sources.jar
+        java -jar apache-rat-0.13.jar -E .rat-excludes -d api/target/jdo-api-3.2-RC1-sources.jar
+        java -jar apache-rat-0.13.jar -E .rat-excludes -d tck/target/jdo-tck-3.2-RC1-sources.jar
 
 13. Do a dry run prepare and deployment of a *snapshot release*. You might
     want to do this in a fresh workspace, since you cannot have local
-    modifications when preparing a release. The files in lib/ext and
-    lib/jdori count as local modifications. Be prepared to enter your
+    modifications when preparing a release. The files in `lib/ext and`
+    `lib/jdori` count as local modifications. Be prepared to enter your
     key passcode when prompted. This happens multiple times.
 
-    The release plugin will will ask the following questions and expects an input:
-    What is the release version for "JDO Root POM"?
-    What is the SCM release tag or label for "JDO Root POM"?
-    What is the new development version for "JDO Root POM"?
+    The release plugin will ask the following questions and expects an input:
+    * What is the release version for "JDO Root POM"?
+    * What is the SCM release tag or label for "JDO Root POM"?
+    * What is the new development version for "JDO Root POM"?
+    
     The proposed defaults should be fine.
 
         mkdir tmp
diff --git a/parent-pom/pom.xml b/parent-pom/pom.xml
index 922582b..ac45534 100644
--- a/parent-pom/pom.xml
+++ b/parent-pom/pom.xml
@@ -41,6 +41,10 @@ Requests (JSR 12 and 243) under the auspices of the Java Community Process.</des
         <url>http://www.apache.org</url>
     </organization>
 
+    <properties>
+        <project.build.outputTimestamp>2021-10-10T21:15:00Z</project.build.outputTimestamp>
+    </properties>
+
     <developers>
         <developer>
             <id>madams</id>