| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| |
| --> |
| <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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.camel.karaf</groupId> |
| <artifactId>components</artifactId> |
| <version>3.3.0</version> |
| </parent> |
| |
| <artifactId>camel-osgi-activator</artifactId> |
| <packaging>jar</packaging> |
| |
| <name>Camel Karaf :: OSGi Activator</name> |
| <description>Camel OSGi Activator for running Camel routes from other bundles</description> |
| |
| <properties> |
| <camel.osgi.activator>org.apache.camel.osgi.activator.CamelRoutesActivator</camel.osgi.activator> |
| <camel.osgi.dynamic>*</camel.osgi.dynamic> |
| <firstVersion>3.1.0</firstVersion> |
| |
| <supportLevel>preview</supportLevel> |
| </properties> |
| |
| <dependencies> |
| <!-- osgi --> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.cmpn</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.osgi</groupId> |
| <artifactId>osgi.core</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel.karaf</groupId> |
| <artifactId>camel-core-osgi</artifactId> |
| <version>${project.version}</version> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-core-languages</artifactId> |
| </dependency> |
| <!-- test --> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-timer</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.apache.camel</groupId> |
| <artifactId>camel-log</artifactId> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- PAX Exam --> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-spi</artifactId> |
| <version>${pax-exam-version}</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-junit4</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>pax-exam-container-karaf</artifactId> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.url</groupId> |
| <artifactId>pax-url-aether</artifactId> |
| <version>2.6.2</version> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.ops4j.pax.tinybundles</groupId> |
| <artifactId>tinybundles</artifactId> |
| <version>2.1.1</version> |
| <scope>test</scope> |
| </dependency> |
| |
| <!-- Karaf & Command Shell --> |
| <dependency> |
| <groupId>org.apache.karaf</groupId> |
| <artifactId>apache-karaf</artifactId> |
| <version>${karaf4-version}</version> |
| <type>zip</type> |
| <scope>test</scope> |
| <exclusions> |
| <exclusion> |
| <groupId>org.apache.karaf.features</groupId> |
| <artifactId>framework</artifactId> |
| </exclusion> |
| </exclusions> |
| </dependency> |
| |
| <!-- Karaf Features --> |
| <dependency> |
| <groupId>org.apache.camel.karaf</groupId> |
| <artifactId>apache-camel</artifactId> |
| <version>${project.version}</version> |
| <classifier>features</classifier> |
| <type>xml</type> |
| <scope>test</scope> |
| </dependency> |
| <dependency> |
| <groupId>javax.inject</groupId> |
| <artifactId>javax.inject</artifactId> |
| <version>1</version> |
| <scope>test</scope> |
| </dependency> |
| </dependencies> |
| <build> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.servicemix.tooling</groupId> |
| <artifactId>depends-maven-plugin</artifactId> |
| <executions> |
| <execution> |
| <id>generate-depends-file</id> |
| <goals> |
| <goal>generate-depends-file</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <artifactId>maven-assembly-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>pre-integration-test</phase> |
| <goals> |
| <goal>single</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>src/assembly/test-bundles.xml</descriptor> |
| </descriptors> |
| <finalName>test</finalName> |
| <attach>false</attach> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <!-- Execute in the integration-test phase so that the packaged |
| JAR can be used --> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-surefire-plugin</artifactId> |
| <executions> |
| <execution> |
| <phase>integration-test</phase> |
| <goals> |
| <goal>test</goal> |
| </goals> |
| <configuration> |
| <includes> |
| <include>**/*IT.java</include> |
| </includes> |
| <forkedProcessTimeoutInSeconds>300</forkedProcessTimeoutInSeconds> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |