- added unpacking of xml from resources to target/provided-configs
- limited to artifactIds: openflowplugin-controller-config
- copied content of target/provided-configs to opendaylight/configuration/initial by assembly-plugin
- changed execution id in pom to match id of execution with the same purpose in distribution/services
Change-Id: Ice4247682ae53576146b8f0f61ebc9599c35b6a8
Signed-off-by: Michal Rehak <mirehak@cisco.com>
<artifactId>openflowplugin</artifactId>
<version>0.0.3-SNAPSHOT</version>
</dependency>
<artifactId>openflowplugin</artifactId>
<version>0.0.3-SNAPSHOT</version>
</dependency>
+ <dependency>
+ <groupId>org.opendaylight.openflowplugin</groupId>
+ <artifactId>openflowplugin-controller-config</artifactId>
+ <version>0.0.3-SNAPSHOT</version>
+ </dependency>
<!-- openflowjava -->
<dependency>
<!-- openflowjava -->
<dependency>
<ignorePermissions>false</ignorePermissions>
</configuration>
</execution>
<ignorePermissions>false</ignorePermissions>
</configuration>
</execution>
+ <execution>
+ <id>unpack-provided-configs</id>
+ <goals>
+ <goal>unpack-dependencies</goal>
+ </goals>
+ <phase>generate-resources</phase>
+ <configuration>
+ <outputDirectory>${project.build.directory}/provided-configs</outputDirectory>
+ <includeArtifactIds>openflowplugin-controller-config</includeArtifactIds>
+ <includes>**\/*.xml</includes>
+ <excludeTransitive>true</excludeTransitive>
+ <ignorePermissions>false</ignorePermissions>
+ </configuration>
+ </execution>
</executions>
</plugin>
<plugin>
</executions>
</plugin>
<plugin>
<exclude>opendaylight/run.sh</exclude>
</excludes>
</fileSet>
<exclude>opendaylight/run.sh</exclude>
</excludes>
</fileSet>
+ <fileSet>
+ <directory>${project.build.directory}/provided-configs</directory>
+ <outputDirectory>/opendaylight/configuration</outputDirectory>
+ <excludes>
+ <exclude>**/META-INF/**</exclude>
+ </excludes>
+ </fileSet>
</fileSets>
<files>
<file>
</fileSets>
<files>
<file>