Commit Graph

44 Commits

Author SHA1 Message Date
PJ Fanning 57eae58ee5 use xmlunit for xml diffs in unit tests
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1825810 13f79535-47bb-0310-9956-ffa450edef68
2018-03-04 12:24:44 +00:00
PJ Fanning 04766b92fc add mockito dependency to sonar pom.xml to fix maven-dsl build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1822785 13f79535-47bb-0310-9956-ffa450edef68
2018-01-31 10:26:45 +00:00
Dominik Stadler dcd40982f3 Try if using a local temporary directory avoids the permission errors in unit tests in the Maven runs:
* Collect JUnit results
* Set java.io.tmpdir in Maven unit test runs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1815951 13f79535-47bb-0310-9956-ffa450edef68
2017-11-21 16:28:07 +00:00
Dominik Stadler bd00cb3e0d Change version to 4.0.0-SNAPSHOT as discussed on the mailing-list
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808618 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:07:37 +00:00
Dominik Stadler d7ee368e0e MaxPermSize is not used any more in Java 8, so remove it everywhere
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808617 13f79535-47bb-0310-9956-ffa450edef68
2017-09-17 11:07:28 +00:00
Dominik Stadler 25a9abf7ed Sonar-Maven: Switch to UTF-8 for source files to silence some warnings in the build.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808540 13f79535-47bb-0310-9956-ffa450edef68
2017-09-16 13:39:29 +00:00
Dominik Stadler aa71181dd0 Adjust Maven pom.xml for 4.0, Java 8 and newer third party libs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1808474 13f79535-47bb-0310-9956-ffa450edef68
2017-09-15 18:39:37 +00:00
Dominik Stadler 31167bfaeb Remove incorrect copy-include in pom.xml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807822 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 20:42:24 +00:00
Andreas Beeker 57d4fab79d Add Removal annotation to xmlbeans generation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807817 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 20:27:49 +00:00
Dominik Stadler 4749645d32 Add Removal.java to fix Maven compilation
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1807797 13f79535-47bb-0310-9956-ffa450edef68
2017-09-08 18:30:39 +00:00
Andreas Beeker 264adcb025 prepare for 3.18-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1805582 13f79535-47bb-0310-9956-ffa450edef68
2017-08-20 19:18:48 +00:00
PJ Fanning f9d5a16ca6 try to fix build issues since namespaces constants were changed
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1802030 13f79535-47bb-0310-9956-ffa450edef68
2017-07-15 20:00:11 +00:00
Andreas Beeker 68ea3a9254 prepare for 3.17-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1799747 13f79535-47bb-0310-9956-ffa450edef68
2017-06-24 09:27:28 +00:00
Andreas Beeker 9fe2769ecd prepare for 3.17-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1791047 13f79535-47bb-0310-9956-ffa450edef68
2017-04-11 22:14:38 +00:00
Javen O'Neal 60daf9d297 prepare for 3.16-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780508 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:47:12 +00:00
Javen O'Neal 84c5e73baa Revert r1780501: wrong release-prep1 version (3.15-beta1)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780502 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 05:27:01 +00:00
Javen O'Neal a8164b628b prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1780501 13f79535-47bb-0310-9956-ffa450edef68
2017-01-27 04:49:14 +00:00
Dominik Stadler 9511afda99 Maven: Add jacoco plugin and adjust to apply argLine correctly when calling "mvn jacoco:prepare-agent package jacoco:report jacoco:report-aggregate", however report-aggregate does not seem to work yet
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1776068 13f79535-47bb-0310-9956-ffa450edef68
2016-12-26 19:51:47 +00:00
Andreas Beeker 8119f17ed0 Fix Bugzilla link
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1774843 13f79535-47bb-0310-9956-ffa450edef68
2016-12-18 03:33:57 +00:00
Javen O'Neal 0ed7585732 prepare for 3.16-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1769474 13f79535-47bb-0310-9956-ffa450edef68
2016-11-13 08:41:53 +00:00
David North d89c5e36e5 prepare for 3.16-beta1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1757092 13f79535-47bb-0310-9956-ffa450edef68
2016-08-21 21:44:42 +00:00
David North fe172d48d9 prepare for 3.15-beta4
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1755880 13f79535-47bb-0310-9956-ffa450edef68
2016-08-10 21:45:12 +00:00
Andreas Beeker 9aecc1aca9 prepare for 3.15-beta3
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1750213 13f79535-47bb-0310-9956-ffa450edef68
2016-06-25 16:53:05 +00:00
Dominik Stadler 781a4283b5 Downgrade version of download-plugin as the newer one is not found by Maven
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747915 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 17:03:53 +00:00
Dominik Stadler 42f556adef Update to latest versions of Maven plugins for Sonar-build and use properties for some third party libs and some Maven plugins
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1747861 13f79535-47bb-0310-9956-ffa450edef68
2016-06-11 08:45:28 +00:00
Andreas Beeker bfa8d11ada Check if user properties are picked up on maven build
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1746901 13f79535-47bb-0310-9956-ffa450edef68
2016-06-05 11:53:28 +00:00
Andreas Beeker 75362550cc prepare for 3.15-beta2
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1737615 13f79535-47bb-0310-9956-ffa450edef68
2016-04-03 22:25:55 +00:00
Andreas Beeker 4b4b3655f7 fix class dependency error of #57031 / #59058 patch
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1734312 13f79535-47bb-0310-9956-ffa450edef68
2016-03-09 21:01:33 +00:00
Dominik Stadler 71d3c07b7d Switch to 3.15-beta1 in the sonar-build-files as well
Add a bit more cleanup and removal of old libs

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1733464 13f79535-47bb-0310-9956-ffa450edef68
2016-03-03 13:36:26 +00:00
Dominik Stadler 760c3e1955 Update some maven plugins to the latest version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1717113 13f79535-47bb-0310-9956-ffa450edef68
2015-11-29 19:53:44 +00:00
Andreas Beeker 01a6730ea7 #58617 - Add custom safe XmlBeans type loader / rename vendor specific schema packages
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1715555 13f79535-47bb-0310-9956-ffa450edef68
2015-11-21 19:37:26 +00:00
Nick Burch 7d7cbf7db3 Update the build version, step missed from the release guide
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1710408 13f79535-47bb-0310-9956-ffa450edef68
2015-10-25 00:26:43 +00:00
Dominik Stadler b1a390515e Sonar Maven: Next try: Disable Subversion to see if we get results then.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1698142 13f79535-47bb-0310-9956-ffa450edef68
2015-08-27 13:04:25 +00:00
Dominik Stadler 61de04b849 Next try for Sonar Maven build: Specify the src-pathes in the various pom.xml files
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697758 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 19:04:11 +00:00
Dominik Stadler b0b2d93e8d Try to specify list of sources in Sonar-Run to look at the SVN-Sources, not the copied ones because of our custom Maven build.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1697581 13f79535-47bb-0310-9956-ffa450edef68
2015-08-25 07:06:51 +00:00
Dominik Stadler fdeb76626f Sonar Maven build:
* Try to provide more memory for the unit test runs as some unit tests create large spreadsheets now
* svn-ignore one more directory

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696711 13f79535-47bb-0310-9956-ffa450edef68
2015-08-20 06:33:02 +00:00
Dominik Stadler b49c01c355 Try to make Sonar builds run again: add missing dependency, add ooxml-schema-security, don't depend on dir test-data and build-directory directly, don't override a POILogger that is set via System Properties
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696165 13f79535-47bb-0310-9956-ffa450edef68
2015-08-16 20:51:40 +00:00
Andreas Beeker e97d4a6ed3 Update to 3.13-SNAPSHOT
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1696045 13f79535-47bb-0310-9956-ffa450edef68
2015-08-15 12:23:51 +00:00
Dominik Stadler 55275b1e67 Update to junit-4.12, the jar file is downloaded, so not required on classpath anymore. Also adjust version in pom.xml for Sonar.
Conflicts:
	.classpath

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649178 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:21 +00:00
Dominik Stadler 9f322d5543 Try one more way of excluding generated sources in the Maven pom.xml files for Sonar analysis
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1576063 13f79535-47bb-0310-9956-ffa450edef68
2014-03-10 19:35:25 +00:00
Dominik Stadler 8587fd1f3e Try to set the Sonar-Exclusion property differently to see if that makes the exclusions work
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1573741 13f79535-47bb-0310-9956-ffa450edef68
2014-03-03 20:43:09 +00:00
Dominik Stadler 8bd9aa0930 Sonar-pom: Add some metadata, try to add Sonar exclusions for generated sources
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572979 13f79535-47bb-0310-9956-ffa450edef68
2014-02-28 16:10:22 +00:00
Dominik Stadler 10d05f61b2 Try to improve Maven files for Sonar: Copy in (test)sources instead of linking to sources outside the sonar-directory which confuses Sonar, remove source-dir setting for ooxml-schema and ooxml-schema-encryption as both have generate sources and not actual ones, scratchpad is not needed for ooxml
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1572580 13f79535-47bb-0310-9956-ffa450edef68
2014-02-27 14:03:27 +00:00
Dominik Stadler 0e9bbce9ed Add a set of maven pom.xml files for Sonar, a few workaround are
necessary, but overall this now allows to compile and run test for
all Apache POI components using Maven, which is a pre-requisite to
be analyzed at http://nemo.sonarqube.org/

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1568613 13f79535-47bb-0310-9956-ffa450edef68
2014-02-15 10:42:43 +00:00