Replace target/ by ${project.build.directory}/ to make target-ide/ possible
[controller.git] / opendaylight / commons / opendaylight / pom.xml
index 929a14abccaaf4159719354e9e606aec15fbbde0..45ceb6f7f4baf60b0fb83b772f7ae745021deba3 100644 (file)
     <clustering.stub.version>0.8.0-SNAPSHOT</clustering.stub.version>
     <clustering.test.version>0.8.0-SNAPSHOT</clustering.test.version>
     <commmons.northbound.version>0.8.0-SNAPSHOT</commmons.northbound.version>
-    <!-- Third Party Versions -->
-    <codahale.metrics.version>3.0.1</codahale.metrics.version>
 
-    <commons.checkstyle.version>0.4.0-SNAPSHOT</commons.checkstyle.version>
     <commons.httpclient.version>0.5.0-SNAPSHOT</commons.httpclient.version>
     <commons.logback_settings.version>0.4.0-SNAPSHOT</commons.logback_settings.version>
     <commons.opendaylight.commons.httpclient>0.5.0-SNAPSHOT</commons.opendaylight.commons.httpclient>
@@ -87,7 +84,7 @@
     <jdepend.maven.plugin.version>2.0-beta-2</jdepend.maven.plugin.version>
 
     <!-- Path prefix where we generate configuration subsystem bindings -->
-    <jmxGeneratorPath>target/generated-sources/config-binding</jmxGeneratorPath>
+    <jmxGeneratorPath>${project.build.directory}/generated-sources/config-binding</jmxGeneratorPath>
 
     <jolokia-bridge.version>0.4.0-SNAPSHOT</jolokia-bridge.version>
     <karaf.branding.version>1.8.0-SNAPSHOT</karaf.branding.version>
 
     <!-- Path prefix where we generate YANG Java Bindings. This really should be inherited
          from mdsal's binding-parent -->
-    <salGeneratorPath>target/generated-sources/mdsal-binding</salGeneratorPath>
+    <salGeneratorPath>${project.build.directory}/generated-sources/mdsal-binding</salGeneratorPath>
 
     <samples.loadbalancer>0.9.0-SNAPSHOT</samples.loadbalancer>
     <samples.loadbalancer.northbound.version>0.8.0-SNAPSHOT</samples.loadbalancer.northbound.version>
     <sonar-jacoco-listeners.version>2.4</sonar-jacoco-listeners.version>
     <sonar.java.coveragePlugin>jacoco</sonar.java.coveragePlugin>
     <sonar.language>java</sonar.language>
-    <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>
     <sonar.skippedModules>org.openflow.openflowj,net.sf.jung2,org.opendaylight.controller.protobuff.messages</sonar.skippedModules>
     <statistics.northbound.version>0.8.0-SNAPSHOT</statistics.northbound.version>
     <statisticsmanager.implementation.version>0.8.0-SNAPSHOT</statisticsmanager.implementation.version>
         <artifactId>sshd-core</artifactId>
         <version>0.14.0</version>
       </dependency>
-      <dependency>
-        <groupId>com.codahale.metrics</groupId>
-        <artifactId>metrics-core</artifactId>
-        <version>${codahale.metrics.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>com.codahale.metrics</groupId>
-        <artifactId>metrics-graphite</artifactId>
-        <version>${codahale.metrics.version}</version>
-      </dependency>
 
       <!-- 3rd party dependencies needed by config-->
       <dependency>
           <configuration>
             <aggregate>true</aggregate>
             <linkJavadoc>true</linkJavadoc>
-            <javadocDir>target/apidocs</javadocDir>
+            <javadocDir>${project.build.directory}/apidocs</javadocDir>
           </configuration>
         </plugin>
         <plugin>
       </plugins>
     </pluginManagement>
     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <configuration>
-          <failsOnError>true</failsOnError>
-          <configLocation>controller/checkstyle.xml</configLocation>
-          <consoleOutput>true</consoleOutput>
-          <includeTestSourceDirectory>true</includeTestSourceDirectory>
-          <sourceDirectory>${project.basedir}</sourceDirectory>
-          <includes>**\/*.java,**\/*.xml,**\/*.ini,**\/*.sh,**\/*.bat</includes>
-          <excludes>**\/target\/,**\/bin\/,**\/target-ide\/,**\/${jmxGeneratorPath}\/,**\/${salGeneratorPath}\/,**\/protobuff\/,**\/src\/main\/resources\/archetype-resources\/**\/*.java</excludes>
-        </configuration>
-        <dependencies>
-          <dependency>
-            <groupId>org.opendaylight.controller</groupId>
-            <artifactId>checkstyle</artifactId>
-            <version>0.4.0-SNAPSHOT</version>
-          </dependency>
-        </dependencies>
-        <executions>
-          <execution>
-            <goals>
-              <goal>check</goal>
-            </goals>
-            <phase>process-sources</phase>
-          </execution>
-        </executions>
-      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-enforcer-plugin</artifactId>
     <outputDirectory>${project.build.directory}/site</outputDirectory>
     <excludeDefaults>true</excludeDefaults>
     <plugins>
-      <plugin>
-        <groupId>org.apache.maven.plugins</groupId>
-        <artifactId>maven-checkstyle-plugin</artifactId>
-        <version>${checkstyle.version}</version>
-      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-javadoc-plugin</artifactId>