karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ff...@apache.org
Subject svn commit: r1484676 - /karaf/branches/karaf-2.x/admin/core/pom.xml
Date Tue, 21 May 2013 07:18:18 GMT
Author: ffang
Date: Tue May 21 07:18:17 2013
New Revision: 1484676

URL: http://svn.apache.org/r1484676
Log:
fix test failure caused by org.ops4j.pax.url.mvn.cfg moved in assemblies

Modified:
    karaf/branches/karaf-2.x/admin/core/pom.xml

Modified: karaf/branches/karaf-2.x/admin/core/pom.xml
URL: http://svn.apache.org/viewvc/karaf/branches/karaf-2.x/admin/core/pom.xml?rev=1484676&r1=1484675&r2=1484676&view=diff
==============================================================================
--- karaf/branches/karaf-2.x/admin/core/pom.xml (original)
+++ karaf/branches/karaf-2.x/admin/core/pom.xml Tue May 21 07:18:17 2013
@@ -165,6 +165,26 @@
                             </resources>
                         </configuration>
                     </execution>
+                    <execution>
+                        <id>copy-released</id>
+                        <!-- here the phase you need -->
+                        <phase>compile</phase>
+                        <goals>
+                            <goal>copy-resources</goal>
+                        </goals>
+                        <configuration>
+                            <outputDirectory>${basedir}/target/classes/org/apache/karaf/admin/etc</outputDirectory>
+                            <resources>
+                                <resource>
+                                    <directory>../../assemblies/apache-karaf/src/main/distribution/release/etc/</directory>
+                                    <filtering>true</filtering>
+                                    <includes>
+                                        <include>*.cfg</include>
+                                    </includes>
+                                </resource>
+                            </resources>
+                        </configuration>
+                    </execution>
                 </executions>
             </plugin>
             <plugin>



Mime
View raw message