Merge "Fixed for bug 1197"
[controller.git] / features / nsf / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project>
3   <modelVersion>4.0.0</modelVersion>
4   <parent>
5     <groupId>org.opendaylight.controller</groupId>
6     <artifactId>commons.opendaylight</artifactId>
7     <version>1.4.2-SNAPSHOT</version>
8     <relativePath>../../opendaylight/commons/opendaylight</relativePath>
9   </parent>
10   <artifactId>features-nsf</artifactId>
11   <packaging>pom</packaging>
12   <name>OpenDaylight :: Features :: Network Service Functions</name>
13   <description>Feature for Network Service Functions</description>
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17   <build>
18     <resources>
19       <resource>
20         <filtering>true</filtering>
21         <directory>src/main/resources</directory>
22       </resource>
23     </resources>
24     <plugins>
25       <plugin>
26         <groupId>org.apache.maven.plugins</groupId>
27         <artifactId>maven-resources-plugin</artifactId>
28         <executions>
29           <execution>
30             <id>filter</id>
31             <goals>
32               <goal>resources</goal>
33             </goals>
34             <phase>generate-resources</phase>
35           </execution>
36         </executions>
37       </plugin>
38       <plugin>
39         <groupId>org.codehaus.mojo</groupId>
40         <artifactId>build-helper-maven-plugin</artifactId>
41         <executions>
42           <execution>
43             <id>attach-artifacts</id>
44             <goals>
45               <goal>attach-artifact</goal>
46             </goals>
47             <phase>package</phase>
48             <configuration>
49               <artifacts>
50                 <artifact>
51                   <file>${project.build.directory}/classes/${features.file}</file>
52                   <type>xml</type>
53                   <classifier>features</classifier>
54                 </artifact>
55               </artifacts>
56             </configuration>
57           </execution>
58         </executions>
59       </plugin>
60     </plugins>
61   </build>
62 </project>