Skip to content

Commit

Permalink
The osgi.bundle files removed from 'admin' 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 30, 2023
1 parent d417387 commit 4337290
Show file tree
Hide file tree
Showing 17 changed files with 114 additions and 261 deletions.
18 changes: 0 additions & 18 deletions appserver/admin/admin-core/osgi.bundle

This file was deleted.

20 changes: 0 additions & 20 deletions appserver/admin/backup/osgi.bundle

This file was deleted.

Empty file.
18 changes: 0 additions & 18 deletions appserver/admin/cli-optional/osgi.bundle

This file was deleted.

22 changes: 0 additions & 22 deletions nucleus/admin/cli/osgi.bundle

This file was deleted.

13 changes: 13 additions & 0 deletions nucleus/admin/cli/pom.xml
Expand Up @@ -168,6 +168,19 @@
</resource>
</resources>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
com.sun.enterprise.admin.cli,
com.sun.enterprise.admin.cli.remote,
com.sun.enterprise.admin.cli.schemadoc
</Export-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
Expand Down
18 changes: 0 additions & 18 deletions nucleus/admin/launcher/osgi.bundle

This file was deleted.

19 changes: 0 additions & 19 deletions nucleus/admin/rest/gf-restadmin-connector/osgi.bundle

This file was deleted.

23 changes: 5 additions & 18 deletions nucleus/admin/rest/gf-restadmin-connector/pom.xml
Expand Up @@ -52,27 +52,14 @@
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<skip>true</skip>
<instructions>
<DynamicImport-Package>org.glassfish.api.admin.config</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

<profiles>
<profile>
<id>rest-devtest</id>
<build>
<plugins>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>false</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>
33 changes: 0 additions & 33 deletions nucleus/admin/rest/rest-client/osgi.bundle

This file was deleted.

28 changes: 28 additions & 0 deletions nucleus/admin/rest/rest-client/pom.xml
Expand Up @@ -55,4 +55,32 @@
<artifactId>jersey-media-multipart</artifactId>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<DynamicImport-Package>
com.sun.enterprise.security,
com.sun.enterprise.security.auth.login,
com.sun.enterprise.security.auth.realm,
com.sun.enterprise.security.ssl,
com.sun.enterprise.server.logging.logviewer.backend,
jakarta.ws.rs,
jakarta.ws.rs.core,
jakarta.ws.rs.ext,
org.glassfish.external.statistics,
org.glassfish.external.statistics.impl,
org.glassfish.flashlight,
org.glassfish.flashlight.datatree
</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>

</project>
40 changes: 0 additions & 40 deletions nucleus/admin/rest/rest-service/osgi.bundle

This file was deleted.

28 changes: 28 additions & 0 deletions nucleus/admin/rest/rest-service/pom.xml
Expand Up @@ -151,6 +151,34 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
org.glassfish.admin.rest,
org.glassfish.admin.rest.adapter,
org.glassfish.admin.rest.composite,
org.glassfish.admin.rest.composite.metadata,
org.glassfish.admin.rest.model,
org.glassfish.admin.rest.resources.composite,
org.glassfish.admin.rest.utils,
org.glassfish.admin.rest.utils.xml,
org.glassfish.admin.rest.wadl
</Export-Package>
<DynamicImport-Package>
org.glassfish.flashlight,
org.glassfish.flashlight.datatree
</DynamicImport-Package>
<Import-Package>
!org.glassfish.admin.rest.resources.generatedASM,
org.glassfish.jersey.gf.ejb.internal,
*
</Import-Package>
</instructions>
</configuration>
</plugin>
<!-- Test classes from this module are used elsewhere -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
Expand Down
22 changes: 0 additions & 22 deletions nucleus/admin/server-mgmt/osgi.bundle

This file was deleted.

14 changes: 14 additions & 0 deletions nucleus/admin/server-mgmt/pom.xml
Expand Up @@ -154,6 +154,20 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>
com.sun.enterprise.admin.servermgmt,
com.sun.enterprise.admin.servermgmt.pe,
com.sun.enterprise.admin.servermgmt.services,
com.sun.enterprise.admin.servermgmt.util
</Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
32 changes: 0 additions & 32 deletions nucleus/admin/util/osgi.bundle

This file was deleted.

0 comments on commit 4337290

Please sign in to comment.