Use target-ide/ instead of target/ as output folder under M2E in Eclipse 78/47178/2
authorMichael Vorburger <vorburger@redhat.com>
Wed, 19 Oct 2016 23:55:54 +0000 (01:55 +0200)
committerRobert Varga <nite@hq.sk>
Mon, 7 Nov 2016 15:28:19 +0000 (15:28 +0000)
Change-Id: I884ce4854509fb4b474a86c82449e600b6f639ed
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
odlparent-lite/pom.xml

index f5f0897eb01d858afef924d2c7132f0adfacb7ef..63881eea2455c5db4632d0446798daa8140fd32e 100644 (file)
   </build>
 
   <profiles>
+    <profile>
+      <id>ide</id>
+      <activation>
+        <property>
+          <name>m2e.version</name>
+        </property>
+      </activation>
+      <build>
+        <!-- Put the IDE's build output in a folder other than target, so that IDE builds don't interact with Maven builds -->
+        <directory>target-ide</directory>
+      </build>
+    </profile>
     <profile>
         <!-- http://blog2.vorburger.ch/2016/06/improve-maven-build-speed-with-q.html
              q = http://memory-alpha.wikia.com/wiki/Q ;)