mirror of https://github.com/apache/poi.git
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
This commit is contained in:
parent
05a6cf3263
commit
585d77c9cf
|
@ -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'
|
||||
}
|
||||
|
|
|
@ -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"/>
|
||||
|
|
|
@ -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…
Reference in New Issue