I'm copying and pasting this from another email thread "avoid
generation of TEST*.xml files"...

<copy>
Taking a look at the configuration documentation at:

      http://maven.apache.org/plugins/maven-surefire-plugin/test-mojo.html

it looks like there are two options that may be of interest:

reportFormat (Optional)  Selects the formatting for the test report to be
generated. Can be set as brief, plain, or xml.

and

useFile (Optional) Option to generate a file test report or just output the
test report to the console.
</copy>


Perhaps that is helpful?

Wayne


On 3/16/06, Sergei Dubov <[EMAIL PROTECTED]> wrote:
> No, there is no real reason. After some thinking, I actually like the
> Maven way.
>
> How about seeing the reason why the test failed as opposed to just
> <<<FAILURE>>>
>
> -S.
>
> Alexandre Poitras wrote:
> > If you really need to not duplicate it , you can point your resources
> > directory on your java directory. Unless you really need to (because
> > of some tools), I suggest you to go the standard way and duplicate
> > your directory structure, it will make your life easier :)
> >
> > On 3/16/06, Sergei Dubov <[EMAIL PROTECTED]> wrote:
> >
> >>Thanks, Wayne.
> >>
> >>Too bad that the directory structure will have to be duplicated as well.
> >>But I am going to push ahead. :-)
> >>
> >>Also, is there a simple way to show on the console why your test fails
> >>as opposed to seeing just <<<FAILURE>>>
> >>
> >>-Serge
> >>
> >>Wayne Fay wrote:
> >>
> >>>Put them in src/main/resources instead of src/main/java.
> >>>
> >>>Wayne
> >>>
> >>>
> >>>On 3/16/06, Sergei Dubov <[EMAIL PROTECTED]> wrote:
> >>>
> >>>
> >>>>Hi guys,
> >>>>
> >>>>How do I make Maven 2 copy '**/*.hbm.xml" Hibernate files from
> >>>>src/main/java/** to target/classes on running 'mvn compile'?
> >>>>
> >>>>Thanks!
> >>>>
> >>>>Serge
> >>>>
> >>>>---------------------------------------------------------------------
> >>>>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>>>For additional commands, e-mail: [EMAIL PROTECTED]
> >>>>
> >>>>
> >>
> >>---------------------------------------------------------------------
> >>To unsubscribe, e-mail: [EMAIL PROTECTED]
> >>For additional commands, e-mail: [EMAIL PROTECTED]
> >>
> >>
> >
> >
> >
> > --
> > Alexandre Poitras
> > Québec, Canada
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>

Reply via email to