1
0
Fridrich Strba 2019-02-11 08:39:57 +00:00 committed by Git OBS Bridge
parent 1a2350ab55
commit 59fed4cc3b

View File

@ -52,6 +52,25 @@ mkdir -p src/main/java && mv org src/main/java
cp -p %{SOURCE1} pom.xml
cp -p %{SOURCE2} build.xml
# Ensure OSGi metadata is generated
%pom_xpath_inject pom:project "
<packaging>bundle</packaging>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<instructions>
<Bundle-Name>\${project.artifactId}</Bundle-Name>
<Bundle-SymbolicName>\${project.artifactId}</Bundle-SymbolicName>
</instructions>
</configuration>
</plugin>
</plugins>
</build>"
%build
ant jar javadoc