Remove pmd and graph plugins
[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.protocol</groupId>
9         <artifactId>protocol-parent</artifactId>
10         <description>OpenDaylight BGP+PCEP protocol parent</description>
11         <version>0.1</version>
12         <packaging>pom</packaging>
13         <properties>
14                 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
15                 <commonscodec.version>1.7</commonscodec.version>
16                 <dependency.version>2.8</dependency.version>
17                 <guava.version>13.0.1</guava.version>
18                 <java.version.source>1.7</java.version.source>
19                 <java.version.target>1.7</java.version.target>
20                 <junit.version>4.10</junit.version>
21                 <logback.version>1.0.7</logback.version>
22                 <maven.bundle.version>2.3.7</maven.bundle.version>
23                 <maven.compiler.version>2.5.1</maven.compiler.version>
24                 <slf4j.version>1.7.2</slf4j.version>
25                 <surefire.version>2.14.1</surefire.version>
26         </properties>
27         <prerequisites>
28                 <maven>3.0.4</maven>
29         </prerequisites>
30
31         <modules>
32                 <module>bgp</module>
33                 <module>concepts</module>
34                 <module>framework</module>
35                 <module>mockito-configuration</module>
36                 <module>pcep</module>
37                 <module>util</module>
38         </modules>
39
40         <dependencies>
41                 <dependency>
42                         <groupId>junit</groupId>
43                         <artifactId>junit</artifactId>
44                         <version>${junit.version}</version>
45                         <scope>test</scope>
46                 </dependency>
47                 <dependency>
48                         <groupId>ch.qos.logback</groupId>
49                         <artifactId>logback-classic</artifactId>
50                         <version>${logback.version}</version>
51                         <scope>test</scope>
52                 </dependency>
53         </dependencies>
54         
55         <reporting>
56                 <plugins>
57                         <plugin>
58                                 <groupId>org.apache.maven.plugins</groupId>
59                                 <artifactId>maven-javadoc-plugin</artifactId>
60                                 <version>2.8.1</version>
61                         </plugin>
62                         <plugin>
63                                 <groupId>org.apache.maven.plugins</groupId>
64                                 <artifactId>maven-antrun-plugin</artifactId>
65                                 <version>${maven.antrun.version}</version>
66                         </plugin>
67                 </plugins>
68         </reporting>
69
70         <distributionManagement>
71                 <site>
72                         <id>${project.artifactId}</id>
73                         <name>NPS-APPLICATION Project site</name>
74                         <url>${basedir}/target/site/${project.artifactId}</url>
75                 </site>
76                 <!-- mock repository to allow deploy phase without real deployment -->
77                 <repository>
78                         <id>targetRepo</id>
79                         <name>Target folder as mock repository</name>
80                         <url>file://${basedir}/target/deploy</url>
81                 </repository>
82         </distributionManagement>
83
84         <build>
85                 <plugins>
86                         <plugin>
87                                 <groupId>org.apache.maven.plugins</groupId>
88                                 <artifactId>maven-compiler-plugin</artifactId>
89                                 <version>${maven.compiler.version}</version>
90                                 <configuration>
91                                         <source>${java.version.source}</source>
92                                         <target>${java.version.target}</target>
93                                         <testSource>${java.version.source}</testSource>
94                                         <testTarget>${java.version.target}</testTarget>
95                                 </configuration>
96                         </plugin>
97                         <plugin>
98                                 <groupId>org.apache.maven.plugins</groupId>
99                                 <artifactId>maven-surefire-plugin</artifactId>
100                                 <version>${surefire.version}</version>
101                                 <configuration>
102                                         <redirectTestOutputToFile>true</redirectTestOutputToFile>
103                                         <parallel>classes</parallel>
104                                         <forkCount>1C</forkCount>
105                                         <reuseForks>false</reuseForks>
106                                         <perCoreThreadCount>true</perCoreThreadCount>
107                                         <threadCount>2</threadCount>
108                                 </configuration>
109                         </plugin>
110
111                         <plugin>
112                                 <groupId>org.apache.maven.plugins</groupId>
113                                 <artifactId>maven-dependency-plugin</artifactId>
114                                 <version>${dependency.version}</version>
115                                 <configuration>
116                                         <!--failOnWarning>true</failOnWarning -->
117                                         <ignoreNonCompile>true</ignoreNonCompile>
118                                 </configuration>
119                         </plugin>
120                         <plugin>
121                                 <groupId>org.codehaus.mojo</groupId>
122                                 <artifactId>build-helper-maven-plugin</artifactId>
123                                 <version>1.8</version>
124                         </plugin>
125                 </plugins>
126                 <pluginManagement>
127                         <plugins>
128                                 <!--This plugin's configuration is used to store Eclipse m2e settings
129                                         only. It has no influence on the Maven build itself. -->
130                                 <plugin>
131                                         <groupId>org.eclipse.m2e</groupId>
132                                         <artifactId>lifecycle-mapping</artifactId>
133                                         <version>1.0.0</version>
134                                         <configuration>
135                                                 <lifecycleMappingMetadata>
136                                                         <pluginExecutions>
137                                                                 <pluginExecution>
138                                                                         <pluginExecutionFilter>
139                                                                                 <groupId>pl.project13.maven</groupId>
140                                                                                 <artifactId>git-commit-id-plugin</artifactId>
141                                                                                 <versionRange>
142                                                                                         [2.1.4,)
143                                                                                 </versionRange>
144                                                                                 <goals>
145                                                                                         <goal>revision</goal>
146                                                                                 </goals>
147                                                                         </pluginExecutionFilter>
148                                                                         <action>
149                                                                                 <ignore></ignore>
150                                                                         </action>
151                                                                 </pluginExecution>
152                                                         </pluginExecutions>
153                                                 </lifecycleMappingMetadata>
154                                         </configuration>
155                                 </plugin>
156                         </plugins>
157                 </pluginManagement>
158         </build>
159 </project>