Skip to content
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
9 changes: 2 additions & 7 deletions dev/com.ibm.ws.appclient.boot.cmdline/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#*******************************************************************************
# Copyright (c) 2017 IBM Corporation and others.
# Copyright (c) 2017, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
Expand All @@ -13,11 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Bundle-SymbolicName: com.ibm.ws.appclient.boot.cmdline

instrument.disabled: true
Expand Down
9 changes: 2 additions & 7 deletions dev/com.ibm.ws.ejbcontainer.remote.portable.core/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#*******************************************************************************
# Copyright (c) 2017 IBM Corporation and others.
# Copyright (c) 2017, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
Expand All @@ -13,11 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Export-Package: \
com.ibm.ejs.container,\
com.ibm.ejs.container.activator,\
Expand Down
9 changes: 2 additions & 7 deletions dev/com.ibm.ws.ejbcontainer.remote.portable/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
Expand All @@ -16,11 +16,6 @@

bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Import-Package: \
!com.ibm.ws.logging, \
*
Expand All @@ -36,4 +31,4 @@ publish.wlp.jar.suffix: clients

publish.wlp.jar.include: ejbRemotePortable.*jar

publish.wlp.jar.rename: false
publish.wlp.jar.rename: false
7 changes: 1 addition & 6 deletions dev/com.ibm.ws.kernel.boot.cmdline/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#*******************************************************************************
# Copyright (c) 2017 IBM Corporation and others.
# Copyright (c) 2017, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
Expand All @@ -13,11 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Export-Package: com.ibm.ws.kernel.boot.cmdline;-split-package:=merge-last

instrument.disabled: true
Expand Down
9 changes: 2 additions & 7 deletions dev/com.ibm.ws.kernel.boot.nested/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#*******************************************************************************
# Copyright (c) 2017, 2023 IBM Corporation and others.
# Copyright (c) 2017, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
Expand All @@ -13,11 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Export-Package: \
com.ibm.ws.kernel.launch.service,\
com.ibm.ws.kernel,\
Expand Down
5 changes: 0 additions & 5 deletions dev/com.ibm.ws.kernel.boot/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,6 @@
-nouses=true
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

# We're going to create a bad bundle here: don't want imports
# or anything else for the launcher. So just swallow the errors.
-failok=true
Expand Down
6 changes: 0 additions & 6 deletions dev/com.ibm.ws.kernel.feature.resolver/bnd.bnd
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

# Compile at Java 7 in order for this to run in WebSphere Migration Tools and Transformation Advisor.
javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Bundle-Name: Liberty Feature Resolver
Bundle-SymbolicName: com.ibm.ws.kernel.feature.resolver
Bundle-Description: Liberty Feature Resolver implementation; version=${bVersion}
Expand Down
9 changes: 2 additions & 7 deletions dev/com.ibm.ws.kernel.instrument.check/bnd.bnd
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
#*******************************************************************************
# Copyright (c) 2017 IBM Corporation and others.
# Copyright (c) 2017, 2025 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License 2.0
# which accompanies this distribution, and is available at
# http://www.eclipse.org/legal/epl-2.0/
#
#
# SPDX-License-Identifier: EPL-2.0
#
# Contributors:
Expand All @@ -13,11 +13,6 @@
-include= ~../cnf/resources/bnd/bundle.props
bVersion=1.0

javac.source: 1.7
javac.target: 1.7

Require-Capability: osgi.ee; filter:="(&(osgi.ee=JavaSE)(version=1.7))"

Private-Package: com.ibm.ws.kernel.instrument;-split-package:=merge-last
Can-Redefine-Classes: false
Can-Retransform-Classes: true
Expand Down
7 changes: 0 additions & 7 deletions dev/wlp-gradle/java.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -96,13 +96,6 @@ subprojects {

tasks.withType(JavaCompile).configureEach({
int javaVersionNumVal = Integer.parseInt(JavaVersion.current().getMajorVersion())
// javac 20 has a min target of 1.8, so upgrade any 1.7 projects to 1.8 if running on Java 20

if ('1.7'.equals(sourceCompatibility) && javaVersionNumVal >= 20) {
sourceCompatibility = "1.8"
targetCompatibility = "1.8"
}

if (javaVersionNumVal < 21 && '21'.equals(sourceCompatibility)) {
javaCompiler = javaToolchains.compilerFor {
languageVersion = JavaLanguageVersion.of(21)
Expand Down
3 changes: 0 additions & 3 deletions dev/wlp-gradle/subprojects/tasks.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -260,9 +260,6 @@ if (bnd.get('publish.wlp.jar.suffix', 'lib').contains('api/ibm') || bnd.get('pub

int javaVersionNumVal = Integer.parseInt(JavaVersion.current().getMajorVersion())
def release = bnd.get('javac.source')
if ('1.7'.equals(release) && javaVersionNumVal >= 20) {
release = "8"
}

if(release.startsWith('1.')) {
release = release.substring(2);
Expand Down