summaryrefslogtreecommitdiffstats
path: root/odlparent/setup
diff options
context:
space:
mode:
authorDan Timoney <dtimoney@att.com>2019-09-25 18:28:28 +0000
committerGerrit Code Review <gerrit@onap.org>2019-09-25 18:28:28 +0000
commitd2c9eb891016e691b1bd5af8dd059f0abd877f90 (patch)
tree846f31b14dae0800b74eca7f469820001be85c39 /odlparent/setup
parent753369b16fbe26b3606160fe1a0b7a6e2e1a32de (diff)
parentcf7a38827225436fd6ce274c850bf2e500167b32 (diff)
Merge "Add karaf4-parent pom"
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