summaryrefslogtreecommitdiffstats
path: root/opendaylight/onap-distribution/fluorine/karaf/pom.xml
diff options
context:
space:
mode:
authorAlexis de Talhouët <adetalhouet89@gmail.com>2019-02-24 13:45:00 -0500
committerDan Timoney <dtimoney@att.com>2019-03-06 20:29:53 +0000
commita41427f14b8b056640e5853f5ec61284fb23acaa (patch)
tree6f4fa43c2bdf5ecea7cf9b38b4b875b13ad449b7 /opendaylight/onap-distribution/fluorine/karaf/pom.xml
parent78327d7d3e648a393ce247216e99fb4d966bd79e (diff)
Create ONAP's ODL Fluorine SR1 distro
Modules installed: - AAA - Controller - Daexim - Netconf - MDSAL (pulled trnasitively) - ODL Parent - YangTools (pulled transitively) Brings karaf from 255.9 MB to 215.7 MB. Note: Oxygen SR3 was 353.2 MB when Fluorine SR1 is 255.9 MB, so upstream ODL has already shrink their distribution size. Change-Id: Ic8618156efd4fc842b496bc25557eb322a6dbf26 Issue-ID: CCSDK-1105 Signed-off-by: Alexis de Talhouët <adetalhouet89@gmail.com> Reviewed-on: https://gerrit.onap.org/r/79075 Tested-by: ONAP Jobbuilder <onap-jobbuilder@jenkins.onap.org> Reviewed-by: Dan Timoney <dtimoney@att.com>
Diffstat (limited to 'opendaylight/onap-distribution/fluorine/karaf/pom.xml')
-rw-r--r--opendaylight/onap-distribution/fluorine/karaf/pom.xml199
1 files changed, 199 insertions, 0 deletions
diff --git a/opendaylight/onap-distribution/fluorine/karaf/pom.xml b/opendaylight/onap-distribution/fluorine/karaf/pom.xml
new file mode 100644
index 00000000..dbada050
--- /dev/null
+++ b/opendaylight/onap-distribution/fluorine/karaf/pom.xml
@@ -0,0 +1,199 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<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">
+
+ <parent>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>karaf4-parent</artifactId>
+ <version>3.1.4</version>
+ <relativePath/>
+ </parent>
+
+ <groupId>org.onap.ccsdk.distribution</groupId>
+ <artifactId>distribution-opendaylight-onap-fluorine-karaf</artifactId>
+ <version>0.4.1-SNAPSHOT</version>
+ <name>ccsdk-distribution :: onap :: opendaylight :: fluorine :: karaf</name>
+ <modelVersion>4.0.0</modelVersion>
+
+ <licenses>
+ <license>
+ <name>The Apache Software License, Version 2.0</name>
+ <url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
+ <distribution>repo</distribution>
+ <comments>OpenDaylight distribution build specific for ONAP projects.</comments>
+ </license>
+ </licenses>
+
+ <properties>
+ <!-- <karaf.localFeature></karaf.localFeature> -->
+ <opendaylight.version>0.9.1</opendaylight.version>
+ </properties>
+
+ <dependencyManagement>
+ <dependencies>
+ <dependency>
+ <groupId>org.opendaylight.integration</groupId>
+ <artifactId>all-artifacts</artifactId>
+ <version>${opendaylight.version}</version>
+ <scope>import</scope>
+ <type>pom</type>
+ </dependency>
+ </dependencies>
+ </dependencyManagement>
+
+ <dependencies>
+
+ <!-- AAA -->
+ <dependency>
+ <groupId>org.opendaylight.aaa</groupId>
+ <artifactId>features-aaa</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Controller -->
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>features-extras</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>features-mdsal</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>features-mdsal-benchmark</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.controller</groupId>
+ <artifactId>features-mdsal-trace</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Daexim -->
+ <dependency>
+ <groupId>org.opendaylight.daexim</groupId>
+ <artifactId>daexim-features</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!-- Netconf -->
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>features-netconf</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>features-netconf-connector</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>features-restconf</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.netconf</groupId>
+ <artifactId>features-yanglib</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+
+ <!--ODL Parent-->
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>features-akka</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </dependency>
+ <dependency>
+ <groupId>org.opendaylight.odlparent</groupId>
+ <artifactId>features-odlparent</artifactId>
+ <classifier>features</classifier>
+ <type>xml</type>
+ <scope>runtime</scope>
+ </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>
+ </dependencies>
+
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>copy-aaa-cli-jar</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>copy-dependencies</goal>
+ </goals>
+ <configuration>
+ <outputDirectory>${project.build.directory}/assembly/bin</outputDirectory>
+ <includeArtifactIds>aaa-cli-jar</includeArtifactIds>
+ <overWriteReleases>true</overWriteReleases>
+ <overWriteSnapshots>true</overWriteSnapshots>
+ <overWriteIfNewer>true</overWriteIfNewer>
+ <excludeTransitive>true</excludeTransitive>
+ <!-- Do not include version in JAR filename, as external scripts call this utility,
+ and they understandly do not want to have to adjust for every ODL release;
+ see e.g. https://github.com/dfarrell07/puppet-opendaylight/pull/140 -->
+ <stripVersion>true</stripVersion>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+
+ <!-- ODLPARENT-142: Heavy-handed workaround to remove mysql dependencies from system -->
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <tasks>
+ <delete includeemptydirs="true">
+ <fileset dir="${project.build.directory}/assembly/system/mysql"/>
+ </delete>
+ </tasks>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+</project> \ No newline at end of file