Commit Graph

324 Commits

Author SHA1 Message Date
Dominik Stadler
5d4a5c2bb4 Also write findbugs.xml file for reading the results in ^Cnkins builds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1666657 13f79535-47bb-0310-9956-ffa450edef68
2015-03-14 11:52:59 +00:00
Dominik Stadler
1bbbd985d4 Bug 57612: Fix checking for proxy/accessible website in TestSignatureInfo
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661774 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 20:45:21 +00:00
Nick Burch
8d19e8b741 Fix typo - remove duplicate characters
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661662 13f79535-47bb-0310-9956-ffa450edef68
2015-02-23 13:21:06 +00:00
Andreas Beeker
0864168c23 update to next beta and docu fix
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1661349 13f79535-47bb-0310-9956-ffa450edef68
2015-02-21 12:55:03 +00:00
Dominik Stadler
a27718e373 Add ooxml-sources-jar files to up-to-date check to still recompile if only they are missing
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1658593 13f79535-47bb-0310-9956-ffa450edef68
2015-02-09 22:32:43 +00:00
Dominik Stadler
24478a96dd Bug 57468: Avoid possible build-error if lib-directory is not created
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1653643 13f79535-47bb-0310-9956-ffa450edef68
2015-01-21 20:39:30 +00:00
Dominik Stadler
2dce3dc7d0 Adjust .classpath sources and add missing dependencies to run ooxml-lite tests standalone
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649179 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:35:34 +00:00
Dominik Stadler
ff2dece3ce 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
397d0d61d6 Update to latest JaCoCo 0.7.2 and adjust coverage report to exclude third-party code that is not relevant for coverage measurement
Conflicts:
	build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1649177 13f79535-47bb-0310-9956-ffa450edef68
2015-01-03 09:34:25 +00:00
Dominik Stadler
54fd49b39f Exclude javadoc-jars in findbugs run
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1648155 13f79535-47bb-0310-9956-ffa450edef68
2014-12-28 08:59:34 +00:00
Dominik Stadler
b1e4a93f4d Add jars from compile-lib to findbugs target
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647938 13f79535-47bb-0310-9956-ffa450edef68
2014-12-26 07:04:10 +00:00
Dominik Stadler
0c580c8f45 Add a test-suite which performs integration/stress tests which load and handle all stored test files in various ways.
It works by using handlers for each type of file which perform various operations on the files, e.g. loading,
iterating content, modify, ... This will trigger changes which break working with the available test-files and
thus provides another layer of regression testing which hopefully prevents some failures from making it into
releases.

It is runnable via a new ant-target 'test-integration' and also added to the jenkins-target.

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1647885 13f79535-47bb-0310-9956-ffa450edef68
2014-12-25 09:16:44 +00:00
Nick Burch
93372f4468 Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645814 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:54:49 +00:00
Nick Burch
c832b0ed4a Prep for release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1645812 13f79535-47bb-0310-9956-ffa450edef68
2014-12-16 01:52:42 +00:00
Andreas Beeker
3f77a96e47 revert of r1639217 and offline-linking for maven javadocs
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1639807 13f79535-47bb-0310-9956-ffa450edef68
2014-11-15 00:00:30 +00:00
Nick Burch
8a6cd5e11e Use more maven-like naming of the source jars for the ooxml schemas
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1638037 13f79535-47bb-0310-9956-ffa450edef68
2014-11-11 07:18:39 +00:00
Dominik Stadler
9f3e8b4919 Bug 57197: use proxy for TestSignatureInfo if set via environment variables
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637979 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 20:37:26 +00:00
Nick Burch
0b4db82a91 Build per-component javadoc jars, suitable for use with Maven / Maven Central
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637827 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 12:29:08 +00:00
Nick Burch
ab3c87b07f Follow discussions on dev@, don't include the javadocs in the source package, since they can be recreated as desired using ant from the unpacked source package
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637818 13f79535-47bb-0310-9956-ffa450edef68
2014-11-10 11:20:48 +00:00
Dominik Stadler
3dd00ab13a Add xmlsec-jar in test-ooxml-lite which is missing after removing ooxml.classpath
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637718 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 19:19:02 +00:00
Dominik Stadler
a37f104ad4 Adjust location of ooxml-lite classes and try with reduced classpath to actually test without full xsds
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637704 13f79535-47bb-0310-9956-ffa450edef68
2014-11-09 17:55:22 +00:00
Nick Burch
89baa23ab6 When building the source package, also exclude the compile jars, and any dist folders
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637561 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 13:40:53 +00:00
Nick Burch
6d92d0bf25 Set things up for the next release
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637555 13f79535-47bb-0310-9956-ffa450edef68
2014-11-08 12:49:03 +00:00
Dominik Stadler
24effccc61 Fail build if test-cases fail in OOXMLLite execution to avoid missing included schema-classes. Also adjust how we look for test-classes so that we print out the ones that we skip with known ones excluded. Also print out skipped inner classes.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1637475 13f79535-47bb-0310-9956-ffa450edef68
2014-11-07 22:33:54 +00:00
Andreas Beeker
57948d071f excluded notesmaster.xml from rat check
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1635018 13f79535-47bb-0310-9956-ffa450edef68
2014-10-29 00:45:47 +00:00
Andreas Beeker
e409054f89 added ooxml-security-1.0 to the maven artifacts
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1634247 13f79535-47bb-0310-9956-ffa450edef68
2014-10-25 19:34:42 +00:00
Dominik Stadler
75653698ce One more change to OOXMLLite to also run all tests successfully when the outdated xerces lib is provided
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633285 13f79535-47bb-0310-9956-ffa450edef68
2014-10-21 07:06:26 +00:00
Andreas Beeker
11cfec8513 xml dsign - javadoc fixes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633241 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 22:18:42 +00:00
Dominik Stadler
7664c7efa7 * Make more tests work in OOXMLLite compilation by adding xml security classpath and ensuring proper cleanup in some Extractor tests
* Remove downloading xerces library here, we now do this in the special Jenkins job and thus can get rid of it here

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633166 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 14:26:53 +00:00
Dominik Stadler
02a4dc5462 * Also adjust build.xml for newer required Ant 1.8.0
* Pass "additionaljar" to junit calls to enable us to exclude tests which we know are failing (newer XML Security stuff)

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1633156 13f79535-47bb-0310-9956-ffa450edef68
2014-10-20 13:54:41 +00:00
Andreas Beeker
14f3200486 Removed some custom classloading code, which doesn't make sense anymore
Tested a few other timestamp providers
limited the use of the additional libraries to xml dsign classes while running the junit tests

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1632858 13f79535-47bb-0310-9956-ffa450edef68
2014-10-18 23:19:49 +00:00
Dominik Stadler
591d82f2e3 Fix detecting missing downloaded and compiled OOXML jars, remove older versions of apache-rat correctly
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1631249 13f79535-47bb-0310-9956-ffa450edef68
2014-10-12 20:07:11 +00:00
Dominik Stadler
bc400ad94a Update to Apache Rat 0.11
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1630660 13f79535-47bb-0310-9956-ffa450edef68
2014-10-10 06:48:29 +00:00
Dominik Stadler
d254ec8ec1 Print out current version of java before building to allow to see in build output if we use a supported Java VM version
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1629644 13f79535-47bb-0310-9956-ffa450edef68
2014-10-06 13:20:12 +00:00
Andreas Beeker
1ed069daf7 Fixed complete-build errors
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1628338 13f79535-47bb-0310-9956-ffa450edef68
2014-09-29 23:39:45 +00:00
Andreas Beeker
b410e72196 merge with trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1625828 13f79535-47bb-0310-9956-ffa450edef68
2014-09-17 21:12:36 +00:00
Andreas Beeker
d0cc2e4267 removed HorribleProxy
added current version of BouncyCastle and xmlsec (using xmlsec instead of jdk internal classes, because of interoperabiltiy with e.g. IBM JDK)
heaps of changes because of above

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1620229 13f79535-47bb-0310-9956-ffa450edef68
2014-08-24 23:05:26 +00:00
Andreas Beeker
8962fa8310 starting tsp tests / removed mockito stuff again
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618515 13f79535-47bb-0310-9956-ffa450edef68
2014-08-17 19:53:34 +00:00
Andreas Beeker
58b11677cb - Updated to BC 1.51
- Download BC/test-libs in build.xml

git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618403 13f79535-47bb-0310-9956-ffa450edef68
2014-08-16 19:21:31 +00:00
Andreas Beeker
1b2f321ae9 migrated enveloped document test (1 of 2)
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1618288 13f79535-47bb-0310-9956-ffa450edef68
2014-08-15 22:20:30 +00:00
Andreas Beeker
c378d75e51 sync merge to trunk
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617624 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 23:33:07 +00:00
Uwe Schindler
2f5bcfd162 Fix bug #56814 - Switch from dom4j to JAXP
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1617428 13f79535-47bb-0310-9956-ffa450edef68
2014-08-12 07:19:51 +00:00
Andreas Beeker
7d445b6693 download xades files and remove from them resources
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617153 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 20:37:44 +00:00
Andreas Beeker
63f8c1dcf0 Xml signature support - version 1
git-svn-id: https://svn.apache.org/repos/asf/poi/branches/xml_signature@1617141 13f79535-47bb-0310-9956-ffa450edef68
2014-08-10 18:25:10 +00:00
Nick Burch
5aebae40d4 Correct xmlbeans 2.6 url
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615893 13f79535-47bb-0310-9956-ffa450edef68
2014-08-05 08:53:15 +00:00
Nick Burch
b6c30fae87 Change the default XMLBeans version used for running to be 2.6, leave 2.3 for compiling the schemas (for maximum compatibility)
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615780 13f79535-47bb-0310-9956-ffa450edef68
2014-08-04 20:40:45 +00:00
Dominik Stadler
c557276cb4 * Ensure that some older versions of third-party libraries are removed when we do the jar-check, we saw some strange and hard-to-find build-errors lately, e.g. CI fails to run JaCoCo because of outdated asm-all-4.jar being still available.
* Include new "release-notes" target in jenkins-target

git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1615453 13f79535-47bb-0310-9956-ffa450edef68
2014-08-03 21:30:30 +00:00
Nick Burch
06fa83bda7 Prep for 3.11 beta 1
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614956 13f79535-47bb-0310-9956-ffa450edef68
2014-07-31 18:54:22 +00:00
Nick Burch
deba3155a8 Exclude the release notes and readmes from the rat checks
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614642 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 12:53:19 +00:00
Nick Burch
c9e6a7345c Add a target to help with generating the release notes
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1614573 13f79535-47bb-0310-9956-ffa450edef68
2014-07-30 07:32:21 +00:00