<parent>
<groupId>org.opendaylight.odlparent</groupId>
<artifactId>karaf4-parent</artifactId>
- <version>3.1.0</version>
+ <version>4.0.11</version>
<relativePath/>
</parent>
<groupId>org.opendaylight.transportpce</groupId>
<artifactId>transportpce-karaf</artifactId>
- <version>0.2.0-SNAPSHOT</version>
+ <version>0.4.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>
</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>