bd92babb8d
- Update to 3.5.3: * change source compatibility to 1.8 and enable github workflows * Change Wiki URLs to theantlrguy.atlassian.net in README.txt * Bazel support * Modify patches: - Rebase osgi-manifest.patch and rename to antlr3-osgi-manifest.patch - Rename 0001-java8-fix.patch to antlr3-java8-fix.patch OBS-URL: https://build.opensuse.org/request/show/1037074 OBS-URL: https://build.opensuse.org/package/show/Java:packages/antlr3?expand=0&rev=20
26 lines
1.2 KiB
Diff
26 lines
1.2 KiB
Diff
Index: runtime/Java/pom.xml
|
|
===================================================================
|
|
--- runtime/Java/pom.xml.orig
|
|
+++ runtime/Java/pom.xml
|
|
@@ -81,6 +81,20 @@
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.felix</groupId><artifactId>maven-bundle-plugin</artifactId>
|
|
+ <executions><execution><id>bundle-manifest</id><phase>process-classes</phase><goals><goal>manifest</goal></goals></execution></executions>
|
|
+ <configuration>
|
|
+ <manifestLocation>${project.build.directory}/osgi</manifestLocation>
|
|
+ <instructions><Bundle-SymbolicName>org.antlr.runtime</Bundle-SymbolicName><Import-Package>!org.antlr.stringtemplate,*</Import-Package></instructions>
|
|
+ </configuration>
|
|
+ </plugin>
|
|
+ <plugin>
|
|
+ <groupId>org.apache.maven.plugins</groupId><artifactId>maven-jar-plugin</artifactId>
|
|
+ <configuration>
|
|
+ <archive><manifestFile>${project.build.directory}/osgi/MANIFEST.MF</manifestFile></archive>
|
|
+ </configuration>
|
|
+ </plugin>
|
|
</plugins>
|
|
</build>
|
|
</project>
|