secgateway/ControlPlatform/driver-layer/karaf/pom.xml

141 lines
5.3 KiB
XML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright © 2019 CMCC Corporation and others. All rights reserved.
This program and the accompanying materials are made available under the
terms of the Eclipse Public License v1.0 which accompanies this distribution,
and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
-->
<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">
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>karaf4-parent</artifactId>
<version>3.1.4</version>
<relativePath/>
</parent>
<groupId>com.cmcc.cmhi</groupId>
<artifactId>driver-layer-karaf</artifactId>
<version>0.1.0</version>
<!-- <name> formatting is used by autorelease to parse and notify projects on
build failure. Please do not modify this unless you have a good reason. -->
<name>ODL :: com.cmcc.cmhi :: ${project.artifactId}</name>
<properties>
<!-- <karaf.localFeature>odl-driver-layer-ui</karaf.localFeature> -->
<integration.version>0.8.4</integration.version>
</properties>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.opendaylight.integration</groupId>
<artifactId>all-artifacts</artifactId>
<version>${integration.version}</version>
<scope>import</scope>
<type>pom</type>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<!-- scope is compile so all features (there is only one) are installed
into startup.properties and the feature repo itself is not installed
默认仅安装干净的karaf框架
<dependency>
<groupId>org.apache.karaf.features</groupId>
<artifactId>framework</artifactId>
<type>kar</type>
</dependency>
-->
<!--
为了测试方便安装Integration版本的所有模块
-->
<!-- Integration index feature repository. -->
<dependency>
<groupId>org.opendaylight.integration</groupId>
<artifactId>features-index</artifactId>
<classifier>features</classifier>
<type>xml</type>
<scope>runtime</scope>
<exclusions>
<exclusion>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf4-empty</artifactId>
</exclusion>
<exclusion>
<groupId>org.opendaylight.controller</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
</exclusion>
<exclusion>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- Integration test feature repository. -->
<dependency>
<groupId>org.opendaylight.integration</groupId>
<artifactId>features-test</artifactId>
<classifier>features</classifier>
<type>xml</type>
<scope>test</scope>
<exclusions>
<exclusion>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf4-empty</artifactId>
</exclusion>
<exclusion>
<groupId>org.opendaylight.controller</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
</exclusion>
<exclusion>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>opendaylight-karaf-empty</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.opendaylight.aaa</groupId>
<artifactId>aaa-cli-jar</artifactId>
<!-- This scope test here is just a trick, so that we can use aaa-cli-jar in maven-dependency-plugin, but don't have karaf-maven-plugin choke on it -->
<scope>test</scope>
</dependency>
<!--自己的模块-->
<dependency>
<groupId>${project.groupId}</groupId>
<artifactId>features-driver-all</artifactId>
<classifier>features</classifier>
<version>${project.version}</version>
<type>xml</type>
<scope>runtime</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!-- DO NOT deploy the karaf artifact -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</project>