This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 200524 - Management of Multiple Test-Source Directory for Maven is not available
Summary: Management of Multiple Test-Source Directory for Maven is not available
Status: RESOLVED DUPLICATE of bug 187595
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0.1
Hardware: All All
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-29 15:48 UTC by brotherjohn1234
Modified: 2011-08-01 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Complete Project (5.17 KB, application/x-java-archive)
2011-07-29 15:50 UTC, brotherjohn1234
Details

Note You need to log in before you can comment on or make changes to this bug.
Description brotherjohn1234 2011-07-29 15:48:31 UTC
An additional source-directory is recogniced by netbeans - but not and additional test-directory.

see http://mojo.codehaus.org/build-helper-maven-plugin/usage.html

<build>
    <plugins>
        <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>build-helper-maven-plugin</artifactId>
            <executions>
                <execution>
                    <id>add-source</id>
                    <phase>generate-sources</phase>
                    <goals>
                        <goal>add-source</goal>
                    </goals>
                    <configuration>
                        <sources>
                            <source>src/main/jdk7</source>
                        </sources>
                    </configuration>
                </execution>
                <execution>
                    <id>add-test-source</id>
                    <phase>generate-test-sources</phase>
                    <goals>
                        <goal>add-test-source</goal>
                    </goals>
                    <configuration>
                        <sources>
                            <source>src/test/jdk7</source>
                        </sources>
                    </configuration>
                </execution>
            </executions>
        </plugin>
    </plugins>
</build>

Product Version = NetBeans IDE 7.0.1 RC1 (Build 201106222100)
Comment 1 brotherjohn1234 2011-07-29 15:50:16 UTC
added Test-Project
Comment 2 brotherjohn1234 2011-07-29 15:50:22 UTC
Created attachment 109700 [details]
Complete Project
Comment 3 Jesse Glick 2011-08-01 13:09:35 UTC
Already fixed. Since the Maven support is under active development, you are encouraged to check development builds before filing bug reports.

*** This bug has been marked as a duplicate of bug 187595 ***