This may be an obvious question to those with more experience.  I have
looked through all the docs however, and
am unable to resolve it, and would appreciate any help/information.

I am using maven2 and I am trying to get the cobertura plug-in to
work.  I am able to run cobertura under ant, but not with maven2.

Our build directory uses maven modules.  It's structure is like this:

project root
|-- development
|     | -- src
|     |     | -- main
|     |     |     | -- java (source code folder)
|     |     |     | -- resources
|     |     |     | -- webapp (Web application sources)
|     |     | -- test
|     |     |     | -- java (junit source folder)
|     |     | -- site
|     | -- pom.xml
|
| -- generation
|     | -- src
|     |     | -- main
|     |     |     | -- java (here come the generated sources)
|     |     | -- site
|     | -- pom.xml
|     | -- target (generated module target)
| -- target (development module target)
| -- pom.xml

The main directory has no classes.  The junit tests are for both modules.
Test classes refers to development module so there is no chance to put them
in
generation module.

How to setup correctly plug-in to use multiple source folders?
If it possible some simple examples pls.

Does someone have an idea please

thanks in advance

Valeri

Reply via email to