Skip to content

Commit

Permalink
Merge pull request #266 from ozlerhakan/4.0.0
Browse files Browse the repository at this point in the history
bump 4.0.0
  • Loading branch information
ozlerhakan committed Dec 30, 2022
2 parents a1dc37b + 15a3b3f commit 241d99d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 13 deletions.
16 changes: 4 additions & 12 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
:toclevels: 2

= Poiji
:version: v3.2.0
:branch: 3.2.0
:version: v4.0.0
:branch: 4.0.0

image:https://github.com/ozlerhakan/poiji/actions/workflows/maven.yml/badge.svg["Build Status"] image:https://app.codacy.com/project/badge/Grade/64f7e2cb9e604807b62334a4cfc3952d["Codacy code quality",link="https://www.codacy.com/gh/ozlerhakan/poiji/dashboard?utm_source=github.com&utm_medium=referral&utm_content=ozlerhakan/poiji&utm_campaign=Badge_Grade"]
image:https://codecov.io/gh/ozlerhakan/poiji/branch/{branch}/graph/badge.svg?token=MN6V6xOWBq["Codecov",link="https://codecov.io/gh/ozlerhakan/poiji"] image:https://img.shields.io/badge/apache.poi-5.2.1-brightgreen.svg[] image:https://app.fossa.com/api/projects/git%2Bgithub.com%2Fozlerhakan%2Fpoiji.svg?type=shield["FOSSA Status",link="https://app.fossa.com/projects/git%2Bgithub.com%2Fozlerhakan%2Fpoiji?ref=badge_shield"]
Expand All @@ -25,18 +25,10 @@ In your Maven/Gradle project, first add the corresponding dependency:
<dependency>
<groupId>com.github.ozlerhakan</groupId>
<artifactId>poiji</artifactId>
<version>3.2.0</version>
<version>4.0.0</version>
</dependency>
----

.gradle
[source,groovy]
----
dependencies {
compile 'com.github.ozlerhakan:poiji:3.2.0'
}
----

You can find the latest and earlier development versions including javadoc and source files on https://oss.sonatype.org/content/groups/public/com/github/ozlerhakan/poiji/[Sonatypes OSS repository].

== Usage
Expand Down Expand Up @@ -615,7 +607,7 @@ Note that If you use the `PoijiOptionsBuilder#caseInsensitive(true)` option, the

=== Optional Mandatory Headers and Cells

As of 3.2.0, `@ExcelCellName` and `@ExcelCell` are given to provide `mandatoryHeader` and `mandatoryCell` fields, meaning we can be more specific by declaring rules in headers or cells or both in excel files. `mandatoryHeader` expects the labeled excel column exists in a given excel file, while `mandatoryCell` looks into the values of the mentioned header/column. If any of the options is active and your excel breaks the rule, either a `HeaderMissingException` or `PoijiMultiRowException` will be thrown accordingly.
As of 4.0.0, `@ExcelCellName` and `@ExcelCell` are given to provide `mandatoryHeader` and `mandatoryCell` fields, meaning we can be more specific by declaring rules in headers or cells or both in excel files. `mandatoryHeader` expects the labeled excel column exists in a given excel file, while `mandatoryCell` looks into the values of the mentioned header/column. If any of the options is active and your excel breaks the rule, either a `HeaderMissingException` or `PoijiMultiRowException` will be thrown accordingly.

----
// default behavior
Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

<groupId>com.github.ozlerhakan</groupId>
<artifactId>poiji</artifactId>
<version>3.2.0</version>
<version>4.0.0</version>
<packaging>jar</packaging>

<name>poiji</name>
Expand Down

0 comments on commit 241d99d

Please sign in to comment.