summaryrefslogtreecommitdiffstats
path: root/bom
Commit message (Expand)AuthorAgeFilesLines
* Update to 8.12-snapshot (#11995)Zhe Sun2020-05-131-1/+1
* Update to 8.11 snapshot (#11874)Zhe Sun2020-01-161-1/+1
* Update context menu addon version (#11735)Zhe Sun2019-10-021-1/+1
* Update Spring addon to 3.2.1 (#11670)Zhe Sun2019-07-301-1/+1
* Update to 8.10-SNAPSHOT (#11657)Zhe Sun2019-07-291-1/+1
* Use https for Maven repositories (#11668)Stéphane Nicoll2019-07-291-1/+1
* Update spring addon to 3.2.0 (#11610)Zhe Sun2019-06-071-1/+1
* Update to 8.9 (#11535)Sun Zhe2019-04-181-1/+1
* Update snapshot to 8.8-snapshot (#11397)Sun Zhe2018-12-281-1/+1
* Update context-menu version (#11313)Sun Zhe2018-11-141-1/+1
* Update master to 8.7-SNAPSHOT (#11208)Sun Zhe2018-09-271-1/+1
* Upgrading Vaadin Spring Add-on to 3.1.1 (#11158)Mehdi Javan2018-09-031-1/+1
* Advance spring addon version (#11063)Ilia Motornyi2018-07-181-1/+1
* Upgrade ContextMenu version in BOM (#11065)Teemu Suo-Anttila2018-07-181-1/+1
* Update TestBench version to 5.2.0 (#11058)Guille2018-07-171-1/+1
* Update project version to 8.6-SNAPSHOT (#11011)Mehdi Javan2018-06-291-1/+1
* Upgrade TestBench version to 5.2 (#11005)Teemu Suo-Anttila2018-06-281-1/+1
* Update CDI version (#10983)Teemu Suo-Anttila2018-06-151-1/+1
* Update Spring version (#10971)Teemu Suo-Anttila2018-06-071-1/+1
* Use new TestBench and ReferenceNameGenerator (#10963)Teemu Suo-Anttila2018-06-051-1/+1
* Update snapshot version to 8.5 (#10818)Teemu Suo-Anttila2018-04-121-1/+1
* Upgrade minor version in the project to 8.4 (#10520)Teemu Suo-Anttila2018-01-241-1/+1
* Use Spring and CDI 3.0.0 (#10550)Teemu Suo-Anttila2018-01-191-2/+2
* Update Spring and CDI versions in BOM (#10530)Teemu Suo-Anttila2018-01-121-2/+2
* Upgrade Vaadin CDI version to 3.0.0.alpha2 (#10226)Teemu Suo-Anttila2017-12-291-1/+1
* Remove workarounds from Spring integration test (#10430)Teemu Suo-Anttila2017-12-291-1/+1
* Update to TestBench 5.1.1 (#10391)Guille2017-11-291-1/+1
* Update version number to 8.3-SNAPSHOT (#10348)Teemu Suo-Anttila2017-11-221-1/+1
* Update testbench version (#10336)Guille2017-11-201-1/+1
* Remove redundant versions in POMs (#9990)Ahmed Ashour2017-09-141-0/+1
* Update version to 8.2-SNAPSHOT (#9946)Teemu Suo-Anttila2017-09-081-1/+1
* Snapshot version update to 8.1 (#9023)Ilia Motornyi2017-04-051-1/+1
* Update Vaadin Spring to 2.0.1 in BOM (#8963)Pekka Hyvönen2017-03-281-1/+1
* Add prerelease profile and remove inherited plug-inHenri Sara2017-02-281-18/+0
* Update vaadin-parent version to 1.1.0Henri Sara2017-02-281-1/+1
* Update BOM for 8.0.0, Add context-menu to BOM (#8599)Aleksi Hietanen2017-02-171-3/+9
* Change dependency from TestBench meta package to TestBench core (#8603)Artur2017-02-171-2/+2
* Use TestBench version 5.0.0.beta5 (#8557)Henri Sara2017-02-141-1/+1
* Include Framework Element API for TestBench in the project (#8014)Artur2016-12-221-0/+5
* Add CDI dependency version to vaadin-bom (#8020)Teemu Suo-Anttila2016-12-181-0/+6
* Update to TB 5.0.0.alpha2, add to BOM (#8009)Pekka Hyvönen2016-12-151-1/+6
* Add Vaadin Spring dependency version to BOM (#112)Teemu Suo-Anttila2016-12-141-0/+32
* Remove vaadin-widgets module (#7960)Teemu Suo-Anttila2016-12-131-5/+0
* Fix bad pom.xml syntax introduced in previous commit8.0.0.alpha5Pekka Hyvönen2016-10-211-16/+18
* Add correct release profile to bomPekka Hyvönen2016-10-211-0/+16
* Add missing groupId to bom/pom.xmlPekka Hyvönen2016-10-201-0/+1
* Add vaadin-all as parent for bomPekka Hyvönen2016-10-201-1/+5
* Fix root dependencies from leaking to BOMPekka Hyvönen2016-10-181-5/+1
* Move all themes except Valo into a new compatibility-themes packageAleksi Hietanen2016-10-131-0/+5
* Include compatibility packages in bomArtur Signell2016-08-221-0/+20
an class="n">url "https://plugins.gradle.org/m2/" } } dependencies { classpath 'me.champeau.gradle:japicmp-gradle-plugin:0.1.2' // 2.x requires Gradle >=4 classpath "org.sonarsource.scanner.gradle:sonarqube-gradle-plugin:2.5" } } repositories { mavenCentral() } // Only add the plugin for Sonar if enabled if (project.hasProperty('enableSonar')) { println 'Enabling Sonar support' apply plugin: "org.sonarqube" } // For help converting an Ant build to a Gradle build, see // https://docs.gradle.org/current/userguide/ant.html configurations { antLibs } dependencies { antLibs("junit:junit:4.12") antLibs("org.apache.ant:ant-junit:1.10.4") antLibs("org.apache.ant:ant-junit4:1.10.4") } ant.taskdef(name: "junit", classname: "org.apache.tools.ant.taskdefs.optional.junit.JUnitTask", classpath: configurations.antLibs.asPath) ant.importBuild 'build.xml' /** Define properties for all projects, including this one */ allprojects { apply plugin: 'eclipse' task wrapper(type: Wrapper) { gradleVersion = '4.6' } task adjustWrapperPropertiesFile { doLast { ant.replaceregexp(match:'^#.*', replace:'', flags:'g', byline:true) { fileset(dir: project.projectDir, includes: 'gradle/wrapper/gradle-wrapper.properties') } new File(project.projectDir, 'gradle/wrapper/gradle-wrapper.properties').with { it.text = it.readLines().findAll { it }.sort().join('\n') } ant.fixcrlf(file: 'gradle/wrapper/gradle-wrapper.properties', eol: 'lf') } } wrapper.finalizedBy adjustWrapperPropertiesFile } /** Define things that are only necessary in sub-projects, but not in the master-project itself */ subprojects { //Put instructions for each sub project, but not the master apply plugin: 'java' apply plugin: 'jacoco' // See https://github.com/melix/japicmp-gradle-plugin apply plugin: 'me.champeau.gradle.japicmp' version = '4.1.0-SNAPSHOT' ext { japicmpversion = '4.0.0' } tasks.withType(JavaCompile) { options.encoding = 'UTF-8' } sourceCompatibility = 1.8 repositories { mavenCentral() } jar { manifest { attributes 'Implementation-Title': 'Apache POI', 'Implementation-Version': version } } test { // Exclude some tests that are not actually tests or do not run cleanly on purpose exclude '**/BaseTestBorderStyle.class' exclude '**/BaseTestCellUtil.class' exclude '**/TestUnfixedBugs.class' exclude '**/TestOneFile.class' // Exclude Test Suites exclude '**/All*Tests.class' exclude '**/HSSFTests.class' // set heap size for the test JVM(s) minHeapSize = "128m" maxHeapSize = "768m" // Specifying the local via system properties did not work, so we set them this way jvmArgs '-Duser.language=en -Duser.country=US' // show standard out and standard error of the test JVM(s) on the console //testLogging.showStandardStreams = true // http://forums.gradle.org/gradle/topics/jacoco_related_failure_in_multiproject_build systemProperties['user.dir'] = workingDir systemProperties['POI.testdata.path'] = '../../test-data' // this is necessary for JDK 9+ to keep formatting dates the same way as in previous JDK-versions systemProperties['java.locale.providers'] = 'JRE,CLDR' } jacoco { toolVersion = '0.8.2' } // ensure the build-dir exists projectDir.mkdirs() if (project.hasProperty('enableSonar')) { sonarqube { properties { // as we currently use build/<module>/ as project-basedir, we need to tell Sonar to use // the root-folder as "basedir" for the projects property "sonar.projectBaseDir", "$projectDir/../.." } } } task(japicmp, type: me.champeau.gradle.ArtifactJapicmpTask, dependsOn: jar) { to = jar.archivePath onlyModified = true onlyBinaryIncompatibleModified = true failOnModification = false txtOutputFile = file("$buildDir/reports/japi.txt") htmlOutputFile = file("$buildDir/reports/japi.html") } } project('main') { sourceSets.main.java.srcDirs = ['../../src/java'] sourceSets.main.resources.srcDirs = ['../../src/resources/main'] sourceSets.test.java.srcDirs = ['../../src/testcases'] dependencies { compile 'commons-codec:commons-codec:1.11' compile 'commons-logging:commons-logging:1.2' compile 'org.apache.commons:commons-collections4:4.2' compile 'org.apache.commons:commons-math3:3.6.1' compile 'javax.xml.bind:jaxb-api:2.3.0' compile 'com.sun.xml.bind:jaxb-impl:2.3.0.1' compile 'com.sun.xml.bind:jaxb-core:2.3.0.1' compile 'javax.activation:activation:1.1.1' testCompile 'junit:junit:4.12' testCompile 'org.reflections:reflections:0.9.11' } jar { manifest { attributes 'Automatic-Module-Name': 'org.apache.poi.main' } } // Create a separate jar for test-code to depend on it in other projects // See http://stackoverflow.com/questions/5144325/gradle-test-dependency task testJar(type: Jar, dependsOn: testClasses) { baseName = "test-${project.archivesBaseName}" from sourceSets.test.output } configurations { tests } artifacts { tests testJar } japicmp.baseline = 'org.apache.poi:poi:' + japicmpversion + '@jar' } project('ooxml') { sourceSets.main.java.srcDirs = ['../../src/ooxml/java'] sourceSets.main.resources.srcDirs = ['../../src/ooxml/resources', '../../src/resources/ooxml'] sourceSets.test.java.srcDirs = ['../../src/ooxml/testcases'] // for now import the ant-task for building the jars from build.xml // we need to rename the tasks as e.g. task "jar" conflicts with :ooxml:jar ant.importBuild('../../build.xml') { antTargetName -> 'ant-' + antTargetName } compileJava.dependsOn 'ant-compile-ooxml-xsds' dependencies { compile 'org.apache.xmlbeans:xmlbeans:3.0.2' compile 'org.apache.commons:commons-collections4:4.2' compile 'org.apache.commons:commons-math3:3.6.1' compile 'org.apache.commons:commons-compress:1.18' compile 'org.apache.santuario:xmlsec:2.1.0' compile 'org.bouncycastle:bcpkix-jdk15on:1.60' compile 'com.github.virtuald:curvesapi:1.05' // compile only, don't add it to our dist as it blows up the size compile 'org.apache.xmlgraphics:batik-all:1.10' compile 'xml-apis:xml-apis-ext:1.3.04' compile 'org.apache.xmlgraphics:xmlgraphics-commons:2.3' // for ooxml-lite, should we move this somewhere else? compile 'junit:junit:4.12' compile project(':main') compile project(':scratchpad') // TODO: get rid of this dependency! compile files('../../ooxml-lib/ooxml-schemas-1.4.jar') compile files('../../ooxml-lib/ooxml-security-1.1.jar') testCompile 'junit:junit:4.12' testCompile 'org.mockito:mockito-core:2.21.0' testCompile 'org.xmlunit:xmlunit-core:2.5.1' testCompile 'org.reflections:reflections:0.9.11' testCompile project(path: ':main', configuration: 'tests') testCompile 'org.openjdk.jmh:jmh-core:1.19' testCompile 'org.openjdk.jmh:jmh-generator-annprocess:1.19' } jar { manifest { attributes 'Automatic-Module-Name': 'org.apache.poi.ooxml' } } japicmp.baseline = 'org.apache.poi:poi-ooxml:' + japicmpversion + '@jar' } project('examples') { sourceSets.main.java.srcDirs = ['../../src/examples/src'] dependencies { compile project(':main') compile project(':ooxml') } japicmp.enabled = false } project('excelant') { sourceSets.main.java.srcDirs = ['../../src/excelant/java'] sourceSets.main.resources.srcDirs = ['../../src/excelant/resources'] sourceSets.test.java.srcDirs = ['../../src/excelant/testcases'] dependencies { compile 'org.apache.ant:ant:1.10.4' compile project(':main') compile project(':ooxml') testCompile project(path: ':main', configuration: 'tests') } jar { manifest { attributes 'Automatic-Module-Name': 'org.apache.poi.excelant' } } japicmp.baseline = 'org.apache.poi:poi-excelant:' + japicmpversion + '@jar' } project('integrationtest') { sourceSets.test.java.srcDirs = ['../../src/integrationtest'] dependencies { compile 'org.apache.ant:ant:1.10.4' compile project(':main') compile project(':ooxml') compile project(':scratchpad') compile project(':examples') testCompile 'junit:junit:4.12' } jar { manifest { attributes 'Automatic-Module-Name': 'org.apache.poi.integrationtest' } } test { // exclude these from the normal test-run exclude '**/TestAllFiles.class' exclude '**/*FileHandler.class' exclude '**/RecordsStresser.class' } task integrationTest(type: Test) { // these are just tests used during development of more test-code exclude '**/*FileHandler.class' exclude '**/RecordStresser.class' } japicmp.enabled = false } project('scratchpad') { sourceSets.main.java.srcDirs = ['../../src/scratchpad/src'] sourceSets.main.resources.srcDirs = ['../../src/resources/scratchpad'] sourceSets.test.java.srcDirs = ['../../src/scratchpad/testcases'] dependencies { compile project(':main') // cyclic-dependency here: compile project(':ooxml') testCompile 'junit:junit:4.12' testCompile project(path: ':main', configuration: 'tests') } jar { manifest { attributes 'Automatic-Module-Name': 'org.apache.poi.scratchpad' } } japicmp.baseline = 'org.apache.poi:poi-scratchpad:' + japicmpversion + '@jar' }