Incremental builld not working same as maven
Answered
Hello,
I am working on a legacy project where a build with maven takes 12 - 15 minutes.
I created the Idea project by importing the pom.
Of course the build works the same when I launch it from Idea under "Maven Projects", but also takes 12 - 15 minutes, of course.
Now the frustrating thing is that the incremental "Build/Build project" ist super-fast, and ALMOST works the same. It just "forgets" to replace the defined variables like ${project.version} and other things under <properties>.
Can I somehow make the Idea-build completely identical to the maven-build?
That would also have the advantage that I could deploy and debug locally on the application server.
Kai
Please sign in to leave a comment.
IntelliJ IDEA compiler cannot be 100% identical to Maven. We add support for the Maven features requested by the users. Your request is welcome at https://youtrack.jetbrains.com/issues/IDEA.
It would be specific to the plug-in and the configuration you are using for resource filtering, see https://youtrack.jetbrains.com/issue/IDEA-177244 for the similar request.