Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update the TCK generation , remove old shell script (tckbundle.sh) #1224

Merged
merged 3 commits into from
Mar 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
74 changes: 0 additions & 74 deletions jaxrs-tck-docs/tckbundle.sh

This file was deleted.

File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,10 @@
<status></status>
<doc.pdf>Jakarta-RESTful-Web-Services-TCK-Users-Guide.pdf</doc.pdf>
<maven.deploy.skip>true</maven.deploy.skip>
<asciidoctorj.maven.plugin.version>3.0.0</asciidoctorj.maven.plugin.version>
<asciidoctorj.version>2.5.11</asciidoctorj.version>
<asciidoctorj.pdf.version>2.3.13</asciidoctorj.pdf.version>

</properties>

<distributionManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
:SEversion: 11
:MavenVersion: 3.6.3+
:JakartaEEVersion: 10
:excludeListFileName: jaxrs-tck-docs/TCK-Exclude-List.txt
:excludeListFileName: jaxrs-tck/docs/TCK-Exclude-List.txt
:groupsExample: xml_binding
:TCKPackageName: jakarta-restful-ws-tck-x.y.z.zip
// Directory names used in examples in using.adoc.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2020, 2024 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 Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
///////////////////////////////////////////////////////////////////////////////

Copyright (c) 2020, 2021 Oracle and/or its affiliates. All rights reserved.
Copyright (c) 2020, 2024 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 Down
63 changes: 55 additions & 8 deletions jaxrs-tck/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -106,25 +106,70 @@

</dependencies>

<build>
<build>
<finalName>${bundle-name}-${project.version}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>LICENSE_${license}.md</include>
<include>com/</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<artifactId>maven-source-plugin</artifactId>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>distribution</id>
<goals>
<goal>single</goal>
</goals>
<phase>package</phase>
<configuration>
<descriptors>
<descriptor>src/main/assembly/assembly.xml</descriptor>
</descriptors>
<escapeString>\</escapeString>
<appendAssemblyId>false</appendAssemblyId>
<finalName>${bundle-name}-${project.version}</finalName>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<release>17</release>
</configuration>
</plugin>

</plugins>
</build>

<profiles>
<profile>
<id>EFTL</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<bundle-name>jakarta-restful-ws-tck</bundle-name>
<license>EFTL</license>
</properties>
</profile>
<profile>
<id>EPL</id>
<properties>
<bundle-name>restful-ws-tck</bundle-name>
<license>EPL</license>
</properties>
</profile>
jamezp marked this conversation as resolved.
Show resolved Hide resolved
<profile>
<id>record-signature</id>
<activation>
Expand Down Expand Up @@ -159,5 +204,7 @@
</plugins>
</build>
</profile>

</profiles>

</project>
73 changes: 73 additions & 0 deletions jaxrs-tck/src/main/assembly/assembly.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--

Copyright (c) 2024 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
http://www.eclipse.org/legal/epl-2.0.

This Source Code may also be made available under the following Secondary
Licenses when the conditions for such availability set forth in the
Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
version 2 with the GNU Classpath Exception, which is available at
https://www.gnu.org/software/classpath/license.html.

SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0

-->

<assembly xmlns="http://maven.apache.org/ASSEMBLY/2.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/ASSEMBLY/2.0.0 http://maven.apache.org/xsd/assembly-2.0.0.xsd">
<id>distribution</id>
<baseDirectory>restful-ws-tck</baseDirectory>
<formats>
<format>zip</format>
</formats>

<files>
<!-- license -->
<file>
<source>${project.basedir}/src/main/resources/LICENSE_${license}.md</source>
<destName>LICENSE.md</destName>
</file>
</files>
<fileSets>
<fileSet>
<directory>${project.build.directory}</directory>
<outputDirectory>artifacts</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>**/*.jar</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/docs</directory>
<outputDirectory>docs</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>assertions/*</include>
<include>*.html</include>
<include>*.txt</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/docs/userguide/target/generated-docs</directory>
<outputDirectory>docs/pdf-usersguide</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>*.pdf</include>
</includes>
</fileSet>
<fileSet>
<directory>${project.basedir}/docs/userguide/target/staging</directory>
<outputDirectory>docs/html-usersguide</outputDirectory>
<fileMode>755</fileMode>
<includes>
<include>*.html</include>
<include>css/**</include>
<include>img/**</include>
</includes>
</fileSet>
</fileSets>
</assembly>
Loading