1 <?xml version="1.0" encoding="UTF-8"?>
3 Copyright © 2016 Red Hat, Inc. and others. All rights reserved.
5 This program and the accompanying materials are made available under the
6 terms of the Eclipse Public License v1.0 which accompanies this distribution,
7 and is available at http://www.eclipse.org/legal/epl-v10.html
9 <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">
10 <modelVersion>4.0.0</modelVersion>
12 <artifactId>odlparent</artifactId>
13 <groupId>org.opendaylight.odlparent</groupId>
14 <version>3.1.2-SNAPSHOT</version>
15 <relativePath>../odlparent/</relativePath>
17 <artifactId>karaf-plugin</artifactId>
18 <packaging>maven-plugin</packaging>
20 <name>ODL :: odlparent :: ${project.artifactId}</name>
23 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
28 <groupId>org.apache.maven</groupId>
29 <artifactId>maven-plugin-api</artifactId>
30 <version>3.3.3</version>
33 <groupId>org.apache.maven</groupId>
34 <artifactId>maven-core</artifactId>
35 <version>3.3.3</version>
38 <groupId>org.apache.maven</groupId>
39 <artifactId>maven-model</artifactId>
40 <version>3.3.3</version>
43 <groupId>org.ops4j.pax.url</groupId>
44 <artifactId>pax-url-aether</artifactId>
45 <scope>compile</scope>
48 <groupId>org.apache.karaf.features</groupId>
49 <artifactId>org.apache.karaf.features.core</artifactId>
50 <version>${karaf.version}</version>
51 <scope>compile</scope>
54 <groupId>org.eclipse.aether</groupId>
55 <artifactId>aether-api</artifactId>
56 <version>1.0.2.v20150114</version>
59 <groupId>org.opendaylight.odlparent</groupId>
60 <artifactId>karaf-util</artifactId>
61 <version>${project.version}</version>
64 <groupId>org.osgi</groupId>
65 <artifactId>org.osgi.core</artifactId>
66 <scope>runtime</scope>
73 <artifactId>maven-checkstyle-plugin</artifactId>
76 <id>check-license</id>
80 <phase>process-sources</phase>
82 <configLocation>check-license.xml</configLocation>
83 <includeResources>false</includeResources>
84 <includeTestResources>false</includeTestResources>
85 <sourceDirectory>${project.build.sourceDirectory}</sourceDirectory>
87 <!-- Skip Apache Licensed files -->
88 org/opendaylight/odlparent/PopulateLocalRepoMojo.java
90 <failsOnError>false</failsOnError>
91 <consoleOutput>true</consoleOutput>
97 <artifactId>maven-plugin-plugin</artifactId>
99 <goalPrefix>karaf</goalPrefix>
100 <skipErrorNoDescriptorsFound>true</skipErrorNoDescriptorsFound>
104 <id>mojo-descriptor</id>
106 <goal>descriptor</goal>
112 <goal>helpmojo</goal>
126 <artifactId>maven-invoker-plugin</artifactId>
127 <version>2.0.0</version>
130 <cloneProjectsTo>${project.build.directory}/it</cloneProjectsTo>
132 <pomInclude>*/pom.xml</pomInclude>
134 <postBuildHookScript>verify</postBuildHookScript>
135 <localRepositoryPath>${project.build.directory}/local-repo</localRepositoryPath>
136 <settingsFile>src/it/settings.xml</settingsFile>
139 <goal>test-compile</goal>
144 <id>integration-test</id>
147 <goal>integration-test</goal>
160 Maven Site Configuration
162 The following configuration is necessary for maven-site-plugin to
163 correctly identify the correct deployment path for OpenDaylight Maven
166 <url>${odl.site.url}/${project.groupId}/${stream}/${project.artifactId}/</url>
168 <distributionManagement>
170 <id>opendaylight-site</id>
171 <url>${nexus.site.url}/${project.artifactId}/</url>
173 </distributionManagement>