| <?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/xsd/maven-4.0.0.xsd"> |
| |
| <!-- Generated by Apache ServiceMix Archetype --> |
| |
| <modelVersion>4.0.0</modelVersion> |
| |
| <groupId>${groupId}</groupId> |
| <artifactId>${artifactId}</artifactId> |
| <packaging>jbi-component</packaging> |
| <version>${version}</version> |
| <name>Apache ServiceMix :: Custom Binding Component</name> |
| |
| <properties> |
| <servicemix.osgi.export> |
| ${packageName}*;version=${project.version} |
| </servicemix.osgi.export> |
| <servicemix.osgi.import> |
| !${packageName}*, |
| org.apache.servicemix.common, |
| org.apache.servicemix.common.osgi, |
| org.apache.servicemix.executors.impl, |
| org.apache.servicemix.jbi.container*;resolution:=optional, |
| org.apache.servicemix.jbi.framework*;resolution:=optional, |
| org.apache.xbean.spring.context.v2, |
| org.springframework.beans.factory.xml, |
| * |
| </servicemix.osgi.import> |
| <servicemix.osgi.bundles> |
| org.springframework.core, |
| org.springframework.beans, |
| org.springframework.context, |
| </servicemix.osgi.bundles> |
| <servicemix.osgi.dynamic.import> |
| javax.*,org.w3c.*,org.xml.* |
| </servicemix.osgi.dynamic.import> |
| <servicemix.osgi.privuate /> |
| </properties> |
| |
| <dependencies> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-shared</artifactId> |
| <version>@{components.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-common</artifactId> |
| <version>@{components.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix.specs</groupId> |
| <artifactId>org.apache.servicemix.specs.jbi-api-1.0</artifactId> |
| <version>@{servicemix.specs.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.geronimo.specs</groupId> |
| <artifactId>geronimo-jta_1.1_spec</artifactId> |
| <version>@{geronimo-jta.specs.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.servicemix</groupId> |
| <artifactId>servicemix-core</artifactId> |
| <version>@{servicemix.version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>junit</groupId> |
| <artifactId>junit</artifactId> |
| <version>@{junit.version}</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <defaultGoal>install</defaultGoal> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>jbi-maven-plugin</artifactId> |
| <version>@{jbi-maven-plugin.version}</version> |
| <extensions>true</extensions> |
| <configuration> |
| <generatedDescriptorLocation>${project.build.directory}/jbi</generatedDescriptorLocation> |
| <type>binding-component</type> |
| <component>${packageName}.MyComponent</component> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.xbean</groupId> |
| <artifactId>maven-xbean-plugin</artifactId> |
| <version>@{xbean.version}</version> |
| <executions> |
| <execution> |
| <configuration> |
| <namespace>http://${packageName}/1.0</namespace> |
| </configuration> |
| <goals> |
| <goal>mapping</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.felix</groupId> |
| <artifactId>maven-bundle-plugin</artifactId> |
| <version>@{maven-bundle-plugin.version}</version> |
| <configuration> |
| <instructions> |
| <Bundle-Name>${project.name}</Bundle-Name> |
| <Bundle-SymbolicName>${pom.artifactId}</Bundle-SymbolicName> |
| <Export-Package>${servicemix.osgi.export}</Export-Package> |
| <Import-Package>${servicemix.osgi.import}</Import-Package> |
| <DynamicImport-Package>${servicemix.osgi.dynamic.import}</DynamicImport-Package> |
| <Private-Package>${servicemix.osgi.private}</Private-Package> |
| <Require-Bundle>${servicemix.osgi.bundles}</Require-Bundle> |
| </instructions> |
| <supportedProjectTypes> |
| <supportedProjectType>jar</supportedProjectType> |
| <supportedProjectType>bundle</supportedProjectType> |
| <supportedProjectType>jbi-component</supportedProjectType> |
| <supportedProjectType>jbi-shared-library</supportedProjectType> |
| </supportedProjectTypes> |
| <unpackBundle>true</unpackBundle> |
| </configuration> |
| <executions> |
| <execution> |
| <id>bundle-manifest</id> |
| <phase>process-classes</phase> |
| <goals> |
| <goal>manifest</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-jar-plugin</artifactId> |
| <configuration> |
| <useDefaultManifestFile>true</useDefaultManifestFile> |
| </configuration> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |