Automatically exclude test sources from main sources in compile-plugin
----------------------------------------------------------------------

                 Key: NPANDAY-418
                 URL: https://issues.apache.org/jira/browse/NPANDAY-418
             Project: NPanday
          Issue Type: Improvement
          Components: Maven Plugins
    Affects Versions: 1.3.1-incubating
            Reporter: Lars Corneliussen
             Fix For: 2.0


I'd like to run a configuration, where all test sources are automatically 
excluded from the main compilation.

Usually in .NET-Projects, Tests are in a separate assembly. NPanday supports 
having tests within the same Project, but then they have to be in a separate 
folder.

I'd like support for these two layouts:

{code:title=Layout one}
MyProj
  - Some.cs
  - More
    - Here.cs 
  Test
    - SomeTest.cs
    - More
      - HereTest.cs
{code}

{code:title=Layout two}
MyProj
  - Some.cs
  - SomeTest.cs
  - More
    - Here.cs
    - HereTest.cs 
{code}

In both cases it should be sufficient to tell NPanday how to find test 
fixtures. Then it can figure out that those are not to be included in the main 
artifact.

What do you think?

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to