| POM: |
Show
hide
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<parent>
<artifactId>killbill-osgi-bundles</artifactId>
<groupId>com.ning.billing</groupId>
<version>0.8.7</version>
</parent>
<artifactId>killbill-osgi-bundles-jruby</artifactId>
<packaging>bundle</packaging>
<name>Killbill billing platform: OSGI JRuby bundle</name>
<dependencies>
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>javax.servlet-api</artifactId>
<version>3.0.1</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-all</artifactId>
<version>1.9.0</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testng</groupId>
<artifactId>testng</artifactId>
<version>6.3.1</version>
<scope>test</scope>
<exclusions>
<exclusion>
<artifactId>junit</artifactId>
<groupId>junit</groupId>
</exclusion>
<exclusion>
<artifactId>bsh</artifactId>
<groupId>org.beanshell</groupId>
</exclusion>
<exclusion>
<artifactId>jcommander</artifactId>
<groupId>com.beust</groupId>
</exclusion>
<exclusion>
<artifactId>snakeyaml</artifactId>
<groupId>org.yaml</groupId>
</exclusion>
</exclusions>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions>
<executions>
<execution>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Bundle-Activator>com.ning.billing.osgi.bundles.jruby.JRubyActivator</Bundle-Activator>
<Export-Package></Export-Package>
<Private-Package>com.ning.billing.osgi.bundles.jruby.*</Private-Package>
<Import-Package>*;resolution:=optional,
com.ning.billing.account.api;
com.ning.billing.analytics.api.sanity;
com.ning.billing.analytics.api.user;
com.ning.billing.beatrix.bus.api;
com.ning.billing.catalog.api;
com.ning.billing.subscription.api;
com.ning.billing.subscription.api.migration;
com.ning.billing.subscription.api.timeline;
com.ning.billing.subscription.api.transfer;
com.ning.billing.subscription.api.user;
com.ning.billing.entitlement.api;
com.ning.billing.invoice.api;
com.ning.billing.junction.api;
com.ning.billing;
com.ning.billing.osgi.api;
com.ning.billing.osgi.api.config;
com.ning.billing.overdue;
com.ning.billing.payment.api;
com.ning.billing.payment.plugin.api;
com.ning.billing.currency.plugin.api;
com.ning.billing.tenant.api;
com.ning.billing.usage.api;
com.ning.billing.util.api;
com.ning.billing.util.audit;
com.ning.billing.util.callcontext;
com.ning.billing.util.customfield;
com.ning.billing.notification.plugin;
com.ning.billing.currency.api;
com.ning.billing.util.email;
com.ning.billing.util.entity;
com.ning.billing.util.tag;
com.ning.billing.util.template;
com.ning.billing.util.template.translation;resolution:=optional,
org.joda.time;org.joda.time.format;resolution:=optional,
javax.management;
javax.management.*;
javax.crypto;
javax.crypto.*;
javax.net;
javax.net.*;
javax.net.ssl;
javax.net.ssl.*;
javax.security;
javax.security.*;
javax.security.cert;
javax.security.cert.*;
javax.security.auth;
javax.security.auth.*;
javax.security.auth.x500;
javax.security.auth.x500.*;resolution:=optional</Import-Package>
</instructions>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<executions>
<execution>
<goals>
<goal>jar</goal>
<goal>test-jar</goal>
</goals>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
<addMavenDescriptor>false</addMavenDescriptor>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<executions>
<execution>
<id>assemble-killbill-osgi-bundles-jruby</id>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<createSourcesJar>true</createSourcesJar>
<shadedArtifactAttached>false</shadedArtifactAttached>
<shadedClassifierName>jar-with-dependencies</shadedClassifierName>
<filters>
<filter>
<artifact>${project.groupId}:${project.artifactId}</artifact>
</filter>
</filters>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
|