pom.xml 2.39 KB
Newer Older
1 2
<?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">
3

4 5
  <modelVersion>4.0.0</modelVersion>

6 7
	<parent>
		<groupId>org.ow2.weblab.bundle</groupId>
8
		<artifactId>parent</artifactId>
Yann Mombrun's avatar
Yann Mombrun committed
9
		<version>2.0.4-RC2</version>
10
		<relativePath>../../pom.xml</relativePath>
11 12
	</parent>

13 14
  <groupId>org.ow2.weblab.osgi</groupId>
  <artifactId>weblab-camel-chains-karaf</artifactId>
15

16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
  <description>Provides feature OSGi for WebLab processing chains.</description>

 <build>
    <resources>
      <resource>
        <directory>src/main/resources</directory>
        <filtering>true</filtering>
      </resource>
    </resources>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-resources-plugin</artifactId>
        <executions>
          <execution>
            <id>filter</id>
            <phase>generate-resources</phase>
            <goals>
              <goal>resources</goal>
            </goals>
          </execution>
        </executions>
      </plugin>
      <plugin>
        <groupId>org.codehaus.mojo</groupId>
        <artifactId>build-helper-maven-plugin</artifactId>
42
        <version>1.9.1</version>
43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61
        <executions>
          <execution>
            <id>attach-artifacts</id>
            <phase>package</phase>
            <goals>
              <goal>attach-artifact</goal>
            </goals>
            <configuration>
              <artifacts>
                <artifact>
                  <file>target/classes/features.xml</file>
                  <type>xml</type>
                  <classifier>features</classifier>
                </artifact>
              </artifacts>
            </configuration>
          </execution>
        </executions>
      </plugin>
62 63 64 65 66 67 68 69 70 71 72 73 74 75
	<!-- Force install in local repository to provide it for karaf-weblab project-->
       <plugin>
           <inherited>true</inherited>
           <groupId>org.apache.maven.plugins</groupId>
           <artifactId>maven-install-plugin</artifactId>
           <executions>
              <execution>
                 <phase>package</phase>
                 <goals>
                     <goal>install</goal>
                 </goals>
              </execution>
           </executions>
       </plugin>
76 77 78 79
    </plugins>
  </build>

</project>