forked from pool/osgi-annotation
This commit is contained in:
parent
1a2350ab55
commit
59fed4cc3b
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user