Skip to content

Commit 825394f

Browse files
committed
fixup! failureaccess mrjar structure, bundle plugin
Signed-off-by: Sam Gammon <sam@elide.ventures>
1 parent c374055 commit 825394f

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

futures/failureaccess/pom.xml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</parent>
1111
<artifactId>failureaccess</artifactId>
1212
<version>1.0.3-jpms</version>
13-
<packaging>bundle</packaging>
13+
<packaging>jar</packaging>
1414
<name>Guava InternalFutureFailureAccess and InternalFutures</name>
1515
<description>
1616
Contains
@@ -38,6 +38,9 @@
3838
</execution>
3939
<execution>
4040
<id>compile-java9</id>
41+
<goals>
42+
<goal>compile</goal>
43+
</goals>
4144
<configuration>
4245
<release>9</release>
4346
<multiReleaseOutput>true</multiReleaseOutput>
@@ -49,12 +52,14 @@
4952
<artifactId>maven-jar-plugin</artifactId>
5053
<configuration>
5154
<archive>
55+
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
5256
<manifestEntries>
5357
<Multi-Release>true</Multi-Release>
5458
</manifestEntries>
5559
</archive>
5660
<excludes>
57-
<exclude>META-INF/versions/9/com/**/*.java</exclude>
61+
<exclude>/module-info.class</exclude>
62+
<exclude>META-INF/versions/9/com/google/common/util/concurrent/internal/*.class</exclude>
5863
</excludes>
5964
</configuration>
6065
</plugin>
@@ -81,7 +86,8 @@
8186
</executions>
8287
<configuration>
8388
<instructions>
84-
<Export-Package>com.google.common.util.concurrent.internal</Export-Package>
89+
<_fixupmessages>^Classes found in the wrong directory: .*</_fixupmessages>
90+
<Export-Package>com.google.common.util.concurrent.internal,!META-INF.*</Export-Package>
8591
<Bundle-DocURL>https://github.com/google/guava/</Bundle-DocURL>
8692
</instructions>
8793
</configuration>

0 commit comments

Comments
 (0)