Browse Source

Add jmh to Sonar-Maven build as well, add comment why we need to stick to 1.15 for now

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1796035 13f79535-47bb-0310-9956-ffa450edef68
tags/REL_3_17_BETA1
Dominik Stadler 7 years ago
parent
commit
585d77c9cf
3 changed files with 16 additions and 0 deletions
  1. 1
    0
      build.gradle
  2. 1
    0
      build.xml
  3. 14
    0
      sonar/ooxml/pom.xml

+ 1
- 0
build.gradle View File

@@ -210,6 +210,7 @@ project('ooxml') {
testCompile 'junit:junit:4.12'
testCompile project(path: ':main', configuration: 'tests')
// Keep using 1.15 until we switch to Java 7
testCompile 'org.openjdk.jmh:jmh-core:1.15'
testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.15'
}

+ 1
- 0
build.xml View File

@@ -163,6 +163,7 @@ under the License.
<property name="main.log4j.url" value="${repository.m2}/maven2/log4j/log4j/1.2.17/log4j-1.2.17.jar"/>
<property name="main.junit.jar" location="${main.lib}/junit-4.12.jar"/>
<property name="main.junit.url" value="${repository.m2}/maven2/junit/junit/4.12/junit-4.12.jar"/>
<!-- Keep using 1.15 until we switch to Java 7 -->
<property name="main.jmh.jar" location="${main.lib}/jmh-core-1.15.jar"/>
<property name="main.jmh.url" value="${repository.m2}/maven2/org/openjdk/jmh/jmh-core/1.15/jmh-core-1.15.jar"/>
<property name="main.jmhAnnotation.jar" location="${main.lib}/jmh-generator-annprocess-1.15.jar"/>

+ 14
- 0
sonar/ooxml/pom.xml View File

@@ -161,5 +161,19 @@
<artifactId>junit</artifactId>
<version>${junit.version}</version>
</dependency>

<!-- Keep using 1.15 until we switch to Java 7 -->
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-core</artifactId>
<version>1.15</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.openjdk.jmh</groupId>
<artifactId>jmh-generator-annprocess</artifactId>
<version>1.15</version>
<scope>test</scope>
</dependency>
</dependencies>
</project>

Loading…
Cancel
Save