-
Notifications
You must be signed in to change notification settings - Fork 116
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
apply service loader mediator (via bnd annotations), osgi.cdi (via os…
…gi bundle annotations) & osgi contracts in a passive way Signed-off-by: Raymond Augé <raymond.auge@liferay.com>
- Loading branch information
Showing
6 changed files
with
77 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,30 @@ | ||
-exportcontents: \ | ||
org.eclipse.microprofile.* | ||
|
||
Import-Package: \ | ||
javax.enterprise.util;version="[1.1,3)", \ | ||
* | ||
|
||
Bundle-SymbolicName: org.eclipse.microprofile.config | ||
|
||
# For reproducible builds | ||
-noextraheaders: true | ||
-snapshot: SNAPSHOT | ||
|
||
# Apply OSGi Portable Java Contracts [1] with "active" effectiveness so that | ||
# they are not strict runtime requirements. This removes the need to import | ||
# packages with versions. | ||
-contract: *;effective:=active | ||
|
||
# Two contracts are used in this API; JavaCDI, JavaInject. Simulate them since | ||
# the compile dependencies used do not provide them. | ||
-define-contract: \ | ||
osgi.contract;\ | ||
osgi.contract=JavaCDI;\ | ||
version:List<Version>='2.0,1.1';\ | ||
uses:='\ | ||
javax.decorator,\ | ||
javax.enterprise.context,\ | ||
javax.enterprise.context.spi,\ | ||
javax.enterprise.event,\ | ||
javax.enterprise.inject,\ | ||
javax.enterprise.inject.spi,\ | ||
javax.enterprise.util' | ||
|
||
# [1] https://www.osgi.org/portable-java-contract-definitions/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters