Skip to content
Browse files

Fixing checkstyle plugin metadata for sub modules

git-svn-id: https://svn.apache.org/repos/asf/httpcomponents/httpcore/trunk@1425308 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information...
1 parent 398aeb7 commit bb205a4320d7caf2e93d9087f492f4e6ba2b2105 @ok2c ok2c committed
Showing with 21 additions and 1 deletion.
  1. +9 −0 httpcore-ab/pom.xml
  2. +9 −0 httpcore-nio/pom.xml
  3. +1 −0 httpcore/pom.xml
  4. +2 −1 pom.xml
View
9 httpcore-ab/pom.xml
@@ -40,6 +40,15 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <!-- default compiler and surefire plugin settings for "java" profiles -->
+ <httpcore.compiler.fork>false</httpcore.compiler.fork>
+ <httpcore.compiler.compilerVersion />
+ <httpcore.compiler.javac />
+ <httpcore.surefire.java />
+ <main.basedir>${project.parent.basedir}</main.basedir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
View
9 httpcore-nio/pom.xml
@@ -41,6 +41,15 @@
<url>http://hc.apache.org/httpcomponents-core-ga</url>
<packaging>jar</packaging>
+ <properties>
+ <!-- default compiler and surefire plugin settings for "java" profiles -->
+ <httpcore.compiler.fork>false</httpcore.compiler.fork>
+ <httpcore.compiler.compilerVersion />
+ <httpcore.compiler.javac />
+ <httpcore.surefire.java />
+ <main.basedir>${project.parent.basedir}</main.basedir>
+ </properties>
+
<dependencies>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
View
1 httpcore/pom.xml
@@ -47,6 +47,7 @@
<httpcore.compiler.compilerVersion />
<httpcore.compiler.javac />
<httpcore.surefire.java />
+ <main.basedir>${project.parent.basedir}</main.basedir>
</properties>
<dependencies>
View
3 pom.xml
@@ -76,6 +76,7 @@
<mockito.version>1.8.5</mockito.version>
<commons-logging.version>1.1.1</commons-logging.version>
<api.comparison.version>4.2</api.comparison.version>
+ <main.basedir>${project.basedir}</main.basedir>
</properties>
<dependencyManagement>
@@ -293,7 +294,7 @@
<id>validate</id>
<phase>validate</phase>
<configuration>
- <configLocation>${basedir}/hc-checkstyle.xml</configLocation>
+ <configLocation>${main.basedir}/hc-checkstyle.xml</configLocation>
<consoleOutput>true</consoleOutput>
<failsOnError>true</failsOnError>
<linkXRef>false</linkXRef>

0 comments on commit bb205a4

Please sign in to comment.
Something went wrong with that request. Please try again.