923bdf589213c90880a072a67d13616d3fcc01e5
[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.6.0-SNAPSHOT</version>
12     <relativePath/>
13   </parent>
14
15   <groupId>org.opendaylight.neutron</groupId>
16   <artifactId>project-neutron-parent</artifactId>
17   <version>0.6.0-SNAPSHOT</version>
18   <packaging>pom</packaging>
19
20   <properties>
21     <aaa.version>0.2.0-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.8.0-SNAPSHOT</yang.binding.version>
26     <yangtools.version>0.8.0-SNAPSHOT</yangtools.version>
27     <yang-ext.version>2013.09.07.7-SNAPSHOT</yang-ext.version>
28     <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
29   </properties>
30   <scm>
31     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
32     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
33     <tag>HEAD</tag>
34   </scm>
35
36   <dependencyManagement>
37     <dependencies>
38       <dependency>
39         <groupId>org.opendaylight.yangtools</groupId>
40         <artifactId>yang-binding</artifactId>
41         <version>${yang.binding.version}</version>
42       </dependency>
43       <dependency>
44         <groupId>org.opendaylight.yangtools</groupId>
45         <artifactId>yang-common</artifactId>
46         <version>${yang.binding.version}</version>
47       </dependency>
48       <dependency>
49         <groupId>org.opendaylight.yangtools.model</groupId>
50         <artifactId>ietf-inet-types</artifactId>
51         <version>${ietf-inet-types.version}</version>
52       </dependency>
53       <dependency>
54         <groupId>org.opendaylight.yangtools.model</groupId>
55         <artifactId>ietf-yang-types</artifactId>
56         <version>${ietf-yang-types.version}</version>
57       </dependency>
58       <dependency>
59         <groupId>org.opendaylight.yangtools.model</groupId>
60         <artifactId>yang-ext</artifactId>
61         <version>${yang-ext.version}</version>
62       </dependency>
63     </dependencies>
64   </dependencyManagement>
65
66   <build>
67     <pluginManagement>
68       <plugins>
69         <plugin>
70           <groupId>org.jacoco</groupId>
71           <artifactId>jacoco-maven-plugin</artifactId>
72           <version>${jacoco.version}</version>
73         </plugin>
74         <plugin>
75           <groupId>org.apache.maven.plugins</groupId>
76           <artifactId>maven-source-plugin</artifactId>
77           <version>2.2.1</version>
78         </plugin>
79         <plugin>
80           <groupId>org.apache.maven.plugins</groupId>
81           <artifactId>maven-jar-plugin</artifactId>
82           <version>2.4</version>
83         </plugin>
84         <plugin>
85           <groupId>org.opendaylight.yangtools</groupId>
86           <artifactId>yang-maven-plugin</artifactId>
87           <version>${yangtools.version}</version>
88         </plugin>
89         <plugin>
90           <groupId>org.apache.felix</groupId>
91           <artifactId>maven-bundle-plugin</artifactId>
92           <version>${maven.bundle.version}</version>
93         </plugin>
94 <!--        <plugin>
95           <groupId>org.apache.maven.plugins</groupId>
96           <artifactId>maven-surefire-plugin</artifactId>
97           <version>${maven.surefire.version}</version>
98           <configuration>
99             <argLine>${surefireArgLine}</argLine>
100             <skipTests>${skip.unit.tests}</skipTests>
101             <excludes>
102                <exclude>**/IT*.java</exclude>
103             </excludes>
104           </configuration>
105         </plugin> -->
106       </plugins>
107     </pluginManagement>
108     <plugins>
109       <plugin>
110         <groupId>org.jacoco</groupId>
111         <artifactId>jacoco-maven-plugin</artifactId>
112         <executions>
113           <execution>
114             <id>pre-unit-test</id>
115             <goals>
116               <goal>prepare-agent</goal>
117             </goals>
118             <configuration>
119               <destFile>${sonar.jacoco.reportPath}</destFile>
120             </configuration>
121           </execution>
122           <execution>
123             <id>post-unit-test</id>
124             <goals>
125               <goal>report</goal>
126             </goals>
127             <configuration>
128                 <dataFile>${sonar.jacoco.reportPath}</dataFile>
129             </configuration>
130           </execution>
131         </executions>
132       </plugin>
133       <plugin>
134         <groupId>org.apache.felix</groupId>
135         <artifactId>maven-bundle-plugin</artifactId>
136         <extensions>true</extensions>
137         <configuration>
138           <instructions>
139             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
140           </instructions>
141           <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
142         </configuration>
143       </plugin>
144       <plugin>
145         <groupId>org.apache.maven.plugins</groupId>
146         <artifactId>maven-compiler-plugin</artifactId>
147         <inherited>true</inherited>
148         <configuration>
149           <source>1.7</source>
150           <target>1.7</target>
151         </configuration>
152       </plugin>
153       <plugin>
154         <artifactId>maven-source-plugin</artifactId>
155         <executions>
156           <execution>
157             <id>attach-sources</id>
158             <phase>deploy</phase>
159             <goals>
160               <goal>jar-no-fork</goal>
161             </goals>
162           </execution>
163         </executions>
164       </plugin>
165     </plugins>
166   </build>
167 </project>