Marten Deinum
07a80c43cb
Upgrade surefire/failsafe to version 3.0.0-M7
...
Closes : #102
2022-12-06 15:22:15 +01:00
Marten Deinum
0fe27c4821
Upgrade maven-compiler-plugin to 3.10.1
...
Closes : #101
2022-12-06 15:22:15 +01:00
Marten Deinum
e8c67a115d
Add maven.config file
...
Reduce the output generated for the build.
Add the -ntp (no transfer progress) as to not to pollute the server output
and thus improve performance.
2022-12-06 14:19:25 +01:00
Marten Deinum
ff44bc5db8
Fix error in pom.xml
2022-12-06 14:09:37 +01:00
Marten Deinum
700e3bfe15
Remove now obsolete log4j2.xml
2022-12-06 14:08:38 +01:00
Marten Deinum
cd72a2851d
Reduce output during test
...
Instead of Log4j2 use the SLF4J NOP logger. This will disable logging output,
this will cleanup the output during a build.
2022-12-06 13:45:26 +01:00
Marten Deinum
3ed5093daa
Fix dependency scope for AssertJ
...
Prior to this commit the dependency scope was not set and thus the default
provided would apply. We now explicitly set it to a scope of test
2022-12-06 13:42:16 +01:00
Marten Deinum
005e4cb206
Update Spring Batch to 4.3.7
2022-12-06 10:59:59 +01:00
Spring Builds
08eac5b8a3
[artifactory-release] Next development version of spring-batch-excel
2022-04-28 09:13:14 +00:00
Spring Builds
a8bb0bb969
[artifactory-release] Release version 0.1.1 of spring-batch-excel
2022-04-28 09:13:12 +00:00
Marten Deinum
7820d8ea6a
Optional iso dates ( #94 )
...
* Optionally use ISO formatting for dates
Prior to this commit we always used the date pattern as
assigned in the Excel workbook for the cell. Which could
lead to surprising results.
We now allow the dates to be formatted as an ISO date time with
offset, so dates/times are consistently formatted in the result.
Closes : #88
2022-04-12 10:58:18 +02:00
Marten Deinum
c8b48a05d5
Upgrade to Spring Batch 4.3.5 ( #93 )
...
Closes : #92
2022-04-12 10:48:56 +02:00
Marten Deinum
f22212b70b
Improve resource file check ( #90 )
...
With this commit we use the isFile check introduced in
Spring 5 to check if something is an actaul file resource
instead of relying on FileNotFoundException.
Resource implementations didn't consistently throw a
FileNotFoundException (like the Google Big Query one)
leading to issues with reading.
Closes: 89
2022-02-03 08:29:48 +01:00
dependabot[bot]
9585996ed8
Bump log4j-core from 2.17.0 to 2.17.1 in /spring-batch-excel
...
Bumps log4j-core from 2.17.0 to 2.17.1.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2022-01-04 16:50:38 +00:00
dependabot[bot]
e19d61fb11
Bump log4j-core from 2.16.0 to 2.17.0 in /spring-batch-excel
...
Bumps log4j-core from 2.16.0 to 2.17.0.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-18 18:34:49 +00:00
dependabot[bot]
ae5037fe5c
Bump log4j-core from 2.15.0 to 2.16.0 in /spring-batch-excel
...
Bumps log4j-core from 2.15.0 to 2.16.0.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-14 21:55:09 +00:00
dependabot[bot]
bbf46056ee
Bump log4j-core from 2.13.3 to 2.15.0 in /spring-batch-excel
...
Bumps log4j-core from 2.13.3 to 2.15.0.
---
updated-dependencies:
- dependency-name: org.apache.logging.log4j:log4j-core
dependency-type: direct:development
...
Signed-off-by: dependabot[bot] <support@github.com >
2021-12-10 01:52:41 +00:00
Marten Deinum
a2f746fa07
Upgrade to Spring Batch 4.3.4
2021-12-07 09:50:14 +01:00
Marten Deinum
6471d899b5
Polish testing
...
Enabled junit5 testing in Maven (upgrade plugin) and added
additional tests to the Streaming and XLSX reader.
2021-12-07 09:48:49 +01:00
Marten Deinum
3f81bdb75c
Polish
2021-12-07 09:29:31 +01:00
Marten Deinum
029d2d5394
Update to Mockito 3.11.0
2021-12-07 09:29:31 +01:00
Marten Deinum
c793dbb9a2
Update to JUnit 5.7.2
2021-12-07 09:29:30 +01:00
César Alves
b378ac1dfd
Move to next sheet when there are only empty/invalid rows ( #82 )
...
When there are blank or empty lines in the end of one sheet, null is returned by doRead without trying to read next sheet. A recursive call makes sheet moving happen when another exists.
Co-authored-by: Mahmoud Ben Hassine <mbenhassine@vmware.com >
Co-authored-by: cesar.alves@gmail.com <coa@pc-coa.caso.pt >
2021-12-07 09:27:46 +01:00
Spring Builds
19a6e33dc5
[artifactory-release] Next development version of of spring-batch-excel
2021-05-28 10:49:19 +00:00
Spring Builds
f98cf0aecf
[artifactory-release] Release version 0.1.0 of spring-batch-excel
2021-05-28 10:49:16 +00:00
Mahmoud Ben Hassine
7d09b891db
Rollback release 0.1.0 and fix Maven Central validation checks
2021-05-28 12:40:58 +02:00
Spring Builds
8297a93629
[artifactory-release] Next development version of spring-batch-excel
2021-05-28 10:13:39 +00:00
Spring Builds
434a1e00d6
[artifactory-release] Release version 0.1.0 of spring-batch-excel
2021-05-28 10:13:35 +00:00
Mahmoud Ben Hassine
0e92ce86ef
Upgrade Spring Batch version to 4.3.3
2021-05-28 11:45:14 +02:00
Marten Deinum
f4980bd240
Added note on thread-safety to documentation
...
Both Apache POI and the AbstractItemCountingItemStreamItemReader aren't threadsafe
and thus the Excel based item readers aren't usable with multiple threads. A note
on this has been added to the documentation.
Closes : #48
2021-05-19 08:51:03 +02:00
Marten Deinum
9bb5c79290
Initial version 0.1.0 changes from original repository
...
Development of Spring Batch Excel continued in the original repository at
http://github.com/mdeinum/spring-batch-excel.git , with this commit we transfer all fixes, updates and new features in one go to the Spring Batch Excel repository.
The most important changes are:
- Moved to new location org.springframework.batch.extensions
- Removed support for JXL
- Initial support for reading XLSX files streaming
- Upgraded dependencies to most recent versions
- Support for reading password protected files
- Numerous small fixes
Fixes: 10,11,19,26,29,34
Closes: 13,14,30,35,50
2021-03-26 16:53:54 +01:00
Mahmoud Ben Hassine
9f02dfa391
Update java version to 1.8
2021-03-03 10:31:44 +01:00
Mahmoud Ben Hassine
15ec58dbdb
Update version to 0.1.0-SNAPSHOT
2021-03-03 10:26:31 +01:00
Mahmoud Ben Hassine
6a06f29a36
Update groupId to org.springframework.batch.extensions
2021-03-03 10:25:52 +01:00
Spring Operator
288b63e6de
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://www.apache.org/licenses/LICENSE-2.0 with 33 occurrences migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
2019-03-25 14:55:22 +01:00
Spring Operator
b4a903976c
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# HTTP URLs that Could Not Be Fixed
These URLs were unable to be fixed. Please review them to see if they can be manually resolved.
* [ ] http://jexcelapi.sourceforge.net (200) with 1 occurrences could not be migrated:
([https](https://jexcelapi.sourceforge.net ) result AnnotatedConnectException).
# Fixed URLs
## Fixed But Review Recommended
These URLs were fixed, but the https status was not OK. However, the https status was the same as the http request or http redirected to an https URL, so they were migrated. Your review is recommended.
* [ ] http://progit.org/book/ch3-6.html (301) with 4 occurrences migrated to:
https://progit.org/book/ch3-6.html ([https](https://progit.org/book/ch3-6.html ) result SSLHandshakeException).
* [ ] http://progit.org/book/ch5-2.html (301) with 2 occurrences migrated to:
https://progit.org/book/ch5-2.html ([https](https://progit.org/book/ch5-2.html ) result SSLHandshakeException).
* [ ] http://book.git-scm.com/4_interactive_rebasing.html (301) with 1 occurrences migrated to:
https://book.git-scm.com/4_interactive_rebasing.html ([https](https://book.git-scm.com/4_interactive_rebasing.html ) result 404).
* [ ] http://help.github.com/send-pull-requests (404) with 2 occurrences migrated to:
https://help.github.com/send-pull-requests ([https](https://help.github.com/send-pull-requests ) result 404).
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* [ ] http://maven.apache.org with 1 occurrences migrated to:
https://maven.apache.org ([https](https://maven.apache.org ) result 200).
* [ ] http://poi.apache.org with 1 occurrences migrated to:
https://poi.apache.org ([https](https://poi.apache.org ) result 200).
* [ ] http://projects.spring.io/spring-batch/ with 1 occurrences migrated to:
https://projects.spring.io/spring-batch/ ([https](https://projects.spring.io/spring-batch/ ) result 200).
* [ ] http://spring.io/tools/sts with 1 occurrences migrated to:
https://spring.io/tools/sts ([https](https://spring.io/tools/sts ) result 200).
* [ ] http://stackoverflow.com/faq with 1 occurrences migrated to:
https://stackoverflow.com/faq ([https](https://stackoverflow.com/faq ) result 200).
* [ ] http://stackoverflow.com/questions/134882/undoing-a-git-rebase with 1 occurrences migrated to:
https://stackoverflow.com/questions/134882/undoing-a-git-rebase ([https](https://stackoverflow.com/questions/134882/undoing-a-git-rebase ) result 200).
* [ ] http://stackoverflow.com/questions/tagged/spring-batch with 1 occurrences migrated to:
https://stackoverflow.com/questions/tagged/spring-batch ([https](https://stackoverflow.com/questions/tagged/spring-batch ) result 200).
* [ ] http://docs.spring.io/spring-batch/reference/html/configureJob.html with 1 occurrences migrated to:
https://docs.spring.io/spring-batch/reference/html/configureJob.html ([https](https://docs.spring.io/spring-batch/reference/html/configureJob.html ) result 301).
* [ ] http://help.github.com/fork-a-repo/ with 2 occurrences migrated to:
https://help.github.com/fork-a-repo/ ([https](https://help.github.com/fork-a-repo/ ) result 301).
* [ ] http://help.github.com/send-pull-requests/ with 2 occurrences migrated to:
https://help.github.com/send-pull-requests/ ([https](https://help.github.com/send-pull-requests/ ) result 301).
* [ ] http://help.github.com/set-up-git-redirect with 1 occurrences migrated to:
https://help.github.com/set-up-git-redirect ([https](https://help.github.com/set-up-git-redirect ) result 301).
2019-03-25 14:43:19 +01:00
Spring Operator
6728f46574
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were switched to an https URL with a 2xx status. While the status was successful, your review is still recommended.
* http://maven.apache.org/xsd/maven-4.0.0.xsd with 2 occurrences migrated to:
https://maven.apache.org/xsd/maven-4.0.0.xsd ([https](https://maven.apache.org/xsd/maven-4.0.0.xsd ) result 200).
# Ignored
These URLs were intentionally ignored.
* http://jakarta.apache.org/log4j/ with 1 occurrences
* http://maven.apache.org/POM/4.0.0 with 4 occurrences
* http://www.w3.org/2001/XMLSchema-instance with 2 occurrences
2019-03-25 14:42:23 +01:00
Spring Operator
7ccced33c4
URL Cleanup
...
This commit updates URLs to prefer the https protocol. Redirects are not followed to avoid accidentally expanding intentionally shortened URLs (i.e. if using a URL shortener).
# Fixed URLs
## Fixed Success
These URLs were fixed successfully.
* http://www.apache.org/licenses/LICENSE-2.0 migrated to:
https://www.apache.org/licenses/LICENSE-2.0 ([https](https://www.apache.org/licenses/LICENSE-2.0 ) result 200).
# Ignored
These URLs were intentionally ignored.
* http://maven.apache.org/POM/4.0.0
* http://maven.apache.org/xsd/maven-4.0.0.xsd
* http://www.w3.org/2001/XMLSchema-instance
2019-03-06 20:53:21 +01:00
Marten Deinum
6e6f2dc703
polish
...
Numeric type can contain a Date instead of a number, check
added for Date and return the time in millis if a Date is found.
2015-03-13 09:49:01 -05:00
Marten Deinum
b90a132147
polish
...
Added Java Config
Added BeanWrapperRowMapper
2015-03-13 09:49:01 -05:00
Marten Deinum
534c5b31df
Replace BeanPropertyRowMapper with BeanWrapperRowMapper.
...
Use the BeanWrapper to bind values to beans. Based on the BeanWrapperFieldSetMapper.
2015-03-13 09:49:01 -05:00
Marten Deinum
371474fb48
polish
...
Cache FormulaEvaluator instead of creating a new one.
2015-03-13 09:49:01 -05:00
Marten Deinum
0f513faa91
polish javadoc
...
Fixed typo
2015-03-13 09:49:00 -05:00
Marten Deinum
58bbaa494d
polish
...
inline numberOfRows, numberOfColumns and the name for performance.
2015-03-13 09:49:00 -05:00
Marten Deinum
01ae4985e4
Javadoc
...
Added package-info files.
2015-03-13 09:49:00 -05:00
Marten Deinum
b945428eaf
Javadoc
...
Fixed javadoc errors and warnings
2015-03-13 09:49:00 -05:00
Marten Deinum
3cdce1f9ef
Javadoc
...
Remove <p> and </p> where they didn't match.
2015-03-13 09:49:00 -05:00
Marten Deinum
30ff7bb1cd
Cleanup of close methods.
...
Removed the doCloseWorkbook method in favor of the normal doClose method.
The PoiItemReader now closes the InputStream and Workbook (for Apache POI >= 3.11)
2015-03-13 09:48:59 -05:00
Marten Deinum
1b2e749bcd
Update test libraries and fix scope
...
JUnit 4.12
Mockito 1.10.19
Fixed scope of Spring-test dependency
2015-03-13 09:48:59 -05:00
Marten Deinum
60635e4511
Update to Spring Batch 3.0.3
2015-03-13 09:48:59 -05:00