Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions spi-fly/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,11 @@
</includes>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<version>1.2.1</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
Expand Down
20 changes: 19 additions & 1 deletion spi-fly/spi-fly-static-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,24 @@

<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>properties-maven-plugin</artifactId>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>read-project-properties</goal>
</goals>
<configuration>
<files>
<file>../spi-fly-core/src/main/resources/org/apache/aries/spifly/packageinfo</file>
Copy link
Author

@sabberworm sabberworm May 31, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I tried using the ${parent.basedir} placeholder to make the lookup dynamic but it seems placeholders are not supported here.

</files>
<keyPrefix>spiFlyPackage.</keyPrefix>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-maven-plugin</artifactId>
Expand All @@ -86,7 +104,7 @@
<bnd><![CDATA[
Bundle-Activator: org.apache.aries.spifly.staticbundle.StaticWeavingActivator
Export-Package: \
org.apache.aries.spifly.*;version=${project.version}
org.apache.aries.spifly.*;version=${spiFlyPackage.version}
-conditionalpackage: \
aQute.bnd.exceptions,\
aQute.bnd.header,\
Expand Down