Set version of maven.compile.plugin
[ccsdk/parent.git] / 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"
3         xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
4
5         <modelVersion>4.0.0</modelVersion>
6         <packaging>pom</packaging>
7         <groupId>org.onap.ccsdk.parent</groupId>
8         <artifactId>parent</artifactId>
9         <version>0.0.1-SNAPSHOT</version>
10
11         <name>Parent POMs</name>
12         <url>http://wiki.onap.org</url>
13         <description>Parent POMs to be used by clients of CCSDK</description>
14
15         <properties>
16                 <!-- ONAP repositories -->
17                 <onap.nexus.host>nexus.onap.org</onap.nexus.host>
18                 <onap.nexus.port>443</onap.nexus.port>
19                 <onap.nexus.protocol>https</onap.nexus.protocol>
20                 <onap.nexus.public-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/groups/public</onap.nexus.public-url>
21                 <onap.nexus.release-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/releases</onap.nexus.release-url>
22                 <onap.nexus.snapshot-url>${onap.nexus.protocol}://${onap.nexus.host}:${onap.nexus.port}/content/repositories/snapshots</onap.nexus.snapshot-url>
23                 <onap.nexus.staging.server-id>ecomp-releases</onap.nexus.staging.server-id>
24                 <onap.nexus.staging.profile-id></onap.nexus.staging.profile-id>
25
26         </properties>
27
28
29         <repositories>
30                 <repository>
31                         <id>onap-public</id>
32                         <url>${onap.nexus.public-url}</url>
33                         <releases>
34                                 <enabled>true</enabled>
35                                 <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
36                                         <updatePolicy>daily</updatePolicy> <updatePolicy>interval:in minutes</updatePolicy> -->
37                                 <updatePolicy>never</updatePolicy>
38                         </releases>
39                         <snapshots>
40                                 <enabled>true</enabled>
41                                 <updatePolicy>always</updatePolicy>
42                                 <!-- <updatePolicy>always</updatePolicy> <updatePolicy>never</updatePolicy>
43                                         <updatePolicy>daily</updatePolicy> <updatePolicy>interval:30</updatePolicy> -->
44                         </snapshots>
45                 </repository>
46                 <repository>
47                         <id>ecomp-release</id>
48                         <name>onap-repository-releases</name>
49                         <url>${onap.nexus.release-url}</url>
50                         <releases>
51                                 <enabled>true</enabled>
52                                 <updatePolicy>never</updatePolicy>
53                         </releases>
54                         <snapshots>
55                                 <enabled>false</enabled>
56                         </snapshots>
57                 </repository>
58                 <repository>
59                         <id>ecomp-snapshot</id>
60                         <name>onap-repository-snapshots</name>
61                         <url>${onap.nexus.snapshot-url}</url>
62                         <releases>
63                                 <enabled>false</enabled>
64                         </releases>
65                         <snapshots>
66                                 <enabled>true</enabled>
67                         </snapshots>
68                 </repository>
69                 <repository>
70                         <id>opendaylight-mirror</id>
71                         <name>opendaylight-mirror</name>
72                         <url>${opendaylight.nexus.public-url}</url>
73                         <releases>
74                                 <enabled>true</enabled>
75                                 <updatePolicy>never</updatePolicy>
76                         </releases>
77                         <snapshots>
78                                 <enabled>false</enabled>
79                         </snapshots>
80                 </repository>
81                 <repository>
82                         <id>opendaylight-snapshot</id>
83                         <name>opendaylight-snapshot</name>
84                         <url>${opendaylight.nexus.snapshot-url}</url>
85                         <releases>
86                                 <enabled>false</enabled>
87                         </releases>
88                         <snapshots>
89                                 <enabled>true</enabled>
90                         </snapshots>
91                 </repository>
92
93         </repositories>
94
95         <distributionManagement>
96                 <repository>
97                         <id>ecomp-releases</id>
98                         <name>onap-repository-releases</name>
99                         <url>${onap.nexus.release-url}</url>
100                 </repository>
101                 <snapshotRepository>
102                         <id>ecomp-snapshots</id>
103                         <name>onap-repository-snapshots</name>
104                         <url>${onap.nexus.snapshot-url}</url>
105                 </snapshotRepository>
106         </distributionManagement>
107
108         <build>
109                 <pluginManagement>
110                         <plugins>
111                                 <plugin>
112                                         <groupId>org.apache.maven.plugins</groupId>
113                                         <artifactId>maven-site-plugin</artifactId>
114                                         <version>3.6</version>
115                                         <dependencies>
116                                                 <dependency>
117                                                         <groupId>org.apache.maven.wagon</groupId>
118                                                         <artifactId>wagon-webdav-jackrabbit</artifactId>
119                                                         <version>2.10</version>
120                                                 </dependency>
121                                                 <dependency>
122                                                         <groupId>org.apache.maven.doxia</groupId>
123                                                         <artifactId>doxia-core</artifactId>
124                                                         <version>1.7</version>
125                                                 </dependency>
126                                                 <dependency>
127                                                         <groupId>org.apache.maven.doxia</groupId>
128                                                         <artifactId>doxia-sink-api</artifactId>
129                                                         <version>1.7</version>
130                                                 </dependency>
131                                                 <dependency>
132                                                         <groupId>org.apache.maven.doxia</groupId>
133                                                         <artifactId>doxia-logging-api</artifactId>
134                                                         <version>1.7</version>
135                                                 </dependency>
136                                         </dependencies>
137                                         <executions>
138                                                 <execution>
139                                                         <id>attach-descriptor</id>
140                                                         <goals>
141                                                                 <goal>attach-descriptor</goal>
142                                                         </goals>
143                                                 </execution>
144                                         </executions>
145                                 </plugin>
146                                 <plugin>
147                                         <groupId>org.apache.maven.plugins</groupId>
148                                         <artifactId>maven-compiler-plugin</artifactId>
149                                         <version>2.5.1</version>
150                                         <configuration>
151                                                 <source>${java.version.source}</source>
152                                                 <target>${java.version.target}</target>
153                                         </configuration>
154                                 </plugin>
155                                 <plugin>
156                                         <groupId>org.codehaus.mojo</groupId>
157                                         <artifactId>sonar-maven-plugin</artifactId>
158                                         <version>3.2</version>
159                                 </plugin>
160                                 <plugin>
161                                         <artifactId>maven-source-plugin</artifactId>
162                                         <version>2.1.1</version>
163                                         <executions>
164                                                 <execution>
165                                                         <id>bundle-sources</id>
166                                                         <phase>package</phase>
167                                                         <goals>
168                                                                 <!-- produce source artifact for main project sources -->
169                                                                 <goal>jar-no-fork</goal>
170
171                                                                 <!-- produce source artifact for project test sources -->
172                                                                 <goal>test-jar-no-fork</goal>
173                                                         </goals>
174                                                 </execution>
175                                         </executions>
176                                 </plugin>
177
178
179                         </plugins>
180
181                 </pluginManagement>
182
183                 <plugins>
184                         <!-- license plugin -->
185
186                         <plugin>
187
188                                 <groupId>org.codehaus.mojo</groupId>
189
190                                 <artifactId>license-maven-plugin</artifactId>
191
192                                 <version>1.10</version>
193
194                                 <configuration>
195
196                                         <addJavaLicenseAfterPackage>false</addJavaLicenseAfterPackage>
197
198                                         <processStartTag>============LICENSE_START=======================================================</processStartTag>
199
200                                         <processEndTag>============LICENSE_END=========================================================</processEndTag>
201
202                                         <sectionDelimiter>================================================================================</sectionDelimiter>
203
204                                         <licenseName>apache_v2</licenseName>
205
206                                         <inceptionYear>2017</inceptionYear>
207
208                                         <organizationName>AT&amp;T Intellectual Property. All rights
209                                                 reserved.</organizationName>
210
211                                         <projectName>openECOMP : SDN-C</projectName>
212
213                                         <canUpdateCopyright>true</canUpdateCopyright>
214
215                                         <canUpdateDescription>true</canUpdateDescription>
216
217                                         <canUpdateLicense>true</canUpdateLicense>
218
219                                         <emptyLineAfterHeader>true</emptyLineAfterHeader>
220                                         <excludes>
221                                                 <exclude>**/*.png</exclude>
222                                                 <exclude>**/*.json</exclude>
223                                         </excludes>
224
225                                 </configuration>
226
227                                 <executions>
228
229                                         <execution>
230
231                                                 <id>first</id>
232
233                                                 <goals>
234
235                                                         <goal>update-file-header</goal>
236
237                                                 </goals>
238
239                                                 <phase>process-sources</phase>
240
241                                         </execution>
242
243                                 </executions>
244
245                         </plugin>
246
247                         <plugin>
248                                 <groupId>org.codehaus.mojo</groupId>
249                                 <artifactId>properties-maven-plugin</artifactId>
250                                 <version>1.0.0</version>
251                                 <executions>
252                                         <execution>
253                                                 <goals>
254                                                         <goal>set-system-properties</goal>
255                                                 </goals>
256                                                 <configuration>
257                                                         <properties>
258                                                                 <property>
259                                                                         <name>maven.wagon.http.ssl.allowall</name>
260                                                                         <value>${ssl.allowall}</value>
261                                                                 </property>
262                                                                 <property>
263                                                                         <name>maven.wagon.http.ssl.insecure</name>
264                                                                         <value>${ssl.insecure}</value>
265                                                                 </property>
266                                                         </properties>
267                                                 </configuration>
268                                         </execution>
269                                 </executions>
270                         </plugin>
271                         <plugin>
272                                 <groupId>org.codehaus.mojo</groupId>
273                                 <artifactId>versions-maven-plugin</artifactId>
274                                 <version>2.3</version>
275                         </plugin>
276                         <plugin>
277                                 <artifactId>maven-scm-plugin</artifactId>
278                                 <version>1.8.1</version>
279                                 <configuration>
280                                         <tag>${project.artifactId}-${project.version}</tag>
281                                 </configuration>
282                         </plugin>
283                 </plugins>
284         </build>
285         <organization>
286                 <name>ONAP</name>
287         </organization>
288
289         <modules>
290                 <module>odlparent-boron-sr3</module>
291         </modules>
292 </project>