Skip to content

Commit

Permalink
Dynamic imports of flashlight added back
Browse files Browse the repository at this point in the history
Signed-off-by: David Matějček <david.matejcek@omnifish.ee>
  • Loading branch information
dmatej committed Jul 30, 2023
1 parent d8fb8ce commit f30c3ce
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 1 deletion.
9 changes: 9 additions & 0 deletions appserver/connectors/connectors-runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,15 @@
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
Expand Down
3 changes: 2 additions & 1 deletion appserver/connectors/work-management/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,8 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
<Export-Package>
com.sun.enterprise.connectors.work,
com.sun.enterprise.connectors.work.context
</Export-Package>
Expand Down
1 change: 1 addition & 0 deletions appserver/ejb/ejb-container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@
org.glassfish.ejb.deployment.descriptor,
org.glassfish.ejb.deployment.descriptor.runtime
</Export-Package>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
<!-- These packages are not required and unavailable in glassfish-web distribution -->
<Import-Package>
jakarta.xml.soap;resolution:=optional,
Expand Down
14 changes: 14 additions & 0 deletions appserver/ejb/ejb-full-container/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,18 @@
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
1 change: 1 addition & 0 deletions appserver/web/admin/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,7 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
<Export-Package>
org.glassfish.web.admin.cli,
org.glassfish.web.admin.monitor
Expand Down
1 change: 1 addition & 0 deletions appserver/webservices/jsr109-impl/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
<Import-Package>
jakarta.ejb;resolution:=optional,
*
Expand Down
9 changes: 9 additions & 0 deletions nucleus/deployment/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -128,6 +128,15 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>org.glassfish.flashlight.provider</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
Expand Down

0 comments on commit f30c3ce

Please sign in to comment.