</parent>
<artifactId>features-openflowplugin</artifactId>
<name>Openflow Protocol Plugin - Karaf Features</name>
- <packaging>kar</packaging>
-
+ <packaging>pom</packaging>
<properties>
<features.file>features.xml</features.file>
- </properties>
-
+ </properties>
<build>
<resources>
<resource>
</goals>
<configuration>
<featuresFile>${project.build.directory}/classes/${features.file}</featuresFile>
- </configuration>
+ </configuration>
</execution>
- </executions>
+ </executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<?xml version="1.0" encoding="UTF-8"?>
<features name="openflowplugin-${project.version}" xmlns="http://karaf.apache.org/xmlns/features/v1.2.0"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
-
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://karaf.apache.org/xmlns/features/v1.2.0 http://karaf.apache.org/xmlns/features/v1.2.0">
+ <repository>mvn:org.opendaylight.controller/features-mdsal/${mdsal.version}/xml/features</repository>
<feature name='odl-openflowplugin' description="OpenDaylight :: Openflow Plugin :: Plugin" version='${project.version}'>
- <feature version='${config.version}'>odl-config-subsystem</feature>
<feature version="${mdsal.version}">odl-mdsal-all</feature>
<feature version="${openflowjava.version}">odl-openflowjava</feature>
<bundle>mvn:org.opendaylight.openflowplugin/openflowplugin/${project.version}</bundle>
- <bundle>mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/${project.version}</bundle>
+ <configfile finalname="classes/initial/42-openflowplugin.xml">mvn:org.opendaylight.openflowplugin/openflowplugin-controller-config/${project.version}/xml/config</configfile>
</feature>
</features>
<modelVersion>4.0.0</modelVersion>
<parent>
- <groupId>org.opendaylight.openflowplugin</groupId>
- <artifactId>openflowplugin-parent</artifactId>
- <version>0.0.3-SNAPSHOT</version>
+ <groupId>org.opendaylight.openflowplugin</groupId>
+ <artifactId>openflowplugin-parent</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
</parent>
<artifactId>openflowplugin-controller-config</artifactId>
<description>Controller Configuration files for openflowplugin + openflowjava couple</description>
<packaging>jar</packaging>
-
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <executions>
+ <execution>
+ <id>attach-artifacts</id>
+ <goals>
+ <goal>attach-artifact</goal>
+ </goals>
+ <phase>package</phase>
+ <configuration>
+ <artifacts>
+ <artifact>
+ <file>${project.build.directory}/classes/initial/42-openflowplugin.xml</file>
+ <type>xml</type>
+ <classifier>config</classifier>
+ </artifact>
+ </artifacts>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
</project>