CSC to provide a view of DPN re-sync
[openflowplugin.git] / openflowjava / 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     <parent>
5         <groupId>org.opendaylight.openflowplugin</groupId>
6         <artifactId>openflowplugin-parent</artifactId>
7         <version>0.10.0-SNAPSHOT</version>
8         <relativePath>../parent</relativePath>
9     </parent>
10
11     <groupId>org.opendaylight.openflowplugin.openflowjava</groupId>
12     <artifactId>openflowjava-parent</artifactId>
13     <packaging>pom</packaging>
14
15     <modules>
16         <module>features-openflowjava-aggregator</module>
17         <module>openflowjava-blueprint-config</module>
18         <module>openflow-protocol-api</module>
19         <module>openflow-protocol-impl</module>
20         <module>openflow-protocol-it</module>
21         <module>openflow-protocol-spi</module>
22         <module>openflowjava-util</module>
23     </modules>
24
25     <properties>
26     <commons.codec.version>1.8</commons.codec.version>
27     <httpclient.version>4.5.3</httpclient.version>
28     <httpcore.version>4.4.6</httpcore.version>
29     <gson.version>2.3.1</gson.version>
30     </properties>
31
32     <build>
33         <plugins>
34             <plugin>
35                 <groupId>org.apache.maven.plugins</groupId>
36                 <artifactId>maven-compiler-plugin</artifactId>
37             </plugin>
38             <plugin>
39                 <artifactId>maven-source-plugin</artifactId>
40                 <executions>
41                     <execution>
42                         <id>attach-sources</id>
43                         <phase>deploy</phase>
44                         <goals>
45                             <goal>jar-no-fork</goal>
46                         </goals>
47                     </execution>
48                 </executions>
49             </plugin>
50             <plugin>
51                 <groupId>org.apache.felix</groupId>
52                 <artifactId>maven-bundle-plugin</artifactId>
53                 <extensions>true</extensions>
54                 <configuration>
55                     <instructions>
56                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
57                     </instructions>
58                     <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
59                 </configuration>
60             </plugin>
61         </plugins>
62         <pluginManagement>
63             <plugins>
64                 <plugin>
65                     <groupId>org.codehaus.mojo</groupId>
66                     <artifactId>build-helper-maven-plugin</artifactId>
67                     <executions>
68                         <execution>
69                             <id>add-source</id>
70                             <goals>
71                                 <goal>add-source</goal>
72                             </goals>
73                             <phase>generate-sources</phase>
74                             <configuration>
75                                 <sources>
76                                     <source>src/main/yang</source>
77                                 </sources>
78                             </configuration>
79                         </execution>
80                     </executions>
81                 </plugin>
82             </plugins>
83         </pluginManagement>
84     </build>
85     <profiles>
86         <profile>
87             <id>viewbuild</id>
88             <activation>
89                 <activeByDefault>true</activeByDefault>
90             </activation>
91             <properties>
92                 <build.suffix>${project.version}</build.suffix>
93             </properties>
94         </profile>
95         <profile>
96             <id>jenkins</id>
97             <activation>
98                 <property>
99                     <name>BUILDSUFFIX</name>
100                 </property>
101             </activation>
102             <properties>
103                 <build.suffix>${BUILDSUFFIX}</build.suffix>
104             </properties>
105         </profile>
106         <profile>
107             <id>repoBuild</id>
108             <build>
109                 <plugins>
110                     <plugin>
111                         <groupId>org.apache.maven.plugins</groupId>
112                         <artifactId>maven-javadoc-plugin</artifactId>
113                         <executions>
114                             <execution>
115                                 <goals>
116                                     <goal>aggregate</goal>
117                                 </goals>
118                                 <phase>site</phase>
119                             </execution>
120                             <execution>
121                                 <id>attach-javadocs</id>
122                                 <goals>
123                                     <goal>jar</goal>
124                                 </goals>
125                             </execution>
126                         </executions>
127                     </plugin>
128                     <plugin>
129                         <groupId>org.apache.maven.plugins</groupId>
130                         <artifactId>maven-source-plugin</artifactId>
131                         <executions>
132                             <execution>
133                                 <id>attach-sources</id>
134                                 <phase>package</phase>
135                                 <goals>
136                                     <goal>jar-no-fork</goal>
137                                 </goals>
138                             </execution>
139                         </executions>
140                     </plugin>
141                 </plugins>
142             </build>
143         </profile>
144     </profiles>
145 </project>