Merge "Added a Postman collection for neutron testing"
[neutron.git] / parent / 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   <prerequisites>
5     <maven>3.0</maven>
6   </prerequisites>
7
8   <parent>
9     <groupId>org.opendaylight.odlparent</groupId>
10     <artifactId>odlparent</artifactId>
11     <version>1.5.0-SNAPSHOT</version>
12     <relativePath/>
13   </parent>
14
15   <groupId>org.opendaylight.neutron</groupId>
16   <artifactId>project-neutron-parent</artifactId>
17   <version>0.5.0-SNAPSHOT</version>
18   <packaging>pom</packaging>
19
20   <properties>
21     <aaa.version>0.1.3-SNAPSHOT</aaa.version>
22     <ietf-yang-types.version>2010.09.24.7-SNAPSHOT</ietf-yang-types.version>
23     <ietf-inet-types.version>2010.09.24.7-SNAPSHOT</ietf-inet-types.version>
24     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
25     <yang.binding.version>0.7.0-SNAPSHOT</yang.binding.version>
26     <yangtools.version>0.7.0-SNAPSHOT</yangtools.version>
27     <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
28   </properties>
29   <scm>
30     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
31     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
32     <tag>HEAD</tag>
33   </scm>
34
35   <dependencyManagement>
36     <dependencies>
37       <dependency>
38         <groupId>org.opendaylight.yangtools</groupId>
39         <artifactId>yang-binding</artifactId>
40         <version>${yang.binding.version}</version>
41       </dependency>
42       <dependency>
43         <groupId>org.opendaylight.yangtools</groupId>
44         <artifactId>yang-common</artifactId>
45         <version>${yang.binding.version}</version>
46       </dependency>
47       <dependency>
48         <groupId>org.opendaylight.yangtools.model</groupId>
49         <artifactId>ietf-inet-types</artifactId>
50         <version>${ietf-inet-types.version}</version>
51       </dependency>
52       <dependency>
53         <groupId>org.opendaylight.yangtools.model</groupId>
54         <artifactId>ietf-yang-types</artifactId>
55         <version>${ietf-yang-types.version}</version>
56       </dependency>
57       <dependency>
58         <groupId>org.opendaylight.yangtools.model</groupId>
59         <artifactId>yang-ext</artifactId>
60         <version>${yang-ext.version}</version>
61       </dependency>
62     </dependencies>
63   </dependencyManagement>
64
65   <build>
66     <pluginManagement>
67       <plugins>
68         <plugin>
69           <groupId>org.jacoco</groupId>
70           <artifactId>jacoco-maven-plugin</artifactId>
71           <version>${jacoco.version}</version>
72         </plugin>
73         <plugin>
74           <groupId>org.apache.maven.plugins</groupId>
75           <artifactId>maven-source-plugin</artifactId>
76           <version>2.2.1</version>
77         </plugin>
78         <plugin>
79           <groupId>org.apache.maven.plugins</groupId>
80           <artifactId>maven-jar-plugin</artifactId>
81           <version>2.4</version>
82         </plugin>
83         <plugin>
84           <groupId>org.opendaylight.yangtools</groupId>
85           <artifactId>yang-maven-plugin</artifactId>
86           <version>${yangtools.version}</version>
87         </plugin>
88         <plugin>
89           <groupId>org.apache.felix</groupId>
90           <artifactId>maven-bundle-plugin</artifactId>
91           <version>${maven.bundle.version}</version>
92         </plugin>
93       </plugins>
94     </pluginManagement>
95     <plugins>
96       <plugin>
97         <groupId>org.jacoco</groupId>
98         <artifactId>jacoco-maven-plugin</artifactId>
99         <configuration>
100           <includes>
101             <include>org.opendaylight.neutron.*</include>
102           </includes>
103         </configuration>
104         <executions>
105           <execution>
106             <id>pre-test</id>
107             <goals>
108               <goal>prepare-agent</goal>
109             </goals>
110           </execution>
111           <execution>
112             <id>post-test</id>
113             <goals>
114               <goal>report</goal>
115             </goals>
116             <phase>test</phase>
117           </execution>
118         </executions>
119       </plugin>
120       <plugin>
121         <groupId>org.apache.felix</groupId>
122         <artifactId>maven-bundle-plugin</artifactId>
123         <extensions>true</extensions>
124         <configuration>
125           <instructions>
126             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
127           </instructions>
128           <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
129         </configuration>
130       </plugin>
131       <plugin>
132         <groupId>org.apache.maven.plugins</groupId>
133         <artifactId>maven-compiler-plugin</artifactId>
134         <inherited>true</inherited>
135         <configuration>
136           <source>1.7</source>
137           <target>1.7</target>
138         </configuration>
139       </plugin>
140       <plugin>
141         <artifactId>maven-source-plugin</artifactId>
142         <executions>
143           <execution>
144             <id>attach-sources</id>
145             <phase>deploy</phase>
146             <goals>
147               <goal>jar-no-fork</goal>
148             </goals>
149           </execution>
150         </executions>
151       </plugin>
152     </plugins>
153   </build>
154 </project>