Idea logo

The IntelliJ IDEA Blog

The Capable & Ergonomic Java IDE by JetBrains


New Maven Resource Compiler

IntelliJ IDEA now uses a special compiler to process Maven resources as specified in the pom file, with includes/excludes and filters.

Resource folders are not set as Source Folders anymore because they do not fit in the IntelliJ IDEA model.

To use the new functionality please either manually reset all your resource folders in the Project Structure dialog or re-import the project from scratch. Although you may skip this step, the native IntelliJ IDEA compiler will interfere with the Maven Compiler and copy unnecessary files or rewrite already processed ones from these folders.

Comments below can no longer be edited.

4 Responses to New Maven Resource Compiler

  1. Avatar

    Tommy Winther says:

    March 17, 2009

    This sounds interesting. Is this supported in IDEA 8.1 or the Maia EAP?

  2. Avatar

    Anton.Makeev says:

    March 17, 2009

    I’ll integrate it in the 8.1 soon, should not be a problem.

  3. Avatar

    Sergey Podgurskiy says:

    May 12, 2010

    Hello Anton.

    I spent a lot of time to configure it and this feature still not working for me. Could you please point me to some example or document with explanation?
    I use IDEA 9.0.2

  4. Avatar

    Anton Makeev says:

    May 21, 2010

    What exactly doesn’t work? Can you create a youtrack issue? (

Discover more