Skip to content

Commit

Permalink
Merge pull request #693 from focus-shift/445-ignore-module-warnings
Browse files Browse the repository at this point in the history
445 ignore module warnings
  • Loading branch information
derTobsch authored Dec 10, 2024
2 parents 4adf3a3 + 8034883 commit eaf8acf
Show file tree
Hide file tree
Showing 4 changed files with 32 additions and 2 deletions.
14 changes: 13 additions & 1 deletion jollyday-core/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,16 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:-module</arg>
</compilerArgs>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand All @@ -85,7 +95,9 @@
<instructions>
<Bundle-SymbolicName>de.focus_shift.jollyday-core</Bundle-SymbolicName>
<Export-Package>de.focus_shift.jollyday.core.*</Export-Package>
<Require-Capability>osgi.serviceloader;filter:="(osgi.serviceloader=de.focus_shift.jollyday.core.spi.ConfigurationService)";cardinality:=multiple,osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)"</Require-Capability>
<Require-Capability>
osgi.serviceloader;filter:="(osgi.serviceloader=de.focus_shift.jollyday.core.spi.ConfigurationService)";cardinality:=multiple,osgi.extender;filter:="(osgi.extender=osgi.serviceloader.processor)"
</Require-Capability>
</instructions>
</configuration>
</plugin>
Expand Down
1 change: 0 additions & 1 deletion jollyday-core/src/main/java/module-info.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

opens de.focus_shift.jollyday.core.util;
opens descriptions;
opens focus_shift.de.jollyday.schema.holiday;
opens holidays;

requires java.xml;
Expand Down
10 changes: 10 additions & 0 deletions jollyday-jackson/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,16 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:-module</arg>
</compilerArgs>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
Expand Down
9 changes: 9 additions & 0 deletions jollyday-jaxb/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,15 @@

<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<compilerArgs>
<arg>-Xlint:-module</arg>
</compilerArgs>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.felix</groupId>
Expand Down

0 comments on commit eaf8acf

Please sign in to comment.