Remove duplicate copy resource step
In the provided example poms, resources will be copied twice once with -resource- tag and second via the maven-resources-plugin. And the second copy call had been started after karaf-assembly execution. So it was also to late.
@@ -136,20 +136,6 @@ This is the minimal assembly pom changed to use the packaging and annotated
</resources>
<plugins>
- <!-- if you want to include resources in the distribution -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>process-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<!-- karaf-maven-plugin will call both assembly and archive goals -->
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
@@ -231,20 +217,6 @@ For instance, to pre-install Spring 4.0.7.RELEASE_1 feature in your custom distr
</resources>
<plugins>
- <!-- if you want to include resources in the distribution -->
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-resources-plugin</artifactId>
- <version>2.6</version>
- <executions>
- <execution>
- <id>process-resources</id>
- <goals>
- <goal>resources</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
<plugin>
<groupId>org.apache.karaf.tooling</groupId>
<artifactId>karaf-maven-plugin</artifactId>
