Title: [1028] trunk/core/pom.xml: Initial development for executing the unit test.
Revision
1028
Author
foconer
Date
2005-12-07 03:56:22 -0500 (Wed, 07 Dec 2005)

Log Message

Initial development for executing the unit test.

Modified Paths


Diff

Modified: trunk/core/pom.xml (1027 => 1028)

--- trunk/core/pom.xml	2005-12-07 06:34:22 UTC (rev 1027)
+++ trunk/core/pom.xml	2005-12-07 08:56:22 UTC (rev 1028)
@@ -1,177 +1,177 @@
 <model xsi:defaultSchemaLocation="http://maven.apache.org/maven-v4_0_0.xsd">
-  <modelVersion>4.0.0</modelVersion>
+    <modelVersion>4.0.0</modelVersion>
 
-  <parent>
-    <groupId>servicemix</groupId>
-    <artifactId>servicemix</artifactId>
-    <version>2.1-SNAPSHOT</version>
-  </parent>
+    <parent>
+        <groupId>servicemix</groupId>
+        <artifactId>servicemix</artifactId>
+        <version>2.1-SNAPSHOT</version>
+    </parent>
 
-  <artifactId>servicemix-core</artifactId>
-  <packaging>jar</packaging>
-  <name>ServiceMix Container</name>
+    <artifactId>servicemix-core</artifactId>
+    <packaging>jar</packaging>
+    <name>ServiceMix Container</name>
 
-  <dependencies>
-    
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>servicemix-jbi</artifactId>
-      <version>${version}</version>
-    </dependency>
-      
-    <dependency>
-      <groupId>activemq</groupId>
-      <artifactId>activemq</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>activemq</groupId>
-      <artifactId>activemq-ra</artifactId>
-    </dependency>
-      
-      <dependency>
-        <groupId>concurrent</groupId>
-        <artifactId>concurrent</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>backport-util-concurrent</groupId>
-        <artifactId>backport-util-concurrent</artifactId>
-      </dependency>
-  
-      <dependency>
-        <groupId>commons-logging</groupId>
-        <artifactId>commons-logging</artifactId>
-      </dependency>
-  
-      <dependency>
-        <groupId>geronimo-spec</groupId>
-        <artifactId>geronimo-spec-jms</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>geronimo-spec</groupId>
-        <artifactId>geronimo-spec-jta</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>geronimo-spec</groupId>
-        <artifactId>geronimo-spec-j2ee-management</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>geronimo-spec</groupId>
-        <artifactId>geronimo-spec-j2ee-jacc</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>geronimo-spec</groupId>
-        <artifactId>geronimo-spec-j2ee-connector</artifactId>
-      </dependency>
-      <dependency>
-         <groupId>commons-betwixt</groupId>
-         <artifactId>commons-betwixt</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>org.xbean</groupId>
-        <artifactId>xbean-server</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>org.xbean</groupId>
-        <artifactId>xbean-spring</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>log4j</groupId>
-        <artifactId>log4j</artifactId>
-        <scope>runtime</scope>
-      </dependency>
-      
-      <dependency>
-        <groupId>commons-collections</groupId>
-        <artifactId>commons-collections</artifactId>
-      </dependency>
-      
-      <dependency>
-        <groupId>springframework</groupId>
-        <artifactId>spring</artifactId>
-      </dependency>
-      
-      <dependency>
-        <groupId>activecluster</groupId>
-        <artifactId>activecluster</artifactId>
-      </dependency>
-    
-      <dependency>
-        <groupId>mx4j</groupId>
-        <artifactId>mx4j</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>mx4j</groupId>
-        <artifactId>mx4j-remote</artifactId>
-      </dependency>
-      <dependency>
-        <groupId>mx4j</groupId>
-        <artifactId>mx4j-tools</artifactId>
-      </dependency>
+    <dependencies>
 
-    <dependency>
-      <groupId>ant</groupId>
-      <artifactId>ant</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>jencks</groupId>
-      <artifactId>jencks</artifactId>
-    </dependency>
-      <dependency>
-        <groupId>geronimo</groupId>
-        <artifactId>geronimo-connector</artifactId>
-        <version>1.0-SNAPSHOT</version>
-      </dependency>
-      <dependency>
-        <groupId>geronimo</groupId>
-        <artifactId>geronimo-transaction</artifactId>
-        <version>1.0-SNAPSHOT</version>
-      </dependency>
-    <dependency>
-      <groupId>xstream</groupId>
-      <artifactId>xstream</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>wsdl4j</groupId>
-      <artifactId>wsdl4j</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>jaxen</groupId>
-      <artifactId>jaxen</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-beanutils</groupId>
-      <artifactId>commons-beanutils</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>commons-lang</groupId>
-      <artifactId>commons-lang</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>xalan</groupId>
-      <artifactId>xalan</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>xerces</groupId>
-      <artifactId>xercesImpl</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>stax-utils</groupId>
-      <artifactId>stax-utils</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>lingo</groupId>
-      <artifactId>lingo</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>junit</groupId>
-      <artifactId>junit</artifactId>
-    </dependency>
-    <dependency>
-      <groupId>servicemix</groupId>
-      <artifactId>DdlUtils</artifactId>
-      <version>1.0-dev</version>
-    </dependency>
         <dependency>
+            <groupId>servicemix</groupId>
+            <artifactId>servicemix-jbi</artifactId>
+            <version>${version}</version>
+        </dependency>
+
+        <dependency>
+            <groupId>activemq</groupId>
+            <artifactId>activemq</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>activemq</groupId>
+            <artifactId>activemq-ra</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>concurrent</groupId>
+            <artifactId>concurrent</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>backport-util-concurrent</groupId>
+            <artifactId>backport-util-concurrent</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-logging</groupId>
+            <artifactId>commons-logging</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-jms</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-jta</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-j2ee-management</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-j2ee-jacc</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>geronimo-spec</groupId>
+            <artifactId>geronimo-spec-j2ee-connector</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-betwixt</groupId>
+            <artifactId>commons-betwixt</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.xbean</groupId>
+            <artifactId>xbean-server</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.xbean</groupId>
+            <artifactId>xbean-spring</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>log4j</groupId>
+            <artifactId>log4j</artifactId>
+            <scope>runtime</scope>
+        </dependency>
+
+        <dependency>
+            <groupId>commons-collections</groupId>
+            <artifactId>commons-collections</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>springframework</groupId>
+            <artifactId>spring</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>activecluster</groupId>
+            <artifactId>activecluster</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>mx4j</groupId>
+            <artifactId>mx4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>mx4j</groupId>
+            <artifactId>mx4j-remote</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>mx4j</groupId>
+            <artifactId>mx4j-tools</artifactId>
+        </dependency>
+
+        <dependency>
+            <groupId>ant</groupId>
+            <artifactId>ant</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>jencks</groupId>
+            <artifactId>jencks</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo-connector</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>geronimo</groupId>
+            <artifactId>geronimo-transaction</artifactId>
+            <version>1.0-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>xstream</groupId>
+            <artifactId>xstream</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>wsdl4j</groupId>
+            <artifactId>wsdl4j</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>jaxen</groupId>
+            <artifactId>jaxen</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-beanutils</groupId>
+            <artifactId>commons-beanutils</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>commons-lang</groupId>
+            <artifactId>commons-lang</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>xalan</groupId>
+            <artifactId>xalan</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>xerces</groupId>
+            <artifactId>xercesImpl</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>stax-utils</groupId>
+            <artifactId>stax-utils</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>lingo</groupId>
+            <artifactId>lingo</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>junit</groupId>
+            <artifactId>junit</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>servicemix</groupId>
+            <artifactId>DdlUtils</artifactId>
+            <version>1.0-dev</version>
+        </dependency>
+        <dependency>
             <groupId>xmlbeans</groupId>
             <artifactId>xmlpublic</artifactId>
             <version>2.0.0</version>
@@ -181,76 +181,143 @@
             <artifactId>xbean</artifactId>
             <version>2.0.0</version>
         </dependency>
-    
-    <dependency>
-      <groupId>annogen</groupId>
-      <artifactId>annogen</artifactId>
-      <scope>compile</scope>
-    </dependency>
-    <dependency>
-      <groupId>hsqldb</groupId>
-      <artifactId>hsqldb</artifactId>
-      <scope>test</scope>
-    </dependency>
-    <dependency>
-      <groupId>easymock</groupId>
-      <artifactId>easymock</artifactId>
-      <version>1.2_Java1.3</version>
-      <scope>test</scope>
-    </dependency>
-    
-    <dependency>
-      <groupId>lucene</groupId>
-      <artifactId>lucene</artifactId>
-      <version>1.4.3</version>
-    </dependency>
-  </dependencies>
 
-  <build>
-    <resources>
-      <resource>
-        <directory>target/generated</directory>
-      </resource>
-      <resource>
-        <directory>src/main/resources</directory>
-      </resource>
-    </resources>
-    <testResources>
-      <testResource>
-        <directory>src/test/resources</directory>
-      </testResource>
-      <testResource>
-        <directory>src/test/components</directory>
-      </testResource>
-      <testResource>
-        <directory>src/test/assemblies</directory>
-      </testResource>
-    </testResources>
-    <plugins>
-      <plugin>
-        <artifactId>maven-antrun-plugin</artifactId>
-        <executions>
-          <execution>
-            <phase>process-classes</phase>
-            <configuration>
-              <tasks>
-                <taskdef classname="org.xbean.spring.generator.MappingGeneratorTask" name="mapping">
-                  <classpath>
-                    <pathelement path="${basedir}/target/classes"></pathelement>
-                    <path refid="maven.dependency.classpath"></path>
-                  </classpath>
-                </taskdef>
-                <mapping destFile="target/servicemix.xsd" namespace="http://servicemix.org/config/1.0"
-                		     srcdir="src/main/java"  metaInfDir="target/generated/"/>
-              </tasks>
-            </configuration>
-            <goals>
-              <goal>run</goal>
-            </goals>
-          </execution>
-        </executions>
-      </plugin>
-    </plugins>
-  </build>
+        <dependency>
+            <groupId>annogen</groupId>
+            <artifactId>annogen</artifactId>
+            <scope>compile</scope>
+        </dependency>
+        <dependency>
+            <groupId>hsqldb</groupId>
+            <artifactId>hsqldb</artifactId>
+            <scope>test</scope>
+        </dependency>
+        <dependency>
+            <groupId>easymock</groupId>
+            <artifactId>easymock</artifactId>
+            <version>1.2_Java1.3</version>
+            <scope>test</scope>
+        </dependency>
 
+        <dependency>
+            <groupId>lucene</groupId>
+            <artifactId>lucene</artifactId>
+            <version>1.4.3</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/resources</directory>
+                <includes>
+                    <include>**/*.properties</include>
+                    <include>**/*.xml</include>
+                    <include>**/*</include>
+                </includes>
+            </resource>
+            <resource>
+                <directory>target/generated</directory>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </resource>
+        </resources>
+        <testResources>
+             <testResource>
+                <!-- duplicate from resouces ??? -->
+                <directory>target/generated</directory>
+                <includes>
+                    <include>**/*</include>
+                </includes>
+            </testResource>
+            <testResource>
+                <directory>src/test/resources</directory>
+                <includes>
+                    <include>**/*.properties</include>
+                    <include>**/*.x*</include>
+                    <include>**/*.wsdl</include>
+                    <include>**/*.zip</include>
+                </includes>
+            </testResource>
+            <testResource>
+                <directory>src/test/components</directory>
+                <includes>
+                    <include>**/*.jar</include>
+                    <include>**/*.x*</include>
+                    <include>**/*.zip</include>
+                </includes>
+            </testResource>
+            <testResource>
+                <directory>src/test/assemblies</directory>
+                <includes>
+                    <include>**/*.jar</include>
+                    <include>**/*.zip</include>
+                </includes>
+            </testResource>
+            <testResource>
+                <directory>src/test/java</directory>
+                <includes>
+                    <include>**/*.jar</include>
+                    <include>**/*.zip</include>
+                </includes>
+            </testResource>
+        </testResources>
+        <plugins>
+            <plugin>
+                <artifactId>maven-antrun-plugin</artifactId>
+                <executions>
+                    <execution>
+                        <phase>process-classes</phase>
+                        <configuration>
+                            <tasks>
+                                <taskdef classname="org.xbean.spring.generator.MappingGeneratorTask" name="mapping">
+                                    <classpath>
+                                        <pathelement path="${basedir}/target/classes"></pathelement>
+                                        <path refid="maven.dependency.classpath"></path>
+                                    </classpath>
+                                </taskdef>
+                                <mapping destFile="target/servicemix.xsd" namespace="http://servicemix.org/config/1.0"
+                                    srcdir="src/main/java" metaInfDir="target/generated/"/>
+                            </tasks>
+                        </configuration>
+                        <goals>
+                            <goal>run</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-surefire-plugin</artifactId>
+                <configuration>
+                    <includes>
+                        <include>**/*Test*</include>
+                    </includes>
+                    <excludes>
+                        <!--  exclude abstract tests -->
+                        <exclude>**/Abstract*Test.*</exclude>
+
+                        <!-- fails on some platforms due to ActiveCluster issue -->
+                        <exclude>**/ClusterFlow*.*</exclude>
+                        <exclude>**/JmsFlow*.*</exclude>
+
+                        <exclude>**/JcaFlowPersistentTest.*</exclude>
+
+                        <!-- test cases hangs
+                        <exclude>**/SimpleClusterSendSyncTest.*</exclude>
+                        -->
+
+                        <!-- fails in some linux platform due to missing lib libXp.so.6 -->
+                        <exclude>**/ServiceMixComponentTest.*</exclude>
+                        <exclude>**/ExplodedComponentInstallationTest.*</exclude>
+                        <exclude>**/ComponentInstallationTest.*</exclude>
+                        <exclude>**/ComponentAssemblyInstallationTest.*</exclude>
+                        <exclude>**/DeploymentTest.*</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+
 </model>

Reply via email to