Bring some reliability in the eclipse and maven mixed builds 79/2679/1
authorGiovanni Meo <gmeo@cisco.com>
Tue, 12 Nov 2013 19:00:04 +0000 (20:00 +0100)
committerGiovanni Meo <gmeo@cisco.com>
Tue, 12 Nov 2013 19:00:04 +0000 (20:00 +0100)
Please look at:
https://lists.opendaylight.org/pipermail/controller-dev/2013-November/002083.html
for explanation of the issue and fix provided by:
http://stackoverflow.com/questions/10208313/eclipse-auto-build-output-interacts-with-maven-command-line-build-output

Change-Id: Ie91105f5efb9448f3dff4136d9de046069ac191f
Signed-off-by: Giovanni Meo <gmeo@cisco.com>
.gitignore
opendaylight/commons/opendaylight/pom.xml
opendaylight/md-sal/pom.xml

index 1f0563a..bb3e26f 100644 (file)
@@ -8,6 +8,7 @@ repository
 workspace
 *~
 target
+target-ide
 .classpath
 .project
 .settings
index 2a81806..8feb160 100644 (file)
   </pluginRepositories>
 
   <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>
       <id>viewbuild</id>
       <activation>
       </plugins>
     </pluginManagement>
   </build>
-
-  <dependencies>
-  </dependencies>
 </project>
index 1ff7f2d..99ce493 100644 (file)
                 <module>test</module>
             </modules>
         </profile>
+        <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>
     </profiles>
 
     <properties>

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.