| <?xml version="1.0" encoding="UTF-8"?> |
| <!-- |
| ~ Copyright (c) 2012 S.C. Axemblr Software Solutions S.R.L |
| ~ |
| ~ Licensed 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"> |
| <parent> |
| <artifactId>provisionr-parent</artifactId> |
| <groupId>com.axemblr.provisionr</groupId> |
| <version>0.3.0</version> |
| <relativePath>../../parent</relativePath> |
| </parent> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <name>Axemblr Provisionr :: Karaf Features</name> |
| <artifactId>provisionr-features</artifactId> |
| <packaging>jar</packaging> |
| |
| <properties> |
| <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| </properties> |
| |
| <!-- Dependencies are used only for ordering the reactor --> |
| <dependencies> |
| <dependency> |
| <groupId>com.axemblr.provisionr</groupId> |
| <artifactId>provisionr-amazon</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.axemblr.provisionr</groupId> |
| <artifactId>provisionr-cloudstack</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.axemblr.provisionr</groupId> |
| <artifactId>provisionr-console</artifactId> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.axemblr.provisionr</groupId> |
| <artifactId>provisionr-rundeck</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>com.axemblr.provisionr</groupId> |
| <artifactId>provisionr-commands</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.activiti.karaf</groupId> |
| <artifactId>activiti-karaf-commands</artifactId> |
| <version>${project.version}</version> |
| <scope>provided</scope> |
| </dependency> |
| <dependency> |
| <groupId>org.activiti.karaf</groupId> |
| <artifactId>activiti-karaf-web-explorer</artifactId> |
| <version>${project.version}</version> |
| <type>war</type> |
| </dependency> |
| </dependencies> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <targetPath>${project.build.directory}</targetPath> |
| <includes> |
| <include>**/*</include> |
| </includes> |
| </resource> |
| </resources> |
| <plugins> |
| <plugin> |
| <groupId>org.apache.maven.plugins</groupId> |
| <artifactId>maven-resources-plugin</artifactId> |
| <version>2.6</version> |
| <executions> |
| <execution> |
| <id>filter</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <goal>resources</goal> |
| </goals> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.ops4j.pax.exam</groupId> |
| <artifactId>maven-paxexam-plugin</artifactId> |
| <version>1.2.4</version> |
| <executions> |
| <execution> |
| <id>generate-config</id> |
| <goals> |
| <goal>generate-config</goal> |
| <goal>generate-depends-file</goal> |
| </goals> |
| </execution> |
| </executions> |
| <configuration> |
| <options> |
| <platform>felix</platform> |
| <profiles>log</profiles> |
| </options> |
| </configuration> |
| </plugin> |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <version>1.7</version> |
| <executions> |
| <execution> |
| <id>attach-artifacts</id> |
| <phase>package</phase> |
| <goals> |
| <goal>attach-artifact</goal> |
| </goals> |
| <configuration> |
| <artifacts> |
| <artifact> |
| <file>${project.build.directory}/features.xml</file> |
| <type>xml</type> |
| <classifier>features</classifier> |
| </artifact> |
| </artifacts> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| <plugin> |
| <groupId>org.apache.karaf.tooling</groupId> |
| <artifactId>features-maven-plugin</artifactId> |
| <version>${karaf.version}</version> |
| <executions> |
| <execution> |
| <id>add-features-to-repo</id> |
| <phase>generate-resources</phase> |
| <goals> |
| <!-- We are doing so to just to validate that all artifacts are reachable --> |
| <goal>add-features-to-repo</goal> |
| </goals> |
| <configuration> |
| <descriptors> |
| <descriptor>file:${project.build.directory}/features.xml</descriptor> |
| </descriptors> |
| <features> |
| <feature>axemblr-provisionr-all</feature> |
| </features> |
| <repository>target/features-repo</repository> |
| </configuration> |
| </execution> |
| </executions> |
| </plugin> |
| </plugins> |
| </build> |
| </project> |