Skip to content

Commit

Permalink
Fixed issue #209: Use Java's ServiceLoader instead of org.codehaus.co…
Browse files Browse the repository at this point in the history
…mmons.compiler.properties
  • Loading branch information
aunkrig committed Dec 22, 2023
1 parent 3695211 commit 53f9e69
Showing 1 changed file with 12 additions and 10 deletions.
22 changes: 12 additions & 10 deletions janino/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -34,17 +34,17 @@
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.11</version>
<scope>provided</scope>
<optional>true</optional>
<groupId>org.apache.ant</groupId>
<artifactId>ant</artifactId>
<version>1.10.11</version>
<scope>provided</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>de.unkrig.jdisasm</groupId>
<artifactId>jdisasm</artifactId>
<version>1.0.6</version>
<scope>test</scope>
<groupId>de.unkrig.jdisasm</groupId>
<artifactId>jdisasm</artifactId>
<version>1.0.6</version>
<scope>test</scope>
</dependency>
</dependencies>

Expand All @@ -63,8 +63,10 @@
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Export-Package>org.codehaus.janino, org.codehaus.janino.samples, org.codehaus.janino.tools, org.codehaus.janino.util, org.codehaus.janino.util.resource</Export-Package>
<Export-Package>org.codehaus.janino, org.codehaus.janino.samples, org.codehaus.janino.tools, org.codehaus.janino.util, org.codehaus.janino.util.resource</Export-Package>
<Require-Bundle>org.codehaus.janino.commons-compiler</Require-Bundle>
<Provide-Capability>osgi.serviceloader;osgi.serviceloader="org.codehaus.commons.compiler.ICompilerFactory"</Provide-Capability>
<Require-Capability>osgi.extender;filter:="(&amp;(osgi.extender=osgi.serviceloader.registrar)(version&gt;=1.0)(!(version&gt;=2.0)))"</Require-Capability>
</instructions>
</configuration>
</plugin>
Expand Down

0 comments on commit 53f9e69

Please sign in to comment.