Dear members,

Concerning to the original problem, I think the solution could come from:

<build>
    <plugins>
      <plugin>
        <groupId>org.apache.maven.plugins</groupId>
        <artifactId>maven-surefire-plugin</artifactId>
        <configuration>
          <forkMode>once</forkMode>
          <systemProperties>
            <property>
              <name>java.class.path</name>
              <value>
                ${maven.test.classpath};${path.separator}
              </value>
            </property>
          </systemProperties>
        </configuration>
      </plugin>      
    </plugins>

Now when I run my test, in effect the property java.class.path was changed, I 
obtain:


-------------------------------------------------------
 T E S T S
-------------------------------------------------------
Running com.ceb2b2000.commons.io.TestFileUtils
System.getProperty("java.class.path")=
maven.test.classpath;.

So, it understand the property: ${path.separator} but it doesn't understand 
maven.test.classpath.

¿By the way, wher can I find the list of available maven properties?

So, the problem is almoust solved, I need only to tell maven it obtain the 
value of maven.test..classpath.

Thanks in advance,

David

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to