summaryrefslogtreecommitdiffstats
path: root/odlparent/setup
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-09-25 08:56:47 -0400
committerTimoney, Dan (dt5972) <dtimoney@att.com>2019-09-25 08:56:47 -0400
commitcf7a38827225436fd6ce274c850bf2e500167b32 (patch)
tree55b4ecfeb41d4c0c9784f1c5dd3d736661baed99 /odlparent/setup
parent3cefa7c55ef8dd4a4495274ed7c444e520fd34c9 (diff)
Add karaf4-parent pom
Add karaf4-parent pom back to build. This is needed to create ONAP distro of OpenDaylight. Change-Id: Ib0ad4d1ca02a15fe9aee8e4db95682c434b9e6c3 Issue-ID: CCSDK-1753 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Diffstat (limited to 'odlparent/setup')
-rwxr-xr-xodlparent/setup/pom.xml34
-rw-r--r--odlparent/setup/src/main/properties/karaf4-parent.properties3
2 files changed, 37 insertions, 0 deletions
diff --git a/odlparent/setup/pom.xml b/odlparent/setup/pom.xml
index 24651600..685ad761 100755
--- a/odlparent/setup/pom.xml
+++ b/odlparent/setup/pom.xml
@@ -97,6 +97,29 @@
</configuration>
</execution>
<execution>
+ <id>create-karaf4-parent-pom</id>
+ <goals>
+ <goal>copy-resources</goal>
+ </goals><!-- here the phase you need -->
+ <phase>validate</phase>
+ <configuration>
+ <outputDirectory>../karaf4-parent</outputDirectory>
+ <resources>
+ <resource>
+ <directory>src/main/resources</directory>
+ <includes>
+ <include>pom-template.xml</include>
+ </includes>
+ <filtering>true</filtering>
+ </resource>
+ </resources>
+ <escapeString>\</escapeString>
+ <filters>
+ <filter>${basedir}/src/main/properties/karaf4-parent.properties</filter>
+ </filters>
+ </configuration>
+ </execution>
+ <execution>
<id>create-mdsal-it-parent-pom</id>
<goals>
<goal>copy-resources</goal>
@@ -229,6 +252,17 @@
</configuration>
</execution>
<execution>
+ <id>rename-karaf4-parent-pom</id>
+ <phase>validate</phase>
+ <goals>
+ <goal>rename</goal>
+ </goals>
+ <configuration>
+ <sourceFile>../karaf4-parent/pom-template.xml</sourceFile>
+ <destinationFile>../karaf4-parent/pom.xml</destinationFile>
+ </configuration>
+ </execution>
+ <execution>
<id>rename-mdsal-it-parent-pom</id>
<phase>validate</phase>
<goals>
diff --git a/odlparent/setup/src/main/properties/karaf4-parent.properties b/odlparent/setup/src/main/properties/karaf4-parent.properties
new file mode 100644
index 00000000..5be7cc17
--- /dev/null
+++ b/odlparent/setup/src/main/properties/karaf4-parent.properties
@@ -0,0 +1,3 @@
+odlparent.artifactId=karaf4-parent
+odlparent.groupId=org.opendaylight.odlparent
+odlparent.version=4.0.10