Skip to content

Commit

Permalink
The osgi.bundle files removed from 'appclient' modules
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 31, 2023
1 parent bc99a0e commit 7faaafe
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 71 deletions.
20 changes: 0 additions & 20 deletions appserver/appclient/client/acc-config/osgi.bundle

This file was deleted.

31 changes: 0 additions & 31 deletions appserver/appclient/client/acc/osgi.bundle

This file was deleted.

27 changes: 25 additions & 2 deletions appserver/appclient/client/acc/pom.xml
Expand Up @@ -421,12 +421,35 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.glassfish.appclient.client,
org.glassfish.appclient.client.acc,
org.glassfish.appclient.client.acc.callbackhandler,
org.glassfish.appclient.common
</Export-Package>
<!--
This bundle is an OSGi bundle for convenience.
However it needs org.jboss.weld.environment.se package, which isn't provided in GlassFish.
The result is a non start-able OSGi bundle.
Making this import optional.
-->
<Import-Package>
!org.glassfish.appclient.client.acc.agent.*,
org.jboss.weld.environment.se;resolution:=optional,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>

<archive>

<manifest>
<mainClass>org.glassfish.main.appclient.client.acc.AppClientCommand</mainClass>
</manifest>
Expand Down
18 changes: 0 additions & 18 deletions appserver/appclient/server/core/osgi.bundle

This file was deleted.

14 changes: 14 additions & 0 deletions appserver/appclient/server/core/pom.xml
Expand Up @@ -103,4 +103,18 @@
<optional>true</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>org.glassfish.appclient.server.core</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 7faaafe

Please sign in to comment.