Skip to content

Commit fbe39a9

Browse files
committed
Use variables for versions
1 parent 5cceb76 commit fbe39a9

File tree

3 files changed

+18
-12
lines changed
  • dev
    • io.openliberty.jakarta.expressionLanguage.4.0
    • io.openliberty.jakarta.expressionLanguage.5.0
    • io.openliberty.jakarta.expressionLanguage.6.0

3 files changed

+18
-12
lines changed

dev/io.openliberty.jakarta.expressionLanguage.4.0/bnd.bnd

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,25 @@ bVersion=1.0
1212

1313
Bundle-SymbolicName: io.openliberty.jakarta.expressionLanguage.4.0; singleton:=true
1414
Bundle-Description: Jakarta Expression Language, version 4.0
15+
Implementation-Version: 10.0.27
16+
Api-Version = 4.0.0
1517

1618
Export-Package: \
17-
jakarta.el;thread-context=true; version="4.0.0"
19+
jakarta.el;thread-context=true; version=${Api-Version}
1820

1921
Provide-Capability: \
2022
osgi.contract;\
2123
osgi.contract=JavaEL;\
22-
version:Version=4.0.0;\
24+
version:Version=${Api-Version};\
2325
uses:="jakarta.el"
2426

2527
-includeresource: \
26-
@\${repo;org.apache.tomcat:tomcat-el-api;10.0.27;EXACT}!/!(META-INF/maven/*|module-info.class),\
28+
@\${repo;org.apache.tomcat:tomcat-el-api;${Implementation-Version};EXACT}!/!(META-INF/maven/*|module-info.class),\
2729
jakarta=resources/jakarta
2830

2931
instrument.disabled: true
3032

3133
publish.wlp.jar.suffix: dev/api/spec
3234

3335
-buildpath: \
34-
org.apache.tomcat:tomcat-el-api;strategy=exact;version=10.0.27
36+
org.apache.tomcat:tomcat-el-api;strategy=exact;version=${Implementation-Version}

dev/io.openliberty.jakarta.expressionLanguage.5.0/bnd.bnd

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,30 @@ bVersion=1.0
1212

1313
Bundle-SymbolicName: io.openliberty.jakarta.expressionLanguage.5.0; singleton:=true
1414
Bundle-Description: Jakarta Expression Language, version 5.0
15+
Implementation-Version: 10.1.49
16+
Api-Version: 5.0.0
1517

1618
javac.source: 11
1719
javac.target: 11
1820

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

2123
Export-Package: \
22-
jakarta.el;thread-context=true; version="5.0.0"
24+
jakarta.el;thread-context=true; version=${Api-Version}
2325

2426
Provide-Capability: \
2527
osgi.contract;\
2628
osgi.contract=JavaEL;\
27-
version:Version=5.0.0;\
29+
version:Version=${Api-Version};\
2830
uses:="jakarta.el"
2931

3032
-includeresource: \
31-
@\${repo;org.apache.tomcat:tomcat-el-api;10.1.49;EXACT}!/!(META-INF/maven/*|module-info.class),\
33+
@\${repo;org.apache.tomcat:tomcat-el-api;${Implementation-Version};EXACT}!/!(META-INF/maven/*|module-info.class),\
3234
jakarta=resources/jakarta
3335

3436
instrument.disabled: true
3537

3638
publish.wlp.jar.suffix: dev/api/spec
3739

3840
-buildpath: \
39-
org.apache.tomcat:tomcat-el-api;strategy=exact;version=10.1.49
41+
org.apache.tomcat:tomcat-el-api;strategy=exact;version=${Implementation-Version}

dev/io.openliberty.jakarta.expressionLanguage.6.0/bnd.bnd

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,28 +12,30 @@ bVersion=1.0
1212

1313
Bundle-SymbolicName: io.openliberty.jakarta.expressionLanguage.6.0; singleton:=true
1414
Bundle-Description: Jakarta Expression Language, version 6.0
15+
Implementation-Version: 11.0.14
16+
Api-Version: 6.0.0
1517

1618
javac.source: 17
1719
javac.target: 17
1820

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

2123
Export-Package: \
22-
jakarta.el;thread-context=true; version="6.0.0"
24+
jakarta.el;thread-context=true; version=${Api-Version}
2325

2426
Provide-Capability: \
2527
osgi.contract;\
2628
osgi.contract=JakartaExpressionLanguage;\
27-
version:Version=6.0.0;\
29+
version:Version=${Api-Version};\
2830
uses:="jakarta.el"
2931

3032
-includeresource: \
31-
@\${repo;org.apache.tomcat:tomcat-el-api;11.0.14;EXACT}!/!(META-INF/maven/*|module-info.class),\
33+
@\${repo;org.apache.tomcat:tomcat-el-api;${Implementation-Version};EXACT}!/!(META-INF/maven/*|module-info.class),\
3234
jakarta=resources/jakarta
3335

3436
instrument.disabled: true
3537

3638
publish.wlp.jar.suffix: dev/api/spec
3739

3840
-buildpath: \
39-
org.apache.tomcat:tomcat-el-api;strategy=exact;version=11.0.14
41+
org.apache.tomcat:tomcat-el-api;strategy=exact;version=${Implementation-Version}

0 commit comments

Comments
 (0)