[jbpm-commits] JBoss JBPM SVN: r1834 - in jbpm4/pvm/trunk: modules and 3 other directories.
do-not-reply at jboss.org
do-not-reply at jboss.org
Wed Aug 6 05:59:02 EDT 2008
Author: porcherg
Date: 2008-08-06 05:59:01 -0400 (Wed, 06 Aug 2008)
New Revision: 1834
Added:
jbpm4/pvm/trunk/modules/minimal/
jbpm4/pvm/trunk/modules/minimal/pom.xml
Modified:
jbpm4/pvm/trunk/modules/core/pom.xml
jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java
jbpm4/pvm/trunk/pom.xml
Log:
create a minimal module for the pvm without external dependencies. Check that basic features tests runs on this configuration. ( JBPM-1413 )
Modified: jbpm4/pvm/trunk/modules/core/pom.xml
===================================================================
--- jbpm4/pvm/trunk/modules/core/pom.xml 2008-08-06 09:16:01 UTC (rev 1833)
+++ jbpm4/pvm/trunk/modules/core/pom.xml 2008-08-06 09:59:01 UTC (rev 1834)
@@ -69,6 +69,7 @@
<dependency>
<groupId>com.cenqua.clover</groupId>
<artifactId>clover</artifactId>
+ <scope>test</scope>
</dependency>
<dependency>
@@ -79,6 +80,10 @@
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
+<!--
+ Not in scope test because org.jbpm.pvm.test.base package is in main source: see JBPM-1416
+ <scope>test</scope>
+-->
</dependency>
<dependency>
@@ -119,6 +124,7 @@
<dependency>
<groupId>cactus</groupId>
<artifactId>cactus</artifactId>
+ <scope>test</scope>
</dependency>
</dependencies>
@@ -144,6 +150,16 @@
</configuration>
</plugin>
<plugin>
+ <artifactId>maven-jar-plugin</artifactId>
+ <executions>
+ <execution>
+ <goals>
+ <goal>test-jar</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
<artifactId>maven-ear-plugin</artifactId>
<configuration>
<applicationXml>${basedir}/src/main/etc/ear/META-INF/application.xml</applicationXml>
Modified: jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java
===================================================================
--- jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java 2008-08-06 09:16:01 UTC (rev 1833)
+++ jbpm4/pvm/trunk/modules/core/src/test/java/org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java 2008-08-06 09:59:01 UTC (rev 1834)
@@ -22,13 +22,14 @@
package org.jbpm.pvm.api.basicfeatures;
import junit.framework.Test;
+import junit.framework.TestCase;
import junit.framework.TestSuite;
/**
* @author Tom Baeyens
*/
-public class BasicFeaturesTests {
+public class BasicFeaturesTests extends TestCase {
public static Test suite() {
TestSuite suite = new TestSuite("org.jbpm.pvm.api.basicfeatures");
Added: jbpm4/pvm/trunk/modules/minimal/pom.xml
===================================================================
--- jbpm4/pvm/trunk/modules/minimal/pom.xml (rev 0)
+++ jbpm4/pvm/trunk/modules/minimal/pom.xml 2008-08-06 09:59:01 UTC (rev 1834)
@@ -0,0 +1,172 @@
+<?xml version="1.0" encoding="UTF-8"?>
+
+<!-- ====================================================================== -->
+<!-- -->
+<!-- JBoss, the OpenSource J2EE webOS -->
+<!-- -->
+<!-- Distributable under LGPL license. -->
+<!-- See terms of license at http://www.gnu.org. -->
+<!-- -->
+<!-- ====================================================================== -->
+
+<!-- $Id$ -->
+
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+ <modelVersion>4.0.0</modelVersion>
+
+ <name>JBoss jBPM - PVM Minimal Dependencies</name>
+ <groupId>org.jboss.jbpm.pvm</groupId>
+ <artifactId>pvm-minimal</artifactId>
+ <packaging>pom</packaging>
+
+ <!-- Parent -->
+ <parent>
+ <groupId>org.jboss.jbpm.pvm</groupId>
+ <artifactId>pvm-parent</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ </parent>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.jboss.jbpm.pvm</groupId>
+ <artifactId>pvm</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <exclusions>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel-engine</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-j2ee</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.livetribe</groupId>
+ <artifactId>livetribe-jsr223</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ <dependency>
+ <groupId>org.jboss.jbpm.pvm</groupId>
+ <artifactId>pvm</artifactId>
+ <version>1.0.0-SNAPSHOT</version>
+ <classifier>tests</classifier>
+ <scope>test</scope>
+ <exclusions>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel-engine</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>juel</groupId>
+ <artifactId>juel-impl</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.hibernate</groupId>
+ <artifactId>hibernate</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.springframework</groupId>
+ <artifactId>spring</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>jboss</groupId>
+ <artifactId>jboss-j2ee</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>hsqldb</groupId>
+ <artifactId>hsqldb</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>javax.servlet</groupId>
+ <artifactId>servlet-api</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.jboss.seam</groupId>
+ <artifactId>jboss-seam</artifactId>
+ </exclusion>
+ <exclusion>
+ <groupId>org.livetribe</groupId>
+ <artifactId>livetribe-jsr223</artifactId>
+ </exclusion>
+ </exclusions>
+ </dependency>
+ </dependencies>
+
+ <build>
+ <testSourceDirectory>${basedir}/../core/src/test/java</testSourceDirectory>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-compiler-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals><goal>testCompile</goal></goals>
+ </execution>
+ </executions>
+ <configuration>
+ <testIncludes>
+ <include>org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java</include>
+ </testIncludes>
+ </configuration>
+ </plugin>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>test</phase>
+ <goals><goal>test</goal></goals>
+ </execution>
+ </executions>
+ <configuration>
+ <includes>
+ <include>org/jbpm/pvm/api/basicfeatures/BasicFeaturesTests.java</include>
+ </includes>
+ <testSourceDirectory>${basedir}/../core/src/test/java</testSourceDirectory>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+</project>
\ No newline at end of file
Property changes on: jbpm4/pvm/trunk/modules/minimal/pom.xml
___________________________________________________________________
Name: svn:keywords
+ Id
Modified: jbpm4/pvm/trunk/pom.xml
===================================================================
--- jbpm4/pvm/trunk/pom.xml 2008-08-06 09:16:01 UTC (rev 1833)
+++ jbpm4/pvm/trunk/pom.xml 2008-08-06 09:59:01 UTC (rev 1834)
@@ -31,6 +31,7 @@
<!-- ### MODULES ######################################################## -->
<modules>
<module>modules/core</module>
+ <module>modules/minimal</module>
</modules>
<!-- ### PROPERTIES ##################################################### -->
More information about the jbpm-commits
mailing list