mv BP XML from org/opendaylight to OSGI-INF/
[transportpce.git] / karaf / pom.xml
index b750b1b52e73f02562cdc0187c0dc7ff677a8e45..bdaa50e75bbc0cd21c332ab92c2d6061e106429d 100644 (file)
@@ -12,18 +12,18 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
   <parent>
     <groupId>org.opendaylight.odlparent</groupId>
     <artifactId>karaf4-parent</artifactId>
-    <version>3.1.0</version>
+    <version>4.0.9</version>
     <relativePath/>
   </parent>
 
   <groupId>org.opendaylight.transportpce</groupId>
   <artifactId>transportpce-karaf</artifactId>
-  <version>0.2.0-SNAPSHOT</version>
+  <version>0.3.0-SNAPSHOT</version>
   <name>${project.artifactId}</name>
   <packaging>pom</packaging>
 
     <properties>
-        <karaf.localFeature>odl-transportpce-ui</karaf.localFeature>
+        <karaf.localFeature>odl-transportpce</karaf.localFeature>
         <device.yang.jar.extract.directory>
             ${project.build.outputDirectory}/../yang-models/schema
         </device.yang.jar.extract.directory>
@@ -70,72 +70,17 @@ and is available at http://www.eclipse.org/legal/epl-v10.html INTERNAL
         </dependency>
     </dependencies>
 
-    <build>
-        <plugins>
-            <!-- DO NOT deploy the karaf artifact -->
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-deploy-plugin</artifactId>
-                <configuration>
-                    <skip>true</skip>
-                </configuration>
-            </plugin>
-            <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-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>unpack</id>
-                        <phase>generate-resources</phase>
-                        <goals>
-                            <goal>unpack</goal>
-                        </goals>
-                        <configuration>
-                            <artifactItems>
-                                <artifactItem>
-                                    <groupId>${project.groupId}.ordmodels</groupId>
-                                    <artifactId>transportpce-ordmodels-common</artifactId>
-                                </artifactItem>
-                                <artifactItem>
-                                    <groupId>${project.groupId}.ordmodels</groupId>
-                                    <artifactId>transportpce-ordmodels-device</artifactId>
-                                </artifactItem>
-                            </artifactItems>
-                            <outputDirectory>${device.yang.jar.extract.directory}</outputDirectory>
-                            <includes>**/*.yang</includes>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.maven.plugins</groupId>
-                <artifactId>maven-antrun-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>copy-yang-files</id>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>run</goal>
-                        </goals>
-                        <configuration>
-                            <target>
-                                <copy todir="${device.yang.final.directory}" flatten="true">
-                                    <fileset dir="${device.yang.jar.extract.directory}/META-INF/yang">
-                                        <include name="**/*.yang" />
-                                    </fileset>
-                                </copy>
-                            </target>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
+     <build>
+         <plugins>
+             <plugin>
+                 <groupId>org.apache.maven.plugins</groupId>
+                 <artifactId>maven-deploy-plugin</artifactId>
+                 <configuration>
+                     <skip>true</skip>
+                 </configuration>
+             </plugin>
+         </plugins>
+     </build>
+
+
 </project>