| <?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"> |
| <modelVersion>4.0.0</modelVersion> |
| |
| <parent> |
| <groupId>org.apache.james</groupId> |
| <artifactId>james-server</artifactId> |
| <version>3.0.2-SNAPSHOT</version> |
| <relativePath>../../pom.xml</relativePath> |
| </parent> |
| |
| <groupId>org.apache.james.karaf</groupId> |
| <artifactId>james-karaf-features</artifactId> |
| <packaging>pom</packaging> |
| <name>Apache James :: Karaf :: Features</name> |
| |
| <properties> |
| <mime4j.version>0.7.2</mime4j.version> |
| <jutf7.version>1.0.0</jutf7.version> |
| <commons-dbcp-bundle.version>1.4_3</commons-dbcp-bundle.version> |
| <commons-configuration-osgi.version>1.9_1</commons-configuration-osgi.version> |
| <javax-inject-osgi.version>1_2</javax-inject-osgi.version> |
| </properties> |
| |
| <build> |
| <resources> |
| <resource> |
| <directory>src/main/resources</directory> |
| <filtering>true</filtering> |
| <targetPath>${project.build.directory}</targetPath> |
| </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> |
| |
| <!-- TODO: enable after we make sure all components are OSGi ready --> |
| <!--<plugin>--> |
| <!--<!– validate the feature –>--> |
| <!--<groupId>org.apache.karaf.tooling</groupId>--> |
| <!--<artifactId>features-maven-plugin</artifactId>--> |
| <!--<version>2.2.9</version>--> |
| <!--<executions>--> |
| <!--<execution>--> |
| <!--<id>validate</id>--> |
| <!--<phase>process-resources</phase>--> |
| <!--<goals>--> |
| <!--<goal>validate</goal>--> |
| <!--</goals>--> |
| <!--<configuration>--> |
| <!--<file>${project.build.directory}/features.xml</file>--> |
| <!--</configuration>--> |
| <!--</execution>--> |
| <!--</executions>--> |
| <!--</plugin>--> |
| |
| <plugin> |
| <groupId>org.codehaus.mojo</groupId> |
| <artifactId>build-helper-maven-plugin</artifactId> |
| <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> |
| </plugins> |
| </build> |
| </project> |