SDN-R preload schema cache 91/83691/1
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Fri, 29 Mar 2019 09:35:11 +0000 (10:35 +0100)
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Fri, 29 Mar 2019 09:37:47 +0000 (10:37 +0100)
installer pom extended to add related subdirectory

Change-Id: Ib092f4fd10f363073091fe0c3682d2b25e231d75
Issue-ID: SDNC-715
Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
sdnr/wt/featureaggregator/feature/pom.xml
sdnr/wt/featureaggregator/installer/pom.xml
sdnr/wt/featureaggregator/pom.xml

index 09cc5aa..ec69487 100644 (file)
@@ -19,7 +19,8 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
 -->
-<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">
+<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>
 
   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
@@ -32,7 +33,7 @@
     <groupId>org.onap.ccsdk.parent</groupId>
     <artifactId>single-feature-parent</artifactId>
     <version>1.2.2-SNAPSHOT</version>
-    <relativePath/>
+    <relativePath />
   </parent>
 
   <dependencyManagement>
@@ -83,7 +84,6 @@
       <type>xml</type>
       <classifier>features</classifier>
     </dependency>
-<!--
     <dependency>
       <groupId>${project.groupId}</groupId>
       <artifactId>sdnr-wt-odlux-core-feature</artifactId>
@@ -98,6 +98,5 @@
       <type>xml</type>
       <classifier>features</classifier>
     </dependency>
--->
   </dependencies>
 </project>
index ca714c4..6230730 100755 (executable)
@@ -19,7 +19,9 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
 -->
-<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">
+<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>
 
   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
@@ -32,7 +34,7 @@
     <groupId>org.onap.ccsdk.parent</groupId>
     <artifactId>odlparent-lite</artifactId>
     <version>1.2.2-SNAPSHOT</version>
-    <relativePath/>
+    <relativePath />
   </parent>
 
   <properties>
@@ -42,7 +44,7 @@
   </properties>
 
   <dependencies>
-      <dependency>
+    <dependency>
       <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
       <artifactId>${application.name}</artifactId>
       <version>${project.version}</version>
               <copyPom>false</copyPom>
             </configuration>
           </execution>
+          <execution>
+            <id>unpack-cache-schema</id>
+            <goals>
+              <goal>unpack</goal>
+            </goals>
+            <phase>prepare-package</phase>
+            <configuration>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
+                  <artifactId>sdnr-wt-devicemanager-provider</artifactId>
+                  <version>0.4.2-SNAPSHOT</version>
+                  <type>jar</type>
+                </artifactItem>
+              </artifactItems>
+              <outputDirectory>${project.build.directory}/assembly</outputDirectory>
+              <includes>preload.cache.schema/**</includes>
+              <overWriteReleases>false</overWriteReleases>
+              <overWriteSnapshots>true</overWriteSnapshots>
+            </configuration>
+          </execution>
         </executions>
       </plugin>
     </plugins>
index cc9aa4a..3121490 100755 (executable)
@@ -19,7 +19,9 @@
  * limitations under the License.
  * ============LICENSE_END=========================================================
 -->
-<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">
+<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>
 
   <groupId>org.onap.ccsdk.features.sdnr.wt</groupId>
@@ -32,7 +34,7 @@
     <groupId>org.onap.ccsdk.parent</groupId>
     <artifactId>odlparent-lite</artifactId>
     <version>1.2.2-SNAPSHOT</version>
-    <relativePath/>
+    <relativePath />
   </parent>
 
   <modules>