White-space correction for yang model.
[bgpcep.git] / pom.xml
1 <?xml version="1.0" encoding="UTF-8"?>
2 <!-- vi: set smarttab sw=4 tabstop=4: -->
3 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5         <name>OpenDaylight protocols</name>
6         <url>index.html</url>
7         <modelVersion>4.0.0</modelVersion>
8         <groupId>org.opendaylight.bgpcep</groupId>
9         <artifactId>protocol-parent</artifactId>
10         <description>OpenDaylight BGP+PCEP protocol parent</description>
11         <version>0.3.0-SNAPSHOT</version>
12         <packaging>pom</packaging>
13
14         <properties>
15                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16                 <commonscodec.version>1.7</commonscodec.version>
17                 <dependency.version>2.8</dependency.version>
18                 <guava.version>14.0.1</guava.version>
19                 <java.version.source>1.7</java.version.source>
20                 <java.version.target>1.7</java.version.target>
21                 <junit.version>4.10</junit.version>
22                 <logback.version>1.0.7</logback.version>
23                 <maven.bundle.version>2.4.0</maven.bundle.version>
24                 <maven.compiler.version>3.1</maven.compiler.version>
25                 <maven.jar.version>2.4</maven.jar.version>
26                 <maven.shade.version>2.1</maven.shade.version>
27                 <mockito.version>1.9.5</mockito.version>
28                 <netty.version>4.0.10.Final</netty.version>
29                 <nexusproxy>http://nexus.opendaylight.org/content</nexusproxy>
30                 <slf4j.version>1.7.2</slf4j.version>
31                 <surefire.version>2.15</surefire.version>
32                 <osgi.version>5.0.0</osgi.version>
33
34                 <yangtools.version>0.5.9-SNAPSHOT</yangtools.version>
35                 <yang.binding.version>0.6.0-SNAPSHOT</yang.binding.version>
36                 <ietf.types.version>2010.09.24.1</ietf.types.version>
37         </properties>
38         <prerequisites>
39                 <maven>3.0.4</maven>
40         </prerequisites>
41
42         <modules>
43                 <module>bgp</module>
44                 <module>concepts</module>
45                 <module>framework</module>
46                 <module>integration-tests</module>
47                 <module>mockito-configuration</module>
48                 <module>pcep</module>
49                 <module>programming</module>
50                 <module>rsvp</module>
51                 <module>topology</module>
52                 <module>util</module>
53         </modules>
54
55     <dependencyManagement>
56         <dependencies>
57             <dependency>
58                 <groupId>junit</groupId>
59                 <artifactId>junit</artifactId>
60                 <version>${junit.version}</version>
61                 <scope>test</scope>
62             </dependency>
63         </dependencies>
64     </dependencyManagement>
65
66         <dependencies>
67                 <dependency>
68                         <groupId>ch.qos.logback</groupId>
69                         <artifactId>logback-classic</artifactId>
70                         <version>${logback.version}</version>
71                         <scope>test</scope>
72                 </dependency>
73         </dependencies>
74         
75         <reporting>
76                 <plugins>
77                         <plugin>
78                                 <groupId>org.apache.maven.plugins</groupId>
79                                 <artifactId>maven-javadoc-plugin</artifactId>
80                                 <version>2.9.1</version>
81                         </plugin>
82                 </plugins>
83         </reporting>
84
85         <distributionManagement>
86                 <!-- OpenDayLight Released artifact -->
87                 <repository>
88                         <id>opendaylight-release</id>
89                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
90                 </repository>
91                 <!-- OpenDayLight Snapshot artifact -->
92                 <snapshotRepository>
93                         <id>opendaylight-snapshot</id>
94                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
95                 </snapshotRepository>
96                 <site>
97                         <id>${project.artifactId}-site</id>
98                         <url>./</url>
99                 </site>
100         </distributionManagement>
101
102         <build>
103                 <plugins>
104                         <plugin>
105                                 <groupId>org.apache.maven.plugins</groupId>
106                                 <artifactId>maven-compiler-plugin</artifactId>
107                                 <version>${maven.compiler.version}</version>
108                                 <configuration>
109                                         <source>${java.version.source}</source>
110                                         <target>${java.version.target}</target>
111                                         <testSource>${java.version.source}</testSource>
112                                         <testTarget>${java.version.target}</testTarget>
113                                 </configuration>
114                         </plugin>
115                         <plugin>
116                                 <groupId>org.apache.maven.plugins</groupId>
117                                 <artifactId>maven-surefire-plugin</artifactId>
118                                 <version>${surefire.version}</version>
119                                 <configuration>
120                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
121                                         <!--parallel>classes</parallel>
122                                         <forkCount>1C</forkCount>
123                                         <reuseForks>false</reuseForks>
124                                         <perCoreThreadCount>true</perCoreThreadCount-->
125                                         <threadCount>1</threadCount>
126                                 </configuration>
127                         </plugin>
128
129                         <plugin>
130                                 <groupId>org.apache.maven.plugins</groupId>
131                                 <artifactId>maven-dependency-plugin</artifactId>
132                                 <version>${dependency.version}</version>
133                                 <configuration>
134                                         <failOnWarning>true</failOnWarning>
135                                         <ignoreNonCompile>true</ignoreNonCompile>
136                                 </configuration>
137                         </plugin>
138             <plugin>
139                 <!-- Let eclipse know about the generated sources -->
140                 <groupId>org.codehaus.mojo</groupId>
141                 <artifactId>build-helper-maven-plugin</artifactId>
142                                 <version>1.8</version>
143                 <executions>
144                     <execution>
145                         <phase>generate-sources</phase>
146                         <goals>
147                             <goal>add-source</goal>
148                         </goals>
149                         <configuration>
150                             <sources>
151                                 <source>target/generated-sources/sal</source>
152                             </sources>
153                         </configuration>
154                     </execution>
155                 </executions>
156             </plugin>
157                 </plugins>
158                 <pluginManagement>
159                         <plugins>
160                                 <!--This plugin's configuration is used to store Eclipse m2e settings
161                                         only. It has no influence on the Maven build itself. -->
162                                 <plugin>
163                                         <groupId>org.eclipse.m2e</groupId>
164                                         <artifactId>lifecycle-mapping</artifactId>
165                                         <version>1.0.0</version>
166                                         <configuration>
167                                                 <lifecycleMappingMetadata>
168                                                         <pluginExecutions>
169                                                                 <pluginExecution>
170                                                                         <pluginExecutionFilter>
171                                                                                 <groupId>pl.project13.maven</groupId>
172                                                                                 <artifactId>git-commit-id-plugin</artifactId>
173                                                                                 <versionRange>[2.1.4,)</versionRange>
174                                                                                 <goals>
175                                                                                         <goal>revision</goal>
176                                                                                 </goals>
177                                                                         </pluginExecutionFilter>
178                                                                         <action>
179                                                                                 <ignore></ignore>
180                                                                         </action>
181                                                                 </pluginExecution>
182                                 <pluginExecution>
183                                     <pluginExecutionFilter>
184                                         <groupId>org.opendaylight.yangtools</groupId>
185                                         <artifactId>yang-maven-plugin</artifactId>
186                                         <versionRange>[0.5,)</versionRange>
187                                         <goals>
188                                             <goal>generate-sources</goal>
189                                         </goals>
190                                     </pluginExecutionFilter>
191                                     <action>
192                                         <ignore></ignore>
193                                     </action>
194                                 </pluginExecution>
195                                                         </pluginExecutions>
196                                                 </lifecycleMappingMetadata>
197                                         </configuration>
198                                 </plugin>
199                         </plugins>
200                 </pluginManagement>
201         </build>
202
203         <repositories>
204                 <repository>
205                         <id>opendaylight-release</id>
206                         <name>opendaylight-release</name>
207                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
208                 </repository>
209                 <repository>
210                         <id>opendaylight-snapshot</id>
211                         <name>opendaylight-snapshot</name>
212                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
213                 </repository>
214         </repositories>
215
216         <pluginRepositories>
217                 <pluginRepository>
218                         <id>opendaylight-release</id>
219                         <name>opendaylight-release</name>
220                         <url>${nexusproxy}/repositories/opendaylight.release/</url>
221                 </pluginRepository>
222                 <pluginRepository>
223                         <id>opendaylight-snapshot</id>
224                         <name>opendaylight-snapshot</name>
225                         <url>${nexusproxy}/repositories/opendaylight.snapshot/</url>
226                 </pluginRepository>
227         </pluginRepositories>
228 </project>