Remove OSGI metadata
This commit is contained in:
parent
3e353d3304
commit
4ad2f2f2fc
@ -47,21 +47,6 @@ cp %{SOURCE1} .
|
||||
%mvn_file : plexus/utils
|
||||
%mvn_alias : plexus:plexus-utils
|
||||
|
||||
# Generate OSGI info
|
||||
%pom_xpath_inject "pom:project" "<packaging>bundle</packaging>"
|
||||
%pom_xpath_inject "pom:build/pom:plugins" "
|
||||
<plugin>
|
||||
<groupId>org.apache.felix</groupId>
|
||||
<artifactId>maven-bundle-plugin</artifactId>
|
||||
<extensions>true</extensions>
|
||||
<configuration>
|
||||
<instructions>
|
||||
<_nouses>true</_nouses>
|
||||
<Export-Package>org.codehaus.plexus.util.*;org.codehaus.plexus.util.cli.*;org.codehaus.plexus.util.cli.shell.*;org.codehaus.plexus.util.dag.*;org.codehaus.plexus.util.introspection.*;org.codehaus.plexus.util.io.*;org.codehaus.plexus.util.reflection.*;org.codehaus.plexus.util.xml.*;org.codehaus.plexus.util.xml.pull.*</Export-Package>
|
||||
</instructions>
|
||||
</configuration>
|
||||
</plugin>"
|
||||
|
||||
%build
|
||||
%mvn_build -f
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user