Unable to make non-maven module since enable maven integration

Hi,

I'm currently trying to switch from Ant to Maven 2. I have already switching some modules, but not all the modules of the project i work in.

And now, i switch my PC, always with the same project, and when i try to make a non-maven module (Right click -> Make Module XXX), i'm getting an error :

Failed to create directory M:\Server\Build\builds\utils\JTheque Utils\classes\production


Effectively, this folder doesn't exist on this PC, but the module is not a maven module, why does IntelliJ Idea try to create this directory. This directory is only configured for Maven 2.

Is there a way to disable Maven 2 for some modules ? Or to temporarily disable Maven 2 ?

Thank you very much

2 comments
Comment actions Permalink

Hi,

I don't know much about Maven, but for regular module the compiler's output path is configured in Project Structure dialog / a module settings / Paths tab / Compiler output. I expect the "wrong" path is set up there for your module.

Alexander.

0
Comment actions Permalink

Hi,

Thank you for the answer, but no, the compiler's output path is correctly configured

Baptiste

0

Please sign in to leave a comment.