Remove ASM build from eclipse-ee4j/eclipselink
Signed-off-by: Will Dazey <dazeydev.3@gmail.com>
diff --git a/NOTICE.md b/NOTICE.md
index 8bca987..91e702e 100644
--- a/NOTICE.md
+++ b/NOTICE.md
@@ -100,64 +100,6 @@
* License: Apache License, 2.0
-ASM (1.5.3)
-
-* License: New BSD license
-
-asm (3.3.1)
-
-* License: New BSD License
-
-ASM (5.0.1)
-
-* License: New BSD License
-
-ASM (5.1.0)
-
-* License: New BSD License
-* Project: http://asm.ow2.org
-* Source: http://download.forge.ow2.org/asm/asm-5.1.tar.gz
-
-asm (6.0)
-
-* License: BSD 3-Clause
-* Project: http://asm.ow2.org
-* Source:
- http://forge.ow2.org/project/download.php?group_id=23&file_id=21864
-
-ASM (6.0)
-
-* License: New BSD license
-
-ASM (6.1.1)
-
-* License: BSD-3-Clause
-* Project: http://asm.ow2.org
-* Source: https://gitlab.ow2.org/asm/asm/tags/ASM_6_1_1
-
-asm (6.2)
-
-* License: BSD-3-Clause
-
-asm (7.1)
-
-* License: BSD-3-Clause
-
-ASM (7.2)
-
-* License: Pending
-
-ASM (7.3.1)
-
-* License: BSD-3-Clause
-
-ASM (8.0.1)
-
-* License: BSD-3-Clause
-
-ASM 9 (n/a)
-
-
atinject (Package javax.inject) (1.0)
* License: Apache License, 2.0
diff --git a/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.properties b/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.properties
index cede7ba..4601b6c 100644
--- a/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.properties
+++ b/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.properties
@@ -66,7 +66,6 @@
eclipselink.util.base=utils
eclipselink.perf.base=performance
-eclipselink.asm=${eclipselink.plugins}/${asm}
eclipselink.antlr=${eclipselink.plugins}/${antlr}
eclipselink.mvn.parent=${eclipselink.build.base}/org.eclipse.persistence.parent
diff --git a/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.xml b/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.xml
index 42a002c..77e45d4 100644
--- a/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.xml
+++ b/bundles/others/src/main/resources/nonfiltered/eclipselink-test-src.zip/antbuild.xml
@@ -177,7 +177,6 @@
<pathelement path="${eclipselink.jar}"/>
<pathelement path="${eclipselink.sdo.plugins}/${commonj.sdo.jar}"/>
<pathelement path="${eclipselink.plugins}/${antlr}"/>
- <pathelement path="${eclipselink.plugins}/${asm}"/>
<pathelement path="${eclipselink.plugins}/${activation.jar}"/>
<pathelement path="${eclipselink.plugins}/${jaxb-api.jar}"/>
<pathelement path="${eclipselink.plugins}/${jaxb-core.jar}"/>
@@ -523,11 +522,10 @@
<delete file="${eclipselink.tst.src.prefix}${eclipselink.zip.suffix}" failonerror="false"/>
<antcall target="clean-oracle-if-dependencies"/>
</target>
- <target name="clean-plugins" description="Clean files from plugins directory except antlr and asm.">
+ <target name="clean-plugins" description="Clean files from plugins directory except antlr">
<delete>
<fileset dir="${plugins.dir}" includes="*.jar">
<exclude name="**/org.eclipse.persistence.antlr**"/>
- <exclude name="**/org.eclipse.persistence.asm**"/>
<exclude name="**/readme.for.distribution**"/>
<exclude name="**/org.eclipse.persistence.oracle*.jar"/>
</fileset>
@@ -909,7 +907,6 @@
<!-- Include all non-duplicate content from bOSGi bundles -->
<zipgroupfileset dir="${eclipselink.plugins}">
<include name="org.eclipse.persistence*${version.string}.jar"/>
- <include name="org.eclipse.persistence.asm*.jar"/>
<include name="org.eclipse.persistence.antlr*.jar"/>
<include name="org.eclipse.persistence.oracle_*.jar"/>
<exclude name="*.corba*.jar"/>
@@ -1011,7 +1008,6 @@
<include name="${license-files}"/>
</zipfileset>
<zipgroupfileset dir="${eclipselink.plugins}">
- <include name="${asm}.source_${version.string}.jar"/>
<include name="${antlr}.source_${version.string}.jar"/>
<include name="org.eclipse.persistence*.source*.jar"/>
<include name="eclipselink-moxy-dynamicxjc.source*.jar"/>
diff --git a/etc/jenkins/build_asm.groovy b/etc/jenkins/build_asm.groovy
deleted file mode 100644
index 755cfce..0000000
--- a/etc/jenkins/build_asm.groovy
+++ /dev/null
@@ -1,62 +0,0 @@
-// Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
-//
-// This program and the accompanying materials are made available under the
-// terms of the Eclipse Distribution License v. 1.0, which is available at
-// http://www.eclipse.org/org/documents/edl-v10.php.
-// or the Eclipse Distribution License v. 1.0 which is available at
-// http://www.eclipse.org/org/documents/edl-v10.php.
-//
-// SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-
-// Job input parameters:
-// GIT_BRANCH_RELEASE - Branch to release
-
-// Job internal argumets:
-// GIT_USER_NAME - Git user name (for commits)
-// GIT_USER_EMAIL - Git user e-mail (for commits)
-// SSH_CREDENTIALS_ID - Jenkins ID of SSH credentials
-// GPG_CREDENTIALS_ID - Jenkins ID of GPG credentials (stored as KEYRING variable)
-
-pipeline {
-
- agent any
-
- tools {
- jdk 'adoptopenjdk-hotspot-jdk11-latest'
- maven 'apache-maven-latest'
- }
-
- environment {
- ASM_DIR="${WORKSPACE}/plugins/org.eclipse.persistence.asm"
- }
-
- stages {
- // Initialize build environment
- stage('Init') {
- steps {
- git branch: GIT_BRANCH_RELEASE, credentialsId: SSH_CREDENTIALS_ID, url: GIT_REPOSITORY_URL
- withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) {
- sh label: '', script: '''
- gpg --batch --import "${KEYRING}"
- for fpr in $(gpg --list-keys --with-colons | awk -F: \'/fpr:/ {print $10}\' | sort -u);
- do
- echo -e "5\\ny\\n" | gpg --batch --command-fd 0 --expert --edit-key $fpr trust;
- done'''
- }
- // Git configuration
- sh '''
- git config --global user.name "${GIT_USER_NAME}"
- git config --global user.email "${GIT_USER_EMAIL}"
- '''
- }
- }
- // Perform release
- stage('Build') {
- steps {
- sh '''
- etc/jenkins/build_asm.sh
- '''
- }
- }
- }
-}
diff --git a/etc/jenkins/build_asm.sh b/etc/jenkins/build_asm.sh
deleted file mode 100755
index 6ddced0..0000000
--- a/etc/jenkins/build_asm.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/bash -e
-#
-# Copyright (c) 2021 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,
-# or the Eclipse Distribution License v. 1.0 which is available at
-# http://www.eclipse.org/org/documents/edl-v10.php.
-#
-# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-#
-
-echo '-[ EclipseLink ASM Build ]------------------------------------------------'
-(cd ${ASM_DIR} && \
- mvn -V -B clean install -Poss-release)
diff --git a/etc/jenkins/release_asm.groovy b/etc/jenkins/release_asm.groovy
deleted file mode 100644
index e4acb52..0000000
--- a/etc/jenkins/release_asm.groovy
+++ /dev/null
@@ -1,152 +0,0 @@
-// Copyright (c) 2021 Oracle and/or its affiliates. All rights reserved.
-//
-// This program and the accompanying materials are made available under the
-// terms of the Eclipse Distribution License v. 1.0, which is available at
-// http://www.eclipse.org/org/documents/edl-v10.php.
-// or the Eclipse Distribution License v. 1.0 which is available at
-// http://www.eclipse.org/org/documents/edl-v10.php.
-//
-// SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-
-// Job input parameters:
-// ASM_VERSION - EclipseLink ASM version to release
-// NEXT_ASM_VERSION - Next EclipseLink ASM snapshot version to set (e.g. 1.2.4-SNAPSHOT)
-// BRANCH - Branch to release
-// DRY_RUN - Do not publish artifacts to OSSRH and code changes to GitHub
-// OVERWRITE_GIT - Allows to overwrite existing version in git
-// OVERWRITE_STAGING - Allows to overwrite existing version in OSSRH (Jakarta) staging repositories
-
-// Job internal arguments:
-// GIT_USER_NAME - Git user name (for commits)
-// GIT_USER_EMAIL - Git user e-mail (for commits)
-// GIT_BRANCH_RELEASE - Git branch to release
-// SSH_CREDENTIALS_ID - Jenkins ID of SSH credentials
-// GPG_CREDENTIALS_ID - Jenkins ID of GPG credentials (stored as KEYRING variable)
-
-pipeline {
-
- agent {
- kubernetes {
- label 'el-master-agent-pod'
- yaml """
-apiVersion: v1
-kind: Pod
-spec:
-
- volumes:
- - name: tools
- persistentVolumeClaim:
- claimName: tools-claim-jiro-eclipselink
- - name: volume-known-hosts
- configMap:
- name: known-hosts
- - name: settings-xml
- secret:
- secretName: m2-secret-dir
- items:
- - key: settings.xml
- path: settings.xml
- - name: toolchains-xml
- configMap:
- name: m2-dir
- items:
- - key: toolchains.xml
- path: toolchains.xml
- - name: settings-security-xml
- secret:
- secretName: m2-secret-dir
- items:
- - key: settings-security.xml
- path: settings-security.xml
- - name: m2-repo
- emptyDir: {}
-
- containers:
- - name: jnlp
- resources:
- limits:
- memory: "1Gi"
- cpu: "1"
- requests:
- memory: "1Gi"
- cpu: "500m"
- - name: el-build
- resources:
- limits:
- memory: "2Gi"
- cpu: "2"
- requests:
- memory: "2Gi"
- cpu: "1.5"
- image: tkraus/el-build:1.1.9
- volumeMounts:
- - name: tools
- mountPath: /opt/tools
- - name: volume-known-hosts
- mountPath: /home/jenkins/.ssh
- - name: settings-xml
- mountPath: /home/jenkins/.m2/settings.xml
- subPath: settings.xml
- readOnly: true
- - name: toolchains-xml
- mountPath: /home/jenkins/.m2/toolchains.xml
- subPath: toolchains.xml
- readOnly: true
- - name: settings-security-xml
- mountPath: /home/jenkins/.m2/settings-security.xml
- subPath: settings-security.xml
- readOnly: true
- - name: m2-repo
- mountPath: /home/jenkins/.m2/repository
- tty: true
- command:
- - cat
-"""
- }
- }
-
- tools {
- jdk 'adoptopenjdk-hotspot-jdk11-latest'
- maven 'apache-maven-latest'
- }
-
- environment {
- ASM_DIR="${WORKSPACE}/plugins/org.eclipse.persistence.asm"
- }
-
- stages {
- // Initialize build environment
- stage('Init') {
- steps {
- container('el-build') {
- git branch: GIT_BRANCH_RELEASE, credentialsId: SSH_CREDENTIALS_ID, url: GIT_REPOSITORY_URL
- withCredentials([file(credentialsId: 'secret-subkeys.asc', variable: 'KEYRING')]) {
- sh label: '', script: '''
- gpg --batch --import "${KEYRING}"
- for fpr in $(gpg --list-keys --with-colons | awk -F: \'/fpr:/ {print $10}\' | sort -u);
- do
- echo -e "5\\ny\\n" | gpg --batch --command-fd 0 --expert --edit-key $fpr trust;
- done'''
- }
- // Git configuration
- sh '''
- git config --global user.name "${GIT_USER_NAME}"
- git config --global user.email "${GIT_USER_EMAIL}"
- '''
- }
- }
- }
- // Perform release
- stage('Build and release EclipseLink ASM') {
- steps {
- container('el-build') {
- git branch: GIT_BRANCH_RELEASE, credentialsId: SSH_CREDENTIALS_ID, url: GIT_REPOSITORY_URL
- sh '''
- etc/jenkins/release_asm.sh "${ASM_VERSION}" "${NEXT_ASM_VERSION}" "${DRY_RUN}" "${OVERWRITE_GIT}" "${OVERWRITE_STAGING}"
- '''
- }
- }
- }
- }
-
-}
diff --git a/etc/jenkins/release_asm.sh b/etc/jenkins/release_asm.sh
deleted file mode 100755
index 40e84a6..0000000
--- a/etc/jenkins/release_asm.sh
+++ /dev/null
@@ -1,117 +0,0 @@
-#!/bin/bash -e
-#
-# Copyright (c) 2021 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,
-# or the Eclipse Distribution License v. 1.0 which is available at
-# http://www.eclipse.org/org/documents/edl-v10.php.
-#
-# SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-#
-
-#
-# Arguments:
-# $1 - ASM_VERSION - Version to release
-# $2 - NEXT_ASM_VERSION - Next snapshot version to set (e.g. 3.0.1-SNAPSHOT).
-# $3 - DRY_RUN - Do not publish artifacts to OSSRH and code changes to GitHub.
-# $4 - OVERWRITE_GIT - Allows to overwrite existing version in git
-# $5 - OVERWRITE_STAGING - Allows to overwrite existing version in OSSRH (Jakarta) staging repositories
-
-
-ASM_VERSION="${1}"
-NEXT_ASM_VERSION="${2}"
-DRY_RUN="${3}"
-OVERWRITE_GIT="${4}"
-OVERWRITE_STAGING="${5}"
-
-
-export MAVEN_SKIP_RC="true"
-
-. etc/jenkins/includes/maven.incl.sh
-. etc/jenkins/includes/nexus.incl.sh
-
-read_version 'ASM' "${ASM_DIR}"
-
-if [ -z "${ASM_RELEASE_VERSION}" ]; then
- echo '-[ Missing required EclipseLink ASM release version number! ]--------------------------------'
- exit 1
-fi
-
-RELEASE_TAG="${ASM_RELEASE_VERSION}"
-RELEASE_BRANCH="${ASM_RELEASE_VERSION}-RELEASE"
-
-if [ ${DRY_RUN} = 'true' ]; then
- echo '-[ Dry run turned on ]----------------------------------------------------------'
- MVN_DEPLOY_ARGS='install'
- echo '-[ Skipping GitHub branch and tag checks ]--------------------------------------'
-else
- MVN_DEPLOY_ARGS='deploy'
- GIT_ORIGIN=`git remote`
- echo '-[ Prepare branch ]-------------------------------------------------------------'
- if [[ -n `git branch -r | grep "${GIT_ORIGIN}/${RELEASE_BRANCH}"` ]]; then
- if [ "${OVERWRITE_GIT}" = 'true' ]; then
- echo "${GIT_ORIGIN}/${RELEASE_BRANCH} branch already exists, deleting"
- git push --delete origin "${RELEASE_BRANCH}" && true
- else
- echo "Error: ${GIT_ORIGIN}/${RELEASE_BRANCH} branch already exists"
- exit 1
- fi
- fi
- echo '-[ Release tag cleanup ]--------------------------------------------------------'
- if [[ -n `git ls-remote --tags ${GIT_ORIGIN} | grep "${RELEASE_TAG}"` ]]; then
- if [ "${OVERWRITE_GIT}" = 'true' ]; then
- echo "${RELEASE_TAG} tag already exists, deleting"
- git push --delete origin "${RELEASE_TAG}" && true
- else
- echo "Error: ${RELEASE_TAG} tag already exists"
- exit 1
- fi
- fi
-fi
-
-# Always delete local branch if exists
-git branch --delete "${RELEASE_BRANCH}" && true
-git checkout -b ${RELEASE_BRANCH}
-
-# Always delete local tag if exists
-git tag --delete "${RELEASE_TAG}" && true
-
-# Read Maven identifiers
-read_mvn_id 'ASM' "${ASM_DIR}"
-
-# Set Nexus identifiers
-ASM_STAGING_DESC="${ASM_GROUP_ID}:${ASM_ARTIFACT_ID}:${ASM_RELEASE_VERSION}"
-ASM_STAGING_KEY=$(echo ${ASM_STAGING_DESC} | sed -e 's/\./\\\./g')
-
-# Set release versions
-echo '-[ EclipseLink ASM release version ]--------------------------------------------------------'
-set_version 'ASM' "${ASM_DIR}" "${ASM_RELEASE_VERSION}" "${ASM_GROUP_ID}" "${ASM_ARTIFACT_ID}" ''
-
-if [ "${OVERWRITE_STAGING}" = 'true' ]; then
- drop_artifacts "${ECLIPSELINK_STAGING_KEY}" "${ECLIPSELINK_DIR}"
-fi
-
-echo '-[ Deploy artifacts to staging repository ]-----------------------------'
-# Verify, sign and deploy release
-(cd ${ASM_DIR} && \
- mvn --no-transfer-progress -U -C -B -V \
- -Poss-release,staging -DskipTests \
- -DstagingDescription="${ASM_STAGING_DESC}" \
- clean ${MVN_DEPLOY_ARGS})
-
-echo '-[ Tag release ]----------------------------------------------------------------'
-git tag "${RELEASE_TAG}" -m "EclipseLink ASM ${ASM_RELEASE_VERSION} release"
-
-# Set next release cycle snapshot version
-echo '-[ EclipseLink ASM next snapshot version ]--------------------------------------------------'
-set_version 'ASM' "${ASM_DIR}" "${ASM_NEXT_SNAPSHOT}" "${ASM_GROUP_ID}" "${ASM_ARTIFACT_ID}" ''
-
-if [ ${DRY_RUN} = 'true' ]; then
- echo '-[ Skipping GitHub update ]-----------------------------------------------------'
-else
- echo '-[ Push branch and tag to GitHub ]----------------------------------------------'
- git push origin "${RELEASE_BRANCH}"
- git push origin "${RELEASE_TAG}"
-fi
diff --git a/features/about.html b/features/about.html
index 6ce5f6e..08ef79f 100644
--- a/features/about.html
+++ b/features/about.html
@@ -71,7 +71,6 @@
<ul>
<li>Foundation Dependencies
<ul>
- <li><a href="#ASM">ASM</a></li>
<li><a href="#JSON">Java API for JSON Processing - Reference Implementation</a></li>
</ul>
</li>
@@ -107,43 +106,6 @@
</li>
</ul>
<hr />
- <h4><a name="ASM" id="ASM"></a>ASM v7.0.0</h4>
- <blockquote>
- <p>The EclipseLink Project includes ASM for the purpose of
- byte code weaving. The AMS library is re-packaged within the source of the
- project (org.persistence.eclipse.internal.libraries.asm.*) to avoid version
- collisions with other usage of ASM.
- </p>
- <p>The source code is available within the project's git repository.
- The binaries are distributed within the eclipselink.jar and in the org.eclipse.persistence.asm_*.jar
- bundle. </p>
- <p> <a href="https://asm.ow2.io/license.html">https://asm.ow2.io/license.html</a></p>
- <p>Copyright (c) 2000-2011 INRIA, France Telecom, All rights reserved.</p>
- <p>Redistribution and use in source and binary forms, with or without
- modification, are permitted provided that the following conditions
- are met:</p>
- <ol>
- <li>Redistributions of source code must retain the above copyright
- notice, this list of conditions and the following disclaimer.</li>
- <li>Redistributions in binary form must reproduce the above copyright
- notice, this list of conditions and the following disclaimer in the
- documentation and/or other materials provided with the distribution.</li>
- <li>Neither the name of the copyright holders nor the names of its
- contributors may be used to endorse or promote products derived from
- this software without specific prior written permission.</li>
- </ol>
- <p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- THE POSSIBILITY OF SUCH DAMAGE.</p>
- </blockquote>
<h4><a name="ANTLR" id="ANTLR"></a>ANTLR v3.5.2</h4>
<blockquote>
<p>The <a href="https://www.antlr3.org/">ANTLR library</a> (<a href="https://www.antlr3.org/license.html">license</a>)
diff --git a/plugins/org.eclipse.persistence.asm/pom.xml b/plugins/org.eclipse.persistence.asm/pom.xml
deleted file mode 100644
index b2b39e0..0000000
--- a/plugins/org.eclipse.persistence.asm/pom.xml
+++ /dev/null
@@ -1,467 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-
- Copyright (c) 2019, 2021 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,
- or the Eclipse Distribution License v. 1.0 which is available at
- http://www.eclipse.org/org/documents/edl-v10.php.
-
- SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-
--->
-
-<project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
- <modelVersion>4.0.0</modelVersion>
-
- <parent>
- <groupId>org.eclipse.ee4j</groupId>
- <artifactId>project</artifactId>
- <version>1.0.6</version>
- <relativePath/>
- </parent>
-
- <groupId>org.eclipse.persistence</groupId>
- <artifactId>org.eclipse.persistence.asm</artifactId>
- <version>9.1.0-SNAPSHOT</version>
-
- <name>EclipseLink ASM</name>
- <description>Comprehensive and universal persistence framework for Java.</description>
-
- <scm>
- <connection>scm:git:https://github.com/eclipse-ee4j/eclipselink.git</connection>
- <url>https://github.com/eclipse-ee4j/eclipselink.git</url>
- </scm>
-
- <organization>
- <name>Eclipse.org - EclipseLink Project</name>
- <url>http://www.eclipse.org/eclipselink</url>
- </organization>
-
- <inceptionYear>2007</inceptionYear>
- <url>http://www.eclipse.org/eclipselink</url>
-
- <licenses>
- <license>
- <name>Eclipse Public License - v 2.0</name>
- <url>http://www.eclipse.org/legal/epl-2.0</url>
- <distribution>repo</distribution>
- </license>
- <license>
- <name>Eclipse Distribution License - v 1.0</name>
- <url>http://www.eclipse.org/org/documents/edl-v10.php</url>
- <distribution>repo</distribution>
- </license>
- </licenses>
-
- <issueManagement>
- <system>github</system>
- <url>https://github.com/eclipse-ee4j/eclipselink/issues</url>
- </issueManagement>
-
- <mailingLists>
- <mailingList>
- <name>EclipseLink user's mailing list</name>
- <post>eclipselink-users@eclipse.org</post>
- <subscribe>https://accounts.eclipse.org/mailing-list/eclipselink-users</subscribe>
- <unsubscribe>https://accounts.eclipse.org/mailing-list/eclipselink-users</unsubscribe>
- <archive>https://dev.eclipse.org/mhonarc/lists/eclipselink-users/</archive>
- </mailingList>
- <mailingList>
- <name>EclipseLink developer's mailing list</name>
- <post>eclipselink-dev@eclipse.org</post>
- <subscribe>https://accounts.eclipse.org/mailing-list/eclipselink-dev</subscribe>
- <unsubscribe>https://accounts.eclipse.org/mailing-list/eclipselink-dev</unsubscribe>
- <archive>https://dev.eclipse.org/mhonarc/lists/eclipselink-dev/</archive>
- </mailingList>
- </mailingLists>
-
- <properties>
- <legal.doc.source>${project.basedir}/../..</legal.doc.source>
- <!-- 2.6.x has Java SE 7 as min supported JDK -->
- <base.java.level>7</base.java.level>
- <upper.java.level>9</upper.java.level>
- <!-- CQ #23047 -->
- <asm.version>9.1</asm.version>
- <junit.version>4.13.2</junit.version>
- </properties>
-
- <dependencyManagement>
- <dependencies>
- <!--Source dependencies used for repackaging-->
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <version>${asm.version}</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-commons</artifactId>
- <version>${asm.version}</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-tree</artifactId>
- <version>${asm.version}</version>
- <classifier>sources</classifier>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <version>${junit.version}</version>
- </dependency>
- </dependencies>
- </dependencyManagement>
-
- <dependencies>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm</artifactId>
- <classifier>sources</classifier>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-commons</artifactId>
- <classifier>sources</classifier>
- <scope>provided</scope>
- </dependency>
- <dependency>
- <groupId>org.ow2.asm</groupId>
- <artifactId>asm-tree</artifactId>
- <classifier>sources</classifier>
- <scope>provided</scope>
- </dependency>
- <!--Test dependencies-->
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- <scope>test</scope>
- </dependency>
- </dependencies>
-
- <build>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
-
- <pluginManagement>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <version>3.0.0-M3</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <version>1.4</version>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>3.1.2</version>
- </plugin>
- <plugin>
- <groupId>com.sun.wts.tools.ant</groupId>
- <artifactId>package-rename-task</artifactId>
- <version>1.5.2</version>
- </plugin>
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <version>5.1.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <version>3.8.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-javadoc-plugin</artifactId>
- <version>3.2.0</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <version>3.2.1</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-surefire-plugin</artifactId>
- <version>3.0.0-M5</version>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <version>3.0.0</version>
- </plugin>
- </plugins>
- </pluginManagement>
-
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-enforcer-plugin</artifactId>
- <executions>
- <execution>
- <id>enforce-maven</id>
- <goals>
- <goal>enforce</goal>
- </goals>
- <configuration>
- <rules>
- <requireJavaVersion>
- <version>[11,)</version>
- </requireJavaVersion>
- <requireMavenVersion>
- <version>[3.6.0,)</version>
- </requireMavenVersion>
- </rules>
- <DependencyConvergence />
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>buildnumber-maven-plugin</artifactId>
- <configuration>
- <getRevisionOnlyOnce>true</getRevisionOnlyOnce>
- <revisionOnScmFailure>false</revisionOnScmFailure>
- <shortRevisionLength>7</shortRevisionLength>
- </configuration>
- <executions>
- <execution>
- <phase>validate</phase>
- <goals>
- <goal>create</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.codehaus.mojo</groupId>
- <artifactId>build-helper-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>add-legal-resource</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>add-resource</goal>
- </goals>
- <configuration>
- <resources>
- <resource>
- <directory>${legal.doc.source}</directory>
- <includes>
- <include>NOTICE.md</include>
- <include>LICENSE.md</include>
- </includes>
- <targetPath>META-INF</targetPath>
- </resource>
- </resources>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--Unpack origin ASM sources-->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <executions>
- <execution>
- <id>src-dependencies</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>unpack-dependencies</goal>
- </goals>
- <configuration>
- <includeGroupIds>org.ow2.asm</includeGroupIds>
- <includeScope>provided</includeScope>
- <classifier>sources</classifier>
- <outputDirectory>${project.build.directory}/unpacked-sources/asm-src</outputDirectory>
- <!-- original html doc excluded to avoid javadoc build error on JDK 11/ASM 7.3.1-->
- <excludes>META-INF/MANIFEST.MF,**/*.html</excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <!--Repackage ASM sources to internal packages-->
- <plugin>
- <groupId>com.sun.wts.tools.ant</groupId>
- <artifactId>package-rename-task</artifactId>
- <executions>
- <execution>
- <phase>generate-sources</phase>
- <id>repackage-sources</id>
- <goals>
- <goal>rename</goal>
- </goals>
- <configuration>
- <srcDir>${project.build.directory}/unpacked-sources/asm-src</srcDir>
- <rootDir>${project.build.directory}/generated-sources/asm-src</rootDir>
- <patterns>
- <!-- Refactor classes package from .../unpacked-sources to org.eclipse.persistence.internal.libraries.asm -->
- <org.objectweb.asm>org.eclipse.persistence.internal.libraries.asm</org.objectweb.asm>
- </patterns>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <id>fix-asm</id>
- <phase>generate-sources</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <!-- ASM itself uses 1.8 source level and then retrofits the bytecode
- to work on Java SE 5+. We don't use retrofitter, so we need
- to fix sources to compile for Java SE 7 (EclipseLink 2.6.x) -->
- <target>
- <replace file="${project.build.directory}/generated-sources/asm-src/org/eclipse/persistence/internal/libraries/asm/tree/Util.java">
- <replacefilter>
- <replacetoken><![CDATA[new ArrayList<>(1)]]></replacetoken>
- <replacevalue><![CDATA[new ArrayList<T>(1)]]></replacevalue>
- </replacefilter>
- </replace>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- <configuration>
- <release>${upper.java.level}</release>
- </configuration>
- <executions>
- <execution>
- <id>default-compile</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <compilerArgument>-Xlint:all</compilerArgument>
- </configuration>
- </execution>
- <execution>
- <id>base-compile</id>
- <goals>
- <goal>compile</goal>
- </goals>
- <configuration>
- <release>${base.java.level}</release>
- <excludes>
- <exclude>module-info.java</exclude>
- </excludes>
- </configuration>
- </execution>
- </executions>
- </plugin>
-
- <!--Generate OSGi bundle/manifest-->
- <plugin>
- <groupId>org.apache.felix</groupId>
- <artifactId>maven-bundle-plugin</artifactId>
- <executions>
- <execution>
- <id>bundle-manifest</id>
- <goals>
- <goal>manifest</goal>
- </goals>
- <configuration>
- <niceManifest>true</niceManifest>
- <instructions>
- <Export-Package>*</Export-Package>
- </instructions>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.glassfish.hk2</groupId>
- <artifactId>osgiversion-maven-plugin</artifactId>
- <version>3.0.1</version>
- <executions>
- <execution>
- <id>compute-full-osgi-version</id>
- <goals>
- <goal>compute-osgi-version</goal>
- </goals>
- <configuration>
- <versionPropertyName>project.fullosgi.version</versionPropertyName>
- </configuration>
- </execution>
- <execution>
- <id>compute-osgi-version</id>
- <goals>
- <goal>compute-osgi-version</goal>
- </goals>
- <configuration>
- <dropVersionComponent>qualifier</dropVersionComponent>
- <versionPropertyName>project.osgi.version</versionPropertyName>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-jar-plugin</artifactId>
- <configuration>
- <archive>
- <manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
- <manifest>
- <addDefaultEntries>false</addDefaultEntries>
- </manifest>
- </archive>
- </configuration>
- </plugin>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-source-plugin</artifactId>
- <configuration>
- <archive>
- <manifest>
- <addDefaultEntries>false</addDefaultEntries>
- </manifest>
- <manifestEntries>
- <Implementation-Build-Id>${project.version} - ${buildNumber}</Implementation-Build-Id>
- <Bundle-ManifestVersion>2</Bundle-ManifestVersion>
- <Bundle-Name>EclipseLink ASM Source</Bundle-Name>
- <Bundle-SymbolicName>${project.artifactId}.source</Bundle-SymbolicName>
- <Bundle-Version>${project.fullosgi.version}</Bundle-Version>
- <Eclipse-SourceBundle>${project.artifactId};version="${project.osgi.version}"</Eclipse-SourceBundle>
- </manifestEntries>
- </archive>
- </configuration>
- </plugin>
- </plugins>
- </build>
-</project>
diff --git a/plugins/org.eclipse.persistence.asm/src/main/java/module-info.java b/plugins/org.eclipse.persistence.asm/src/main/java/module-info.java
deleted file mode 100644
index 402680b..0000000
--- a/plugins/org.eclipse.persistence.asm/src/main/java/module-info.java
+++ /dev/null
@@ -1,24 +0,0 @@
-/*
- * Copyright (c) 2021 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,
- * or the Eclipse Distribution License v. 1.0 which is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
- */
-
-// Contributors:
-// Oracle - initial API and implementation
-module org.eclipse.persistence.asm {
-
- requires java.logging;
-
- exports org.eclipse.persistence.internal.libraries.asm;
- exports org.eclipse.persistence.internal.libraries.asm.commons;
- exports org.eclipse.persistence.internal.libraries.asm.signature;
- exports org.eclipse.persistence.internal.libraries.asm.tree;
- exports org.eclipse.persistence.internal.libraries.asm.tree.analysis;
-}
diff --git a/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkASMClassWriter.java b/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkASMClassWriter.java
deleted file mode 100644
index 17faf6d..0000000
--- a/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkASMClassWriter.java
+++ /dev/null
@@ -1,123 +0,0 @@
-/*
- * Copyright (c) 2021 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,
- * or the Eclipse Distribution License v. 1.0 which is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
- */
-// Contributors:
-// Oracle - initial API and implementation
-package org.eclipse.persistence.internal.libraries.asm;
-
-import java.security.AccessController;
-import java.security.PrivilegedAction;
-import java.util.SortedMap;
-import java.util.Collections;
-import java.util.TreeMap;
-import java.util.logging.Level;
-import java.util.logging.Logger;
-
-/**
- * EclipseLink specific {@link ClassVisitor} that generates a corresponding ClassFile structure
- * for currently running Java VM.
- */
-public class EclipseLinkASMClassWriter extends ClassWriter {
-
- private static final Logger LOG = Logger.getLogger(EclipseLinkASMClassWriter.class.getName());
-
- private final int version = getLatestOPCodeVersion();
-
- private static final SortedMap<String, Integer> versionMap = Collections.unmodifiableSortedMap(new TreeMap<String, Integer>() {
- {
- put("1.7", Opcodes.V1_7);
- put("1.8", Opcodes.V1_8);
- put("9", Opcodes.V9);
- put("10", Opcodes.V10);
- put("11", Opcodes.V11);
- put("12", Opcodes.V12);
- put("13", Opcodes.V13);
- put("14", Opcodes.V14);
- put("15", Opcodes.V15);
- put("16", Opcodes.V16);
- put("17", Opcodes.V17);
- }
- });
-
- public EclipseLinkASMClassWriter() {
- this(ClassWriter.COMPUTE_FRAMES);
- }
-
- public EclipseLinkASMClassWriter(final int flags) {
- super(flags);
- }
-
- /**
- * Visits the header of the class with {@code version} set
- * equal to currently running Java SE version.
- *
- * @param access the class's access flags (see {@link Opcodes}). This parameter also indicates if
- * the class is deprecated {@link Opcodes#ACC_DEPRECATED} or a record {@link
- * Opcodes#ACC_RECORD}.
- * @param name the internal name of the class (see {@link Type#getInternalName()}).
- * @param signature the signature of this class. May be {@literal null} if the class is not a
- * generic one, and does not extend or implement generic classes or interfaces.
- * @param superName the internal of name of the super class (see {@link Type#getInternalName()}).
- * For interfaces, the super class is {@link Object}. May be {@literal null}, but only for the
- * {@link Object} class.
- * @param interfaces the internal names of the class's interfaces (see {@link
- * Type#getInternalName()}). May be {@literal null}.
- * @see #visit(int, int, java.lang.String, java.lang.String, java.lang.String, java.lang.String[])
- */
- public final void visit(final int access, final String name,
- final String signature, final String superName, final String[] interfaces) {
- visit(version, access, name, signature, superName, interfaces);
- }
-
- private static int getLatestOPCodeVersion() {
- // let's default to oldest supported Java SE version
- String v = versionMap.firstKey();
- if (System.getSecurityManager() == null) {
- v = System.getProperty("java.specification.version");
- } else {
- try {
- v = AccessController.doPrivileged(new PrivilegedAction<String>() {
- @Override
- public String run() {
- return System.getProperty("java.specification.version");
- }
- });
- } catch (Throwable t) {
- // ie SecurityException
- LOG.log(Level.WARNING, "Cannot read 'java.specification.version' property.", t);
- if (LOG.isLoggable(Level.FINE)) {
- LOG.log(Level.FINE, "Generating bytecode for Java SE ''{0}''.", v);
- }
- }
- }
- Integer version = versionMap.get(v);
- if (version == null) {
- // current JDK is either too new
- String latest = versionMap.lastKey();
- if (latest.compareTo(v) < 0) {
- LOG.log(Level.WARNING, "Java SE ''{0}'' is not fully supported yet. Report this error to the EclipseLink open source project.", v);
- if (LOG.isLoggable(Level.FINE)) {
- LOG.log(Level.FINE, "Generating bytecode for Java SE ''{0}''.", latest);
- }
- version = versionMap.get(latest);
- } else {
- // or too old
- String key = versionMap.firstKey();
- LOG.log(Level.WARNING, "Java SE ''{0}'' is too old.", v);
- if (LOG.isLoggable(Level.FINE)) {
- LOG.log(Level.FINE, "Generating bytecode for Java SE ''{0}''.", key);
- }
- version = versionMap.get(key);
- }
- }
- return version;
- }
-}
diff --git a/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReader.java b/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReader.java
deleted file mode 100644
index e08d2f6..0000000
--- a/plugins/org.eclipse.persistence.asm/src/main/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReader.java
+++ /dev/null
@@ -1,47 +0,0 @@
-/*
- * Copyright (c) 2018, 2020 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,
- * or the Eclipse Distribution License v. 1.0 which is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
- */
-
-// Contributors:
-// Oracle - initial API and implementation
-package org.eclipse.persistence.internal.libraries.asm;
-
-import java.io.ByteArrayOutputStream;
-import java.io.IOException;
-import java.io.InputStream;
-
-public class EclipseLinkClassReader extends ClassReader {
-
- public EclipseLinkClassReader(InputStream stream) throws IOException {
- this(getStream(stream));
- }
-
- public EclipseLinkClassReader(final byte[] classFile) {
- this(classFile, 0, classFile.length);
- }
-
- public EclipseLinkClassReader(final byte[] classFileBuffer, final int classFileOffset, final int classFileLength) {
- super(classFileBuffer, classFileOffset, /* checkClassVersion = */ false);
- }
-
- // not closing stream is intentional here
- private static byte[] getStream(final InputStream inputStream) throws IOException {
- ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
- byte[] data = new byte[4096];
- int bytesRead;
- while ((bytesRead = inputStream.read(data, 0, data.length)) != -1) {
- outputStream.write(data, 0, bytesRead);
- }
- outputStream.flush();
- return outputStream.toByteArray();
- }
-
-}
diff --git a/plugins/org.eclipse.persistence.asm/src/main/resources/about.html b/plugins/org.eclipse.persistence.asm/src/main/resources/about.html
deleted file mode 100644
index 4c6edd8..0000000
--- a/plugins/org.eclipse.persistence.asm/src/main/resources/about.html
+++ /dev/null
@@ -1,85 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<!--
-
- Copyright (c) 2020 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,
- or the Eclipse Distribution License v. 1.0 which is available at
- http://www.eclipse.org/org/documents/edl-v10.php.
-
- SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-
--->
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-<head>
-<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<title>About ASM ${asm.version}</title>
-</head>
-<body lang="EN-US">
-<h1>ASM ${asm.version}</h1>
-
-<h2>License </h2>
-<p>The Eclipse Foundation makes available all content in this plug-in ("Content").
- Unless otherwise indicated below, the Content is provided to you under the terms
- and conditions of the Eclipse Public License Version 2.0 ("EPL") and
- Eclipse Distribution License Version 1.0 ("EDL"). A copy of the EPL is available at
- <a href="http://www.eclipse.org/legal/epl-v20.html"> http://www.eclipse.org/legal/epl-v20.html</a>
- and a copy of the EDL is available at <a href="http://www.eclipse.org/org/documents/edl-v10.php">
- http://www.eclipse.org/org/documents/edl-v10.php</a>. For purposes of the EPL, "Program"
- will mean the Content.</p>
-<p>If you did not receive this Content directly from the Eclipse Foundation, the
- Content is being redistributed by another party ("Redistributor")
- and different terms and conditions may apply to your use of any object code
- in the Content. Check the Redistributor’s license that was provided with
- the Content. If no such license exists, contact the Redistributor. Unless otherwise
- indicated below, the terms and conditions of the EPL and EDL still apply to any source
- code in the Content and such source code may be obtained at <a href="http://www.eclipse.org">http://www.eclipse.org</a>.</p>
-<h2>Third Party Content</h2>
-<p>The Content includes items that have been sourced from third parties as set
- out below. If you did not receive this Content directly from the Eclipse Foundation,
- the following is provided for informational purposes only, and you should look
- to the Redistributor’s license for terms and conditions of use.</p>
-<h3><a name="ASM" id="ASM"></a>ASM v${asm.version}</h3>
-<blockquote>
-
- <p>The EclipseLink Project includes ASM for the purpose of
- byte code weaving. The AMS library is re-packaged within the source of the
- project (org.persistence.eclipse.internal.libraries.asm.*) to avoid version
- collisions with other usage of ASM.
- </p>
- <p>The source code is available within the project's git repository and the
- org.eclipse.persistence.asm.source_*.jar bundle.
- The binaries are distributed within the eclipselink.jar and in the org.eclipse.persistence.asm_*.jar
- bundle. </p>
- <p> <a href="http://asm.ow2.org/license.html">http://asm.ow2.org/license.html</a></p>
- <p>Copyright (c) 2000-2011 INRIA, France Telecom<br/>
- All rights reserved.</p>
- <p>Redistribution and use in source and binary forms, with or without modification,
- are permitted provided that the following conditions are met:</p>
- <ol>
- <li> Redistributions of source code must retain the above copyright notice,
- this list of conditions and the following disclaimer.</li>
- <li> Redistributions in binary form must reproduce the above copyright notice,
- this list of conditions and the following disclaimer in the documentation
- and/or other materials provided with the distribution.</li>
- <li> Neither the name of the copyright holders nor the names of its contributors
- may be used to endorse or promote products derived from this software without
- specific prior written permission.</li>
- </ol>
- <p>THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
- IS"AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
- TO, THEIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
- PURPOSEARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS
- BELIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, ORCONSEQUENTIAL
- DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OFSUBSTITUTE GOODS OR
- SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
- CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER INCONTRACT, STRICT LIABILITY,
- OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)ARISING IN ANY WAY OUT OF THE USE
- OF THIS SOFTWARE, EVEN IF ADVISED OFTHE POSSIBILITY OF SUCH DAMAGE.</p>
-</blockquote>
-<p></p>
-</body>
-</html>
diff --git a/plugins/org.eclipse.persistence.asm/src/main/resources/readme.html b/plugins/org.eclipse.persistence.asm/src/main/resources/readme.html
deleted file mode 100644
index 5ea6b56..0000000
--- a/plugins/org.eclipse.persistence.asm/src/main/resources/readme.html
+++ /dev/null
@@ -1,33 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
-<!--
-
- Copyright (c) 2020 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,
- or the Eclipse Distribution License v. 1.0 which is available at
- http://www.eclipse.org/org/documents/edl-v10.php.
-
- SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
-
--->
-
-<HTML xmlns="http://www.w3.org/1999/xhtml">
-<HEAD>
-<META http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"/>
-<TITLE>ASM ${asm.version} Readme</TITLE>
-</HEAD>
-<BODY>
-<DIV class=Section0>
-<P style="TEXT-ALIGN: center" align=center><B>ASM ${asm.version} Read Me</B> </P>
-<P>The <A href="http://www.eclipse.org/eclipselink">EclipseLink</A> project
- includes ASM for the purpose of byte code weaving. The ASM library is
- re-packaged within the source of the
- project (org.persistence.eclipse.internal.libraries.asm.*) to avoid version
- collisions with other usage of ASM.
- </p>
- <p>The source code is available within the org.eclipse.persistence.asm.source_*.jar
- bundle and the project's git repository. The binaries are distributed within the
- eclipselink.jar and in the org.eclipse.persistence.asm_*.jar bundle. </p>
-</BODY></HTML>
diff --git a/plugins/org.eclipse.persistence.asm/src/test/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReaderTest.java b/plugins/org.eclipse.persistence.asm/src/test/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReaderTest.java
deleted file mode 100644
index 354ded3..0000000
--- a/plugins/org.eclipse.persistence.asm/src/test/java/org/eclipse/persistence/internal/libraries/asm/EclipseLinkClassReaderTest.java
+++ /dev/null
@@ -1,39 +0,0 @@
-/*
- * Copyright (c) 2018, 2020 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,
- * or the Eclipse Distribution License v. 1.0 which is available at
- * http://www.eclipse.org/org/documents/edl-v10.php.
- *
- * SPDX-License-Identifier: EPL-2.0 OR BSD-3-Clause
- */
-
-package org.eclipse.persistence.internal.libraries.asm;
-
-import java.io.InputStream;
-
-import org.junit.Test;
-
-import static junit.framework.TestCase.assertEquals;
-import static junit.framework.TestCase.assertNotNull;
-
-public class EclipseLinkClassReaderTest {
-
- private static final String CLASS_FILE_NAME = "org/eclipse/persistence/internal/libraries/asm/AnnotationWriter.class";
-
- /**
- * Basic functional test for ASM and {@link EclipseLinkClassReader}.
- * @throws Exception
- */
- @Test
- public void verifyASMTest() throws Exception {
- try (InputStream stream = EclipseLinkClassReader.class.getClassLoader().getResourceAsStream(CLASS_FILE_NAME)) {
- ClassReader reader = new EclipseLinkClassReader(stream);
- assertNotNull(reader);
- assertEquals("org/eclipse/persistence/internal/libraries/asm/AnnotationVisitor", reader.getSuperName());
- assertEquals("org/eclipse/persistence/internal/libraries/asm/AnnotationWriter", reader.getClassName());
- }
- }
-}