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 198363 - testIncludes is not used
Summary: testIncludes is not used
Status: RESOLVED DUPLICATE of bug 99588
Alias: None
Product: projects
Classification: Unclassified
Component: Maven (show other bugs)
Version: 7.0
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jesse Glick
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-05-05 22:36 UTC by jstiepel
Modified: 2011-05-06 11:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description jstiepel 2011-05-05 22:36:30 UTC
We use a project pom.xml which includes only some TestClasses like this one:

		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<configuration>
					<testIncludes>
						<testInclude>test/persistence/jpatest/**/*.java</testInclude>
                                        </testIncludes>
				</configuration>
			</plugin>
		</plugins>

It works fine with eclipse and maven CLI, but Netbeans tries to compile all .java files inside test/ and does not respect the <testIncludes> tag from maven-compiler-plugin.
Comment 1 Jesse Glick 2011-05-06 11:29:55 UTC

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