You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2012/03/09 07:43:37 UTC

svn commit: r1298717 - /servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml

Author: ffang
Date: Fri Mar  9 06:43:37 2012
New Revision: 1298717

URL: http://svn.apache.org/viewvc?rev=1298717&view=rev
Log:
[SMX4-944]export camel-nmr-test.jar

Modified:
    servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml

Modified: servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml
URL: http://svn.apache.org/viewvc/servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml?rev=1298717&r1=1298716&r2=1298717&view=diff
==============================================================================
--- servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml (original)
+++ servicemix/smx4/features/branches/features-4.4.x/camel/servicemix-camel/pom.xml Fri Mar  9 06:43:37 2012
@@ -167,6 +167,21 @@
     </dependencies>
 
     <build>
+        <testSourceDirectory>${basedir}/src/test/java</testSourceDirectory>
+        <testResources>
+            <testResource>
+                <directory>src/test/java</directory>
+                <excludes>
+                    <exclude>**/*.java</exclude>
+                </excludes>
+            </testResource>
+            <testResource>
+                <directory>src/test/resources</directory>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </testResource>
+        </testResources>
         <plugins>
             <plugin>
                 <groupId>org.apache.felix</groupId>
@@ -246,6 +261,18 @@
                     </instrumentation>
                 </configuration>
             </plugin>
+            <plugin>
+                <artifactId>maven-jar-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <id>jar-test-classes</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>test-jar</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
         </plugins>
     </build>