[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.technology.iam] Re: Apparent Maven / JUnit clash in eclipse

Abel Muiño wrote:
Maven likes to compile test code to /target/test-classes

This isnt part of the default Build Path.

I have created a new maven project by using the wizard and checking the "Create a simple maven project" checkbox.

In this project, src/main/java has its output folder set to default (target/classes) and src/test/java has its output folder correctly set to target/test-classes.

Ok, I've learned something new. I didnt actually know that per-source-folder ouput-folders was even possible.


Now, Im my project, "Allow output folders for source folders" was not checked. But when I delete and re-import the project, it behaves correctly as you described.

So my problem probably lay between my keyboard and chair ;)

-Ben