Last active
July 14, 2016 03:40
-
-
Save honghuac/5898ddc42ca8d83c21ecc8e402609b39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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.fuse.usecase5</groupId> | |
<artifactId>parent</artifactId> | |
<version>1.0</version> | |
<relativePath>../parent/pom.xml</relativePath> | |
</parent> | |
<artifactId>features</artifactId> | |
<name>Fuse :: Use Case 5 :: Features</name> | |
<packaging>pom</packaging> | |
<build> | |
<!-- enable filtering of the features file --> | |
<resources> | |
<resource> | |
<directory>${pom.basedir}/src/main/filtered-resources</directory> | |
<filtering>true</filtering> | |
<includes> | |
<include>**/*</include> | |
</includes> | |
</resource> | |
</resources> | |
<!-- replace property placeholders in the features file with property values --> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-resources-plugin</artifactId> | |
<version>${maven-resources-plugin.version}</version> | |
<executions> | |
<execution> | |
<id>filter</id> | |
<phase>generate-resources</phase> | |
<goals> | |
<goal>resources</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
<!-- attach the generated features file as an artifact, so that it is published to the maven repository --> | |
<plugin> | |
<groupId>org.codehaus.mojo</groupId> | |
<artifactId>build-helper-maven-plugin</artifactId> | |
<version>${build-helper-maven-plugin.version}</version> | |
<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> | |
<!-- | |
<artifact> | |
<file>target/classes/amq-broker.xml</file> | |
<type>xml</type> | |
<classifier>amq-broker</classifier> | |
</artifact> | |
--> | |
</artifacts> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment