Bump versions by x.(y+1).z for next dev cycle
[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.8.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     <build>
26         <plugins>
27             <plugin>
28                 <groupId>org.apache.maven.plugins</groupId>
29                 <artifactId>maven-compiler-plugin</artifactId>
30             </plugin>
31             <plugin>
32                 <artifactId>maven-source-plugin</artifactId>
33                 <executions>
34                     <execution>
35                         <id>attach-sources</id>
36                         <phase>deploy</phase>
37                         <goals>
38                             <goal>jar-no-fork</goal>
39                         </goals>
40                     </execution>
41                 </executions>
42             </plugin>
43             <plugin>
44                 <groupId>org.apache.felix</groupId>
45                 <artifactId>maven-bundle-plugin</artifactId>
46                 <extensions>true</extensions>
47                 <configuration>
48                     <instructions>
49                         <Bundle-Name>${project.groupId}.${project.artifactId}</Bundle-Name>
50                     </instructions>
51                     <manifestLocation>${project.build.directory}/META-INF</manifestLocation>
52                 </configuration>
53             </plugin>
54         </plugins>
55         <pluginManagement>
56             <plugins>
57                 <plugin>
58                     <groupId>org.codehaus.mojo</groupId>
59                     <artifactId>build-helper-maven-plugin</artifactId>
60                     <version>1.8</version>
61                     <executions>
62                         <execution>
63                             <id>add-source</id>
64                             <goals>
65                                 <goal>add-source</goal>
66                             </goals>
67                             <phase>generate-sources</phase>
68                             <configuration>
69                                 <sources>
70                                     <source>src/main/yang</source>
71                                 </sources>
72                             </configuration>
73                         </execution>
74                     </executions>
75                 </plugin>
76             </plugins>
77         </pluginManagement>
78     </build>
79     <profiles>
80         <profile>
81             <id>viewbuild</id>
82             <activation>
83                 <activeByDefault>true</activeByDefault>
84             </activation>
85             <properties>
86                 <build.suffix>${project.version}</build.suffix>
87             </properties>
88         </profile>
89         <profile>
90             <id>jenkins</id>
91             <activation>
92                 <property>
93                     <name>BUILDSUFFIX</name>
94                 </property>
95             </activation>
96             <properties>
97                 <build.suffix>${BUILDSUFFIX}</build.suffix>
98             </properties>
99         </profile>
100         <profile>
101             <id>repoBuild</id>
102             <build>
103                 <plugins>
104                     <plugin>
105                         <groupId>org.apache.maven.plugins</groupId>
106                         <artifactId>maven-javadoc-plugin</artifactId>
107                         <version>2.8.1</version>
108                         <executions>
109                             <execution>
110                                 <goals>
111                                     <goal>aggregate</goal>
112                                 </goals>
113                                 <phase>site</phase>
114                             </execution>
115                             <execution>
116                                 <id>attach-javadocs</id>
117                                 <goals>
118                                     <goal>jar</goal>
119                                 </goals>
120                             </execution>
121                         </executions>
122                     </plugin>
123                     <plugin>
124                         <groupId>org.apache.maven.plugins</groupId>
125                         <artifactId>maven-source-plugin</artifactId>
126                         <executions>
127                             <execution>
128                                 <id>attach-sources</id>
129                                 <phase>package</phase>
130                                 <goals>
131                                     <goal>jar-no-fork</goal>
132                                 </goals>
133                             </execution>
134                         </executions>
135                     </plugin>
136                 </plugins>
137             </build>
138         </profile>
139     </profiles>
140 </project>