MATH-180 - Add support for OSGi to the m2 build

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/trunk@617551 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Niall Pemberton 2008-02-01 16:31:43 +00:00
parent adb783976a
commit aa3cfee09b
1 changed files with 66 additions and 0 deletions

66
pom.xml
View File

@ -218,6 +218,72 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<!--
Configure OSGi bundle information
(remove when maven bundle plugin is added to commons-parent pom)
-->
<manifestEntries>
<Bundle-SymbolicName>org.apache.commons.math</Bundle-SymbolicName>
<Bundle-License>http://www.apache.org/licenses/LICENSE-2.0.txt</Bundle-License>
<Bundle-ManifestVersion>2</Bundle-ManifestVersion>
<Bundle-Name>Apache Commons Math Bundle</Bundle-Name>
<Bundle-Vendor>${project.organization.name}</Bundle-Vendor>
<Bundle-Version>${project.version}</Bundle-Version>
<Export-Package>
org.apache.commons.math;version=${project.version},
org.apache.commons.math.analysis;version=${project.version},
org.apache.commons.math.complex;version=${project.version},
org.apache.commons.math.distribution;version=${project.version},
org.apache.commons.math.estimation;version=${project.version},
org.apache.commons.math.fraction;version=${project.version},
org.apache.commons.math.geometry;version=${project.version},
org.apache.commons.math.linear;version=${project.version},
org.apache.commons.math.ode;version=${project.version},
org.apache.commons.math.optimization;version=${project.version},
org.apache.commons.math.random;version=${project.version},
org.apache.commons.math.special;version=${project.version},
org.apache.commons.math.stat;version=${project.version},
org.apache.commons.math.stat.descriptive;version=${project.version},
org.apache.commons.math.stat.descriptive.moment;version=${project.version},
org.apache.commons.math.stat.descriptive.rank;version=${project.version},
org.apache.commons.math.stat.descriptive.summary;version=${project.version},
org.apache.commons.math.stat.inference;version=${project.version},
org.apache.commons.math.stat.regression;version=${project.version},
org.apache.commons.math.transform;version=${project.version},
org.apache.commons.math.util;version=${project.version}
</Export-Package>
<Import-Package>
org.apache.commons.discovery.tools,
org.apache.commons.math;version=${project.version},
org.apache.commons.math.analysis;version=${project.version},
org.apache.commons.math.complex;version=${project.version},
org.apache.commons.math.distribution;version=${project.version},
org.apache.commons.math.estimation;version=${project.version},
org.apache.commons.math.fraction;version=${project.version},
org.apache.commons.math.geometry;version=${project.version},
org.apache.commons.math.linear;version=${project.version},
org.apache.commons.math.ode;version=${project.version},
org.apache.commons.math.optimization;version=${project.version},
org.apache.commons.math.random;version=${project.version},
org.apache.commons.math.special;version=${project.version},
org.apache.commons.math.stat;version=${project.version},
org.apache.commons.math.stat.descriptive;version=${project.version},
org.apache.commons.math.stat.descriptive.moment;version=${project.version},
org.apache.commons.math.stat.descriptive.rank;version=${project.version},
org.apache.commons.math.stat.descriptive.summary;version=${project.version},
org.apache.commons.math.stat.inference;version=${project.version},
org.apache.commons.math.stat.regression;version=${project.version},
org.apache.commons.math.transform;version=${project.version},
org.apache.commons.math.util;version=${project.version}
</Import-Package>
</manifestEntries>
</archive>
</configuration>
</plugin>
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<version>2.2-beta-1</version> <version>2.2-beta-1</version>