maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Jensen (JIRA)" <>
Subject [jira] Commented: (MPTEST-49) test:test does not allow multiple source directories
Date Fri, 14 Apr 2006 20:59:48 GMT
    [ ] 

Jeff Jensen commented on MPTEST-49:

Fantastic find and fix.

Is this published in a snapshot?  The latest 1.8-SNAPSHOT I find is on
and has a date of: 26-Mar-2006 11:42, which appears after the fix date.

Using that published snapshot, I still have this problem.

Am I missing a repo where the current snapshot is published?  (I thought the core plugins
were auto-snapshot-ted?)  I greatly prefer using the published snapshots over build-my-own
for the impact on the team...

> test:test does not allow multiple source directories
> ----------------------------------------------------
>          Key: MPTEST-49
>          URL:
>      Project: maven-test-plugin
>         Type: Bug

>     Reporter: Nick Matthews
>     Assignee: Lukas Theussl
>     Priority: Critical
>      Fix For: 1.8

> Our project is set up as follows:
> src/main/java
> src/main/resources
> src/tests/java
> src/tests/resources
> Some of the files in src/tests/resources are xml files which are used to generate JUnit
source files. These are generated into 
> target/testutil
> This value is set in our properties file as
> maven.clienttester.src.dir = ${}/testutil
> <ant:path id="testutil.src.dir" location="${maven.clienttester.src.dir}"/>
> <maven:addPath id="maven.test.compile.src.set" id="testutil.src.dir"/>
> Now, calling the test:compile goal will compile the source files from target/testutil
into target/test-classes
> This is good.
> However, test:test doesn't attempt to run any of these test files. test:test only runs
the files located in src/tests/java, as defined in my project.xml file.
> This is not so good. Since I have source files for everything, I would prefer not to
use property. test:test should honour the maven.test.compile.src.set
variable, the same as test:compile.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:

View raw message