Fix for possible NPE if Bundle is stopped.
[controller.git] / features / protocol-framework / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <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">
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-protocol-framework</artifactId>
11   <version>${protocol-framework.version}</version>
12   <packaging>pom</packaging>
13
14   <properties>
15     <features.file>features.xml</features.file>
16   </properties>
17
18   <dependencies>
19     <dependency>
20       <groupId>org.opendaylight.controller</groupId>
21       <artifactId>features-config</artifactId>
22       <classifier>features</classifier>
23       <type>xml</type>
24       <scope>runtime</scope>
25     </dependency>
26     <dependency>
27       <groupId>org.opendaylight.controller</groupId>
28       <artifactId>protocol-framework</artifactId>
29     </dependency>
30   </dependencies>
31
32   <build>
33     <resources>
34       <resource>
35         <filtering>true</filtering>
36         <directory>src/main/resources</directory>
37       </resource>
38     </resources>
39     <plugins>
40       <plugin>
41         <groupId>org.apache.maven.plugins</groupId>
42         <artifactId>maven-resources-plugin</artifactId>
43         <executions>
44           <execution>
45             <id>filter</id>
46             <goals>
47               <goal>resources</goal>
48             </goals>
49             <phase>generate-resources</phase>
50           </execution>
51         </executions>
52       </plugin>
53       <plugin>
54         <groupId>org.codehaus.mojo</groupId>
55         <artifactId>build-helper-maven-plugin</artifactId>
56         <executions>
57           <execution>
58             <id>attach-artifacts</id>
59             <goals>
60               <goal>attach-artifact</goal>
61             </goals>
62             <phase>package</phase>
63             <configuration>
64               <artifacts>
65                 <artifact>
66                   <file>${project.build.directory}/classes/${features.file}</file>
67                   <type>xml</type>
68                   <classifier>features</classifier>
69                 </artifact>
70               </artifacts>
71             </configuration>
72           </execution>
73         </executions>
74       </plugin>
75     </plugins>
76   </build>
77   <scm>
78     <connection>scm:git:ssh://git.opendaylight.org:29418/controller.git</connection>
79     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/controller.git</developerConnection>
80     <tag>HEAD</tag>
81     <url>https://wiki.opendaylight.org/view/OpenDaylight_Controller:MD-SAL</url>
82   </scm>
83 </project>