Replace target/ by ${project.build.directory}/ to make target-ide/ possible 85/47185/2
authorMichael Vorburger <vorburger@redhat.com>
Thu, 20 Oct 2016 00:20:48 +0000 (02:20 +0200)
committerThanh Ha <thanh.ha@linuxfoundation.org>
Thu, 20 Oct 2016 02:07:24 +0000 (02:07 +0000)
Change-Id: Ia4f9508c3db4aac94f00b861cfef0669b7c15ef7
Signed-off-by: Michael Vorburger <vorburger@redhat.com>
odlparent/pom.xml

index 6797913f60f25123e20e9a16c30036336fa02c1b..8e81309154af09c2865264af5b70b97fadd8bf0c 100644 (file)
     <!-- Default Sonar configuration -->
     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
     <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
-    <sonar.jacoco.reportPath>target/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
-    <sonar.jacoco.itReportPath>target/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
+    <sonar.jacoco.reportPath>${project.build.directory}/code-coverage/jacoco.exec</sonar.jacoco.reportPath>
+    <sonar.jacoco.itReportPath>${project.build.directory}/code-coverage/jacoco-it.exec</sonar.jacoco.itReportPath>
     <!-- Note: This list should match jacoco-maven-plugin's exclusion list below -->
     <sonar.exclusions>**/gen/**,**/generated-sources/**,**/yang-gen**,**/pax/**</sonar.exclusions>
 
                               Hence people introducing new generated sources have to include
                               PMD config too.
                    -->
-                  <excludeRoot>${basedir}/target/generated-sources</excludeRoot>
+                  <excludeRoot>${project.build.directory}/generated-sources</excludeRoot>
                 </excludeRoots>
                 <linkXRef>false</linkXRef>
               </configuration>
             <configuration>
               <target>
                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
-                <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
-                      todir="${basedir}/target/generated-resources/org/opendaylight/blueprint"
+                <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
+                      todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
                       failonerror="false" quiet="true" />
               </target>
             </configuration>
             <configuration>
               <target>
                 <echo>Moving autowire.xml to org/opendaylight/blueprint</echo>
-                <move file="${basedir}/target/generated-resources/OSGI-INF/blueprint/autowire.xml"
-                      todir="${basedir}/target/generated-resources/org/opendaylight/blueprint"
+                <move file="${project.build.directory}/generated-resources/OSGI-INF/blueprint/autowire.xml"
+                      todir="${project.build.directory}/generated-resources/org/opendaylight/blueprint"
                       failonerror="false" quiet="true" />
               </target>
             </configuration>