Browse Source
Add OSGI metadata to carrier, geocoder and prefixmapper jars (#2418)
Co-authored-by: <amergey@gmail.com>
Co-authored-by: Tijana Vislavski Gradina <tijanavg@google.com>
pull/2864/head
Arnaud Mergey
3 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with
74 additions and
0 deletions
-
java/carrier/pom.xml
-
java/geocoder/pom.xml
-
java/internal/prefixmapper/pom.xml
-
java/libphonenumber/pom.xml
|
|
|
@ -29,6 +29,30 @@ |
|
|
|
</testResource> |
|
|
|
</testResources> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.felix</groupId> |
|
|
|
<artifactId>maven-bundle-plugin</artifactId> |
|
|
|
<version>3.2.0</version> |
|
|
|
<configuration> |
|
|
|
<instructions> |
|
|
|
<Fragment-Host>com.googlecode.libphonenumber</Fragment-Host> |
|
|
|
</instructions> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
<version>3.0.2</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>default-jar</id> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId> |
|
|
|
|
|
|
|
@ -37,6 +37,30 @@ |
|
|
|
</testResource> |
|
|
|
</testResources> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.felix</groupId> |
|
|
|
<artifactId>maven-bundle-plugin</artifactId> |
|
|
|
<version>3.2.0</version> |
|
|
|
<configuration> |
|
|
|
<instructions> |
|
|
|
<Fragment-Host>com.googlecode.libphonenumber</Fragment-Host> |
|
|
|
</instructions> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
<version>3.0.2</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>default-jar</id> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId> |
|
|
|
|
|
|
|
@ -24,6 +24,31 @@ |
|
|
|
</testResource> |
|
|
|
</testResources> |
|
|
|
<plugins> |
|
|
|
<plugin> |
|
|
|
<groupId>org.apache.felix</groupId> |
|
|
|
<artifactId>maven-bundle-plugin</artifactId> |
|
|
|
<version>3.2.0</version> |
|
|
|
<configuration> |
|
|
|
<instructions> |
|
|
|
<Fragment-Host>com.googlecode.libphonenumber</Fragment-Host> |
|
|
|
</instructions> |
|
|
|
</configuration> |
|
|
|
</plugin> |
|
|
|
<plugin> |
|
|
|
<artifactId>maven-jar-plugin</artifactId> |
|
|
|
<version>3.0.2</version> |
|
|
|
<executions> |
|
|
|
<execution> |
|
|
|
<id>default-jar</id> |
|
|
|
<configuration> |
|
|
|
<archive> |
|
|
|
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile> |
|
|
|
</archive> |
|
|
|
</configuration> |
|
|
|
</execution> |
|
|
|
</executions> |
|
|
|
</plugin> |
|
|
|
|
|
|
|
<plugin> |
|
|
|
<groupId>org.codehaus.mojo</groupId> |
|
|
|
<artifactId>animal-sniffer-maven-plugin</artifactId> |
|
|
|
|
|
|
|
@ -35,6 +35,7 @@ |
|
|
|
<version>3.2.0</version> |
|
|
|
<configuration> |
|
|
|
<instructions> |
|
|
|
<Eclipse-ExtensibleAPI>true</Eclipse-ExtensibleAPI> |
|
|
|
<Export-Package>com.google.i18n.phonenumbers</Export-Package> |
|
|
|
</instructions> |
|
|
|
</configuration> |
|
|
|
|