Skip to content

Commit

Permalink
The osgi.bundle files removed from 'osgi' 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 02404fa commit bc99a0e
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 66 deletions.
17 changes: 0 additions & 17 deletions appserver/osgi-platforms/felix-webconsole-extension/osgi.bundle

This file was deleted.

14 changes: 14 additions & 0 deletions appserver/osgi-platforms/felix-webconsole-extension/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,18 @@
<version>${project.version}</version>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-Activator>org.glassfish.osgi.felixwebconsoleextension.FelixWebConsoleExtensionActivator</Bundle-Activator>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
18 changes: 0 additions & 18 deletions nucleus/osgi-platforms/osgi-cli-interactive/osgi.bundle

This file was deleted.

10 changes: 10 additions & 0 deletions nucleus/osgi-platforms/osgi-cli-interactive/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,16 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!-- Nothing to export -->
<Export-Package></Export-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
31 changes: 0 additions & 31 deletions nucleus/osgi-platforms/osgi-cli-remote/osgi.bundle

This file was deleted.

29 changes: 29 additions & 0 deletions nucleus/osgi-platforms/osgi-cli-remote/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,33 @@
<optional>true</optional>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<!-- Nothing to export -->
<Export-Package></Export-Package>
<!--
Bnd is not smart enough to know that dynamic imported packages should not
be regularly imported. We have to exclude those manually.
-->
<Import-Package>
!org.apache.felix.shell,
!org.apache.felix.service.command,
*
</Import-Package>
<!-- shell packages are resolved at runtime, whatever there is -->
<DynamicImport-Package>
org.apache.felix.shell,
org.apache.felix.service.command
</DynamicImport-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>

0 comments on commit bc99a0e

Please sign in to comment.