Skip to content

Commit

Permalink
version changes for TCK service release 3.1.4 (#1184)
Browse files Browse the repository at this point in the history
* version changes for TCK service release 3.1.4

also adding LICENCE file to tck jar

* copyright correction and fix bundle generation script

* remove duplicated directory from bundle
  • Loading branch information
alwin-joseph authored Oct 2, 2023
1 parent 0ac6153 commit 8acb2dc
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 9 deletions.
14 changes: 11 additions & 3 deletions jaxrs-tck-docs/tckbundle.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/bin/bash -xe

# Copyright (c) 2022 Oracle and/or its affiliates. All rights reserved.
# Copyright (c) 2023 Oracle and/or its affiliates. All rights reserved.
#
# This program and the accompanying materials are made available under the
# terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -23,7 +23,7 @@ cd $WORKSPACE
export VERSION="$2"

if [ -z "$VERSION" ]; then
export VERSION="3.1.3"
export VERSION="3.1.4"
fi

if [[ "$1" == "epl" || "$1" == "EPL" ]]; then
Expand All @@ -40,6 +40,7 @@ mvn

rm -rf $WORKSPACE/bundle

mkdir -p $WORKSPACE/bundle
mkdir -p $WORKSPACE/bundle/docs
mkdir -p $WORKSPACE/bundle/docs/html-usersguide
mkdir -p $WORKSPACE/bundle/docs/pdf-usersguide
Expand All @@ -51,17 +52,24 @@ cp $WORKSPACE/jaxrs-tck-docs/*.html $WORKSPACE/bundle/docs/
cp $WORKSPACE/jaxrs-tck-docs/*.txt $WORKSPACE/bundle/docs/
cp -r $WORKSPACE/jaxrs-tck-docs/assertions $WORKSPACE/bundle/docs/

mkdir -p $WORKSPACE/bundle
cp $WORKSPACE/jaxrs-tck/target/*.jar $WORKSPACE/bundle/

cd $WORKSPACE/bundle
mkdir -p $WORKSPACE/bundle/META-INF


if [[ "$1" == "epl" || "$1" == "EPL" ]]; then
cp $WORKSPACE/LICENSE.md $WORKSPACE/bundle/LICENSE.md
cp $WORKSPACE/LICENSE.md $WORKSPACE/bundle/META-INF/LICENSE.md
cp $WORKSPACE/jaxrs-tck/pom.epl.xml $WORKSPACE/bundle/restful-ws-tck-"$VERSION".pom
jar -uvf restful-ws-tck-"$VERSION".jar META-INF/LICENSE.md
rm -rf $WORKSPACE/bundle/META-INF
zip -r restful-ws-tck-"$VERSION".zip *
else
cp $WORKSPACE/jaxrs-tck-docs/LICENSE_EFTL.md $WORKSPACE/bundle/LICENSE.md
cp $WORKSPACE/jaxrs-tck-docs/LICENSE_EFTL.md $WORKSPACE/bundle/META-INF/LICENSE.md
cp $WORKSPACE/jaxrs-tck/pom.xml $WORKSPACE/bundle/jakarta-restful-ws-tck-"$VERSION".pom
jar -uvf jakarta-restful-ws-tck-"$VERSION".jar META-INF/LICENSE.md
rm -rf $WORKSPACE/bundle/META-INF
zip -r jakarta-restful-ws-tck-"$VERSION".zip *
fi
4 changes: 2 additions & 2 deletions jaxrs-tck-docs/userguide/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (c) 2017, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2017, 2023 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -27,7 +27,7 @@
<groupId>org.glassfish</groupId>
<artifactId>tck_jaxrs</artifactId>
<packaging>pom</packaging>
<version>3.1.3</version>
<version>3.1.4</version>
<name>Eclipse Foundation Technology Compatibility Kit User's Guide for Jakarta RESTful Web Services for Jakarta EE, Release 3.1</name>

<properties>
Expand Down
4 changes: 2 additions & 2 deletions jaxrs-tck/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2020 Markus Karg. All rights reserved.
Copyright (c) 2023 Markus Karg. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -26,7 +26,7 @@
<name>Jakarta RESTful WS TCK</name>
<description>Technology Compatibility Kit for Jakarta RESTful Web Services</description>
<url>https://github.com/jakartaee/rest</url>
<version>3.1.3</version>
<version>3.1.4</version>

<parent>
<groupId>jakarta.ws.rs</groupId>
Expand Down
4 changes: 2 additions & 2 deletions jersey-tck/pom.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
Copyright (c) 2021, 2022 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2021, 2023 Oracle and/or its affiliates. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v. 2.0, which is available at
Expand All @@ -22,7 +22,7 @@

<groupId>org.glassfish.jersey.core</groupId>
<artifactId>jersey-tck</artifactId>
<version>3.1.3</version>
<version>3.1.4</version>
<packaging>jar</packaging>

<parent>
Expand Down

0 comments on commit 8acb2dc

Please sign in to comment.