Skip to content

Commit

Permalink
javadocs and release notes for 4.3.4 (#4682)
Browse files Browse the repository at this point in the history
  • Loading branch information
hmottestad authored Jul 22, 2023
2 parents 2ae8985 + b286a05 commit 0afd64b
Show file tree
Hide file tree
Showing 7 changed files with 66 additions and 23 deletions.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ dependency-reduced-pom.xml
*.iws

# Hugo
.hugo_build.lock
.hugo_build.lock

# Mac nonsense
.DS_Store
Expand All @@ -47,3 +47,4 @@ formatter-maven-cache.properties
compliance/*/overlays
docker/ignore
/core/queryparser/sparql/JavaCC/javacc/
/scripts/temp/
48 changes: 32 additions & 16 deletions scripts/release.sh
Original file line number Diff line number Diff line change
Expand Up @@ -110,9 +110,6 @@ mvn clean;
git checkout main;
mvn clean;

echo "Running maven clean and install -DskipTests";
mvn clean;
mvn install -DskipTests;

MVN_CURRENT_SNAPSHOT_VERSION=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)

Expand All @@ -121,6 +118,30 @@ MVN_VERSION_RELEASE="${MVN_CURRENT_SNAPSHOT_VERSION/-SNAPSHOT/}"

MVN_NEXT_SNAPSHOT_VERSION="$(increment_version "$MVN_VERSION_RELEASE" 3)-SNAPSHOT"

BRANCH="releases/${MVN_VERSION_RELEASE}"

RELEASE_NOTES_BRANCH="${MVN_VERSION_RELEASE}-release-notes"

git checkout develop
MVN_VERSION_DEVELOP=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)
git checkout main;

cd scripts
rm -rf temp
mkdir temp
echo "MVN_CURRENT_SNAPSHOT_VERSION=\"${MVN_CURRENT_SNAPSHOT_VERSION}\"" > temp/constants.txt
echo "MVN_VERSION_RELEASE=\"${MVN_VERSION_RELEASE}\"" > temp/constants.txt
echo "MVN_NEXT_SNAPSHOT_VERSION=\"${MVN_NEXT_SNAPSHOT_VERSION}\"" > temp/constants.txt
echo "BRANCH=\"${BRANCH}\"" > temp/constants.txt
echo "RELEASE_NOTES_BRANCH=\"${RELEASE_NOTES_BRANCH}\"" > temp/constants.txt
echo "MVN_VERSION_DEVELOP=\"${MVN_VERSION_DEVELOP}\"" > temp/constants.txt
cd ..

echo "Running maven clean and install -DskipTests";
mvn clean;
mvn install -DskipTests;


echo "";
echo "Your current maven snapshot version is: '${MVN_CURRENT_SNAPSHOT_VERSION}'"
echo "Your maven release version will be: '${MVN_VERSION_RELEASE}'"
Expand All @@ -130,16 +151,10 @@ read -n 1 -srp "Press any key to continue (ctrl+c to cancel)"; printf "\n\n";
# set maven version
mvn versions:set -DnewVersion="${MVN_VERSION_RELEASE}"

# set the MVN_VERSION_RELEASE version again just to be on the safe side
MVN_VERSION_RELEASE=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)

# find out a way to test that we set the correct version!

#Remove backup files. Finally, commit the version number changes:
mvn versions:commit


BRANCH="releases/${MVN_VERSION_RELEASE}"

# delete old release branch if it exits
if git show-ref --verify --quiet "refs/heads/${BRANCH}"; then
Expand Down Expand Up @@ -201,10 +216,6 @@ echo "Preparing a merge-branch to merge into develop"
read -n 1 -srp "Press any key to continue (ctrl+c to cancel)"; printf "\n\n";


git checkout develop
git pull

MVN_VERSION_DEVELOP=$(xmllint --xpath "//*[local-name()='project']/*[local-name()='version']/text()" pom.xml)

git checkout "${BRANCH}"

Expand All @@ -230,13 +241,18 @@ echo "Build javadocs"
read -n 1 -srp "Press any key to continue (ctrl+c to cancel)"; printf "\n\n";

git checkout "${MVN_VERSION_RELEASE}"
mvn clean -Dmaven.clean.failOnError=false

# temporarily disable exiting on error
set +e
mvn clean
mvn compile -Pquick -Dmaven.compiler.failOnError=false
mvn compile -DskipTests
mvn package -Passembly -DskipTests
set -e

mvn package -Passembly -DskipTests


git checkout main
RELEASE_NOTES_BRANCH="${MVN_VERSION_RELEASE}-release-notes"
git checkout -b "${RELEASE_NOTES_BRANCH}"

tar -cvzf "site/static/javadoc/${MVN_VERSION_RELEASE}.tgz" -C target/site/apidocs .
Expand Down
12 changes: 6 additions & 6 deletions site/content/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ toc: true

You can either retrieve RDF4J via Apache Maven, or download the SDK or onejar directly.

## RDF4J 4.3.3 (latest)
## RDF4J 4.3.4 (latest)

RDF4J 4.3.3 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.3.3).
RDF4J 4.3.4 is our latest stable release. It requires Java 11 minimally.
For details on what’s new and how to upgrade, see the [release and upgrade notes](/release-notes/4.3.4).

- [RDF4J 4.3.3 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.3-sdk.zip)<br/>
- [RDF4J 4.3.4 SDK (zip)](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.4-sdk.zip)<br/>
Full Eclipse RDF4J SDK, containing all libraries, RDF4J Server, Workbench, and Console applications, and Javadoc API.

- [RDF4J 4.3.3 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.3-onejar.jar)<br/>
- [RDF4J 4.3.4 onejar](http://www.eclipse.org/downloads/download.php?file=/rdf4j/eclipse-rdf4j-4.3.4-onejar.jar)<br/>
Single jar file for easy inclusion of the full RDF4J toolkit in your Java project.

- [RDF4J artifacts](https://search.maven.org/search?q=org.eclipse.rdf4j) on the [Maven Central Repository](http://search.maven.org/)
Expand All @@ -28,7 +28,7 @@ You can include RDF4J as a Maven dependency in your Java project by including th
<dependency>
<groupId>org.eclipse.rdf4j</groupId>
<artifactId>rdf4j-bom</artifactId>
<version>4.3.3</version>
<version>4.3.4</version>
<type>pom</type>
<scope>import</scope>
</dependency>
Expand Down
14 changes: 14 additions & 0 deletions site/content/news/rdf4j-434.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
---
title: "RDF4J 4.3.4 released"
date: 2023-07-22T09:31:57+0200
layout: "single"
categories: ["news"]
---
RDF4J 4.3.4 is now available. This is a patch release fixing 2 bugs.

For more details, have a look at the [release notes](/release-notes/4.3.4).
<!--more-->
### Links

- [Download RDF4J](/download/)
- [release notes](/release-notes/4.3.4).
12 changes: 12 additions & 0 deletions site/content/release-notes/4.3.4.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: "4.3.4"
toc: true
---
RDF4J 4.3.4 is a patch release that fixes 2 issues.

For a complete overview, see [all issues fixed in 4.3.4](https://github.com/eclipse/rdf4j/milestone/97?closed=1).

## Acknowledgements

This release was made possible by contributions from Håvard M. Ottestad, Matthew Nguyen, pulquero, Jerven Bolleman and Jeen Broekstra.

Binary file added site/static/javadoc/4.3.4.tgz
Binary file not shown.
Binary file modified site/static/javadoc/latest.tgz
Binary file not shown.

0 comments on commit 0afd64b

Please sign in to comment.