Bump odlparent 2.0.2 to 2.0.4
[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.1.1</maven>
6   </prerequisites>
7
8   <parent>
9     <groupId>org.opendaylight.odlparent</groupId>
10     <artifactId>odlparent</artifactId>
11     <version>2.0.4</version>
12     <relativePath/>
13   </parent>
14
15   <groupId>org.opendaylight.neutron</groupId>
16   <artifactId>project-neutron-parent</artifactId>
17   <version>0.9.0-SNAPSHOT</version>
18   <packaging>pom</packaging>
19   <!-- <name> formatting is used by autorelease to parse and notify projects on
20        build failure. Please do not modify this unless you have a good reason. -->
21   <name>ODL :: neutron :: ${project.artifactId}</name>
22
23   <properties>
24     <aaa.version>0.6.0-SNAPSHOT</aaa.version>
25     <ietf-yang-types.version>2013.07.15.11.0-SNAPSHOT</ietf-yang-types.version>
26     <ietf-inet-types.version>1.3.0-SNAPSHOT</ietf-inet-types.version>
27     <salGeneratorPath>src/main/yang-gen-sal</salGeneratorPath>
28     <mdsal.model.version>0.11.0-SNAPSHOT</mdsal.model.version>
29     <yangtools.version>1.2.0-SNAPSHOT</yangtools.version>
30     <yang-ext.version>2013.09.07.11.0-SNAPSHOT</yang-ext.version>
31     <sonar.jacoco.reportPath>target/jacoco.exec</sonar.jacoco.reportPath>
32     <sonar.jacoco.itReportPath>../target/jacoco-it.exec</sonar.jacoco.itReportPath>
33     <checkstyle.location>${project.build.resources[0].directory}</checkstyle.location>
34   </properties>
35   <scm>
36     <connection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</connection>
37     <developerConnection>scm:git:ssh://git.opendaylight.org:29418/neutron.git</developerConnection>
38     <tag>HEAD</tag>
39   </scm>
40
41   <dependencyManagement>
42     <dependencies>
43       <dependency>
44         <groupId>org.opendaylight.mdsal</groupId>
45         <artifactId>yang-binding</artifactId>
46         <version>${mdsal.model.version}</version>
47       </dependency>
48       <dependency>
49         <groupId>org.opendaylight.yangtools</groupId>
50         <artifactId>yang-common</artifactId>
51         <version>${yangtools.version}</version>
52       </dependency>
53       <dependency>
54         <groupId>org.opendaylight.mdsal.model</groupId>
55         <artifactId>ietf-inet-types-2013-07-15</artifactId>
56         <version>${ietf-inet-types.version}</version>
57       </dependency>
58       <dependency>
59         <groupId>org.opendaylight.mdsal.model</groupId>
60         <artifactId>ietf-yang-types-20130715</artifactId>
61         <version>${ietf-yang-types.version}</version>
62       </dependency>
63       <dependency>
64         <groupId>org.opendaylight.mdsal.model</groupId>
65         <artifactId>yang-ext</artifactId>
66         <version>${yang-ext.version}</version>
67       </dependency>
68     </dependencies>
69   </dependencyManagement>
70
71   <build>
72     <pluginManagement>
73       <plugins>
74         <plugin>
75           <artifactId>maven-checkstyle-plugin</artifactId>
76           <configuration>
77             <excludes>org/opendaylight/yang/gen/**,**/yang/**</excludes>
78             <consoleOutput>true</consoleOutput>
79             <propertyExpansion>checkstyle.violationSeverity=error</propertyExpansion>
80           </configuration>
81           <executions>
82             <execution>
83               <goals>
84                 <goal>check</goal>
85               </goals>
86               <phase>process-sources</phase>
87             </execution>
88           </executions>
89         </plugin>
90         <plugin>
91           <groupId>org.apache.maven.plugins</groupId>
92           <artifactId>maven-source-plugin</artifactId>
93           <version>2.2.1</version>
94         </plugin>
95         <plugin>
96           <groupId>org.apache.maven.plugins</groupId>
97           <artifactId>maven-jar-plugin</artifactId>
98           <version>2.4</version>
99         </plugin>
100         <plugin>
101           <groupId>org.opendaylight.yangtools</groupId>
102           <artifactId>yang-maven-plugin</artifactId>
103           <version>${yangtools.version}</version>
104         </plugin>
105         <plugin>
106           <groupId>org.apache.felix</groupId>
107           <artifactId>maven-bundle-plugin</artifactId>
108           <version>${maven.bundle.version}</version>
109         </plugin>
110 <!--        <plugin>
111           <groupId>org.apache.maven.plugins</groupId>
112           <artifactId>maven-surefire-plugin</artifactId>
113           <version>${maven.surefire.version}</version>
114           <configuration>
115             <argLine>${surefireArgLine}</argLine>
116             <skipTests>${skip.unit.tests}</skipTests>
117             <excludes>
118                <exclude>**/IT*.java</exclude>
119             </excludes>
120           </configuration>
121         </plugin> -->
122       </plugins>
123     </pluginManagement>
124     <plugins>
125       <plugin>
126         <groupId>org.apache.felix</groupId>
127         <artifactId>maven-bundle-plugin</artifactId>
128         <extensions>true</extensions>
129         <configuration>
130           <instructions>
131             <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
132           </instructions>
133           <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
134         </configuration>
135       </plugin>
136       <plugin>
137         <groupId>org.apache.maven.plugins</groupId>
138         <artifactId>maven-compiler-plugin</artifactId>
139         <inherited>true</inherited>
140         <configuration>
141           <compilerArgs>
142             <arg>-Xlint:unchecked</arg>
143             <arg>-Xlint:deprecation</arg>
144           </compilerArgs>
145         </configuration>
146       </plugin>
147       <plugin>
148         <artifactId>maven-source-plugin</artifactId>
149         <executions>
150           <execution>
151             <id>attach-sources</id>
152             <phase>deploy</phase>
153             <goals>
154               <goal>jar-no-fork</goal>
155             </goals>
156           </execution>
157         </executions>
158       </plugin>
159     </plugins>
160   </build>
161
162   <!--
163       Maven Site Configuration
164
165       The following configuration is necessary for maven-site-plugin to
166       correctly identify the correct deployment path for OpenDaylight Maven
167       sites.
168   -->
169   <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
170
171   <distributionManagement>
172     <site>
173       <id>opendaylight-site</id>
174       <url>${nexus.site.url}/${project.artifactId}/</url>
175     </site>
176   </distributionManagement>
177 </project>