Repository: jclouds-karaf Updated Branches: refs/heads/master 8ae52ff3c -> 1c1270c12
Attach config files referenced in the features as artifacts Project: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/commit/1c1270c1 Tree: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/tree/1c1270c1 Diff: http://git-wip-us.apache.org/repos/asf/jclouds-karaf/diff/1c1270c1 Branch: refs/heads/master Commit: 1c1270c12bd467299154819caf513ff7ae95135e Parents: 8ae52ff Author: Svetoslav Neykov <[email protected]> Authored: Mon Mar 20 16:56:46 2017 +0200 Committer: Andrew Phillips <[email protected]> Committed: Mon Mar 20 12:15:57 2017 -0400 ---------------------------------------------------------------------- feature/pom.xml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/jclouds-karaf/blob/1c1270c1/feature/pom.xml ---------------------------------------------------------------------- diff --git a/feature/pom.xml b/feature/pom.xml index 01e8e69..2265bab 100644 --- a/feature/pom.xml +++ b/feature/pom.xml @@ -31,6 +31,35 @@ limitations under the License. <build> <plugins> + <!-- Attaches config files referenced in feature.xml (mvn protocol) as artifacts --> + <plugin> + <groupId>org.codehaus.mojo</groupId> + <artifactId>build-helper-maven-plugin</artifactId> + <version>${build-helper-maven-plugin.version}</version> + <executions> + <execution> + <id>attach-feature-config</id> + <phase>package</phase> + <goals> + <goal>attach-artifact</goal> + </goals> + <configuration> + <artifacts> + <artifact> + <file>src/main/resources/credentials.cfg</file> + <type>cfg</type> + <classifier>credentials</classifier> + </artifact> + <artifact> + <file>src/main/resources/shell.cfg</file> + <type>cfg</type> + <classifier>shell</classifier> + </artifact> + </artifacts> + </configuration> + </execution> + </executions> + </plugin> <plugin> <groupId>org.apache.karaf.tooling</groupId> <artifactId>karaf-maven-plugin</artifactId>
