openesb-components/contrib-gestalt/xmppbc/zip/pom.xml

182 lines
7.4 KiB
XML
Executable File

<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>
<groupId>com.gestalt.jbi.components.binding.xmpp</groupId>
<artifactId>xmpp-binding-component</artifactId>
<version>0.9.6-SNAPSHOT</version>
</parent>
<artifactId>xmpp-binding-component-install</artifactId>
<name>Gestalt :: JBI Components :: Binding Components :: Server Neutral :: XMPP Binding Component :: Zip Installer</name>
<packaging>jar</packaging>
<!--
Ensure the smallest classpath for the installer.
Therefore exclude transitive dependencies and manually add
in the dependencies since we already have to modify the jbi.xml
anyways. Attempt to keep the installer to around 500k.
-->
<dependencies>
<dependency>
<groupId>com.gestalt.jbi.components.common</groupId>
<artifactId>common-jbi-runtime</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.gestalt.jbi.components.common</groupId>
<artifactId>nmr-common-jbi-runtime</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.igniterealtime.smack</groupId>
<artifactId>smack</artifactId>
<optional>true</optional>
<version>3.0.4</version>
</dependency>
<dependency>
<groupId>org.igniterealtime.smack</groupId>
<artifactId>smackx</artifactId>
<optional>true</optional>
<version>3.0.4</version>
</dependency>
<dependency>
<groupId>com.gestalt.jbi.components.common</groupId>
<artifactId>wsdl-common-jbi-runtime</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.gestalt.jbi.components.common</groupId>
<artifactId>xbean-common-jbi-runtime</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.sun.jbi</groupId>
<artifactId>componentsl</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>xml-resolver</groupId>
<artifactId>xml-resolver</artifactId>
<optional>true</optional>
<version>1.1</version>
</dependency>
<dependency>
<groupId>com.gestalt.jbi.components.binding.xmpp</groupId>
<artifactId>xmpp-binding-component-extensions-impl</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>com.gestalt.jbi.components.binding.xmpp</groupId>
<artifactId>xmpp-binding-component-impl</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>xpp3</groupId>
<artifactId>xpp3_min</artifactId>
<optional>true</optional>
<version>1.1.3.4.O</version>
</dependency>
<dependency>
<groupId>jdom</groupId>
<artifactId>jdom</artifactId>
<optional>true</optional>
<version>1.0</version>
</dependency>
</dependencies>
<build>
<resources>
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/jbi.xml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>${project.artifactId}-fetch-deps</id>
<phase>generate-sources</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.outputDirectory}/lib</outputDirectory>
<stripVersion>true</stripVersion>
<excludeTransitive>true</excludeTransitive>
<excludeArtifactIds>junit,jmock,jmock-junit4,jmock-legacy</excludeArtifactIds>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifestFile>${project.build.outputDirectory}/META-INF/MANIFEST.MF</manifestFile>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<executions>
<execution>
<id>bundle-manifest</id>
<phase>process-classes</phase>
<goals>
<goal>manifest</goal>
</goals>
</execution>
</executions>
<configuration>
<instructions>
<Bundle-SymbolicName>gestalt-xmpp-binding</Bundle-SymbolicName>
<Bundle-Name>XMPP Binding Component</Bundle-Name>
<Bundle-Description>XMPP Binding Component</Bundle-Description>
<Bundle-Version>${version}</Bundle-Version>
<_removeheaders>Export-Package</_removeheaders>
<Export-Package>
*;-noimport:=true
</Export-Package>
<Bundle-ClassPath>
lib/componentsl.jar,
lib/common-jbi-runtime.jar,
lib/jdom.jar,
lib/nmr-common-jbi-runtime.jar,
lib/smack.jar,
lib/smackx.jar,
lib/wsdl-common-jbi-runtime.jar,
lib/xbean-common-jbi-runtime.jar,
lib/xml-resolver.jar,
lib/xmpp-binding-component-extensions-impl.jar,
lib/xmpp-binding-component-impl.jar,
lib/xpp3_min.jar
</Bundle-ClassPath>
<Import-Package>
!.,
!org.apache.xerces.parsers,
!org.jaxen.*,
!oracle.xml.parser.*,
!org.apache.xerces.dom,
*;-nouses:=true
</Import-Package>
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>