[mevenide-dev] [jira] Created: (MEVENIDE-613) NetBeans does not recognise Test Packages as a source directory

"David Rosell (JIRA)" <jira-yCVjj/[email protected]>
Newsgroups gmane.comp.jakarta.turbine.maven.mevenide.devel
Message-ID <10731859.1206179566122.JavaMail.haus-jira@codehaus01.managed.contegix.com>
NetBeans does not recognise Test Packages as a source directory
---------------------------------------------------------------

                 Key: MEVENIDE-613
                 URL: http://jira.codehaus.org/browse/MEVENIDE-613
             Project: mevenide
          Issue Type: Bug
          Components: mevenide2-netbeans
         Environment: NetBeans 6.0.1, NetBeans 6.1Beta
Using external Maven: apache-maven-2.0.8
jdk 1.6.0_04
            Reporter: David Rosell
            Assignee: Milos Kleint
            Priority: Minor


It is a major annoyance to have correct code marked as incorrect in NetBeans.

When checking out the apache-commons.csv project, NetBeans mark all the test classes as error.
NetBeans don't recognise the Test Package directory as a source directory. All classes in Test Package are reported as "Incorrect Package" - "Change package declaration to src.test.org.apache.commons.csv". (the correct package is "org.apache.commons.csv")

I believe it is this section in the pom that is missinterpreted:
  <build>
      <sourceDirectory>src/java</sourceDirectory>
      <testSourceDirectory>src/test</testSourceDirectory> 
  </build>

The project builds correctly and the tests run correctly.

To reproduce the problem - Check out the trunk from apache-commons-csv:
http://svn.apache.org/repos/asf/commons/sandbox/csv/trunk/

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.