Make in a Maven project disregards <build><directory>
Greetings -- I'm using a property in my pom.xml to have separate build directories around for different versions of Scala. Looks like,
<profiles>
<profile>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<id>Scala-2.7.5</id>
<properties>
<scala.version>2.7.5</scala.version>
</properties>
</profile>
<profile>
<id>Scala-2.8.0-SNAPSHOT</id>
<properties>
<scala.version>2.8.0-SNAPSHOT</scala.version>
</properties>
</profile>
</profiles>
...
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<directory>target-${scala.version}</directory>
Now plain Maven respects that and I only get builds in either target-2.7.5/ or target-2.8.0-SNAPSHOT.
However, IDEA's Make creates a plain target/ subdirectory. Any way to fix that?
Cheers,
Alexy
Please sign in to leave a comment.
Hi, Alexy,
Thanks for reporting, the fix will be available in the next 9.0 eap.
Anton Makeev