Skip to content

Commit

Permalink
Merge pull request #81 from arturmkrtchyan/update-oss-plugin
Browse files Browse the repository at this point in the history
Update oss plugin
  • Loading branch information
hajk1 authored Dec 1, 2020
2 parents 25af66e + e7133c7 commit cb73f41
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 5 deletions.
35 changes: 31 additions & 4 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@

<groupId>org.iban4j</groupId>
<artifactId>iban4j</artifactId>
<version>3.2.2-SNAPSHOT</version>
<version>3.2.2-RELEASE</version>
<packaging>jar</packaging>

<name>iban4j</name>
Expand All @@ -45,6 +45,10 @@
<developer>
<name>Artur Mkrtchyan</name>
</developer>
<developer>
<name>Kayvan Tehrani</name>
<email>[email protected]</email>
</developer>
</developers>


Expand All @@ -57,8 +61,8 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<jdkVersion>1.6</jdkVersion>
<jdk6Signature>java16</jdk6Signature>
<jdkVersion>1.7</jdkVersion>
<jdk7Signature>java17</jdk7Signature>
<skipSigning>true</skipSigning>
</properties>

Expand All @@ -77,6 +81,17 @@
</dependency>
</dependencies>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<build>
<plugins>

Expand Down Expand Up @@ -255,14 +270,26 @@
<signature>
<groupId>org.codehaus.mojo.signature
</groupId>
<artifactId>${jdk6Signature}</artifactId>
<artifactId>${jdk7Signature}</artifactId>
<version>1.0</version>
</signature>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

</plugins>
</build>

Expand Down
2 changes: 1 addition & 1 deletion src/main/java/org/iban4j/bban/BbanStructure.java
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ private BbanStructure(final BbanStructureEntry... entries) {
structures.put(CountryCode.BY,
new BbanStructure(
BbanStructureEntry.bankCode(4, 'c'),
BbanStructureEntry.accountType(4, 'n'),
BbanStructureEntry.branchCode(4, 'n'),
BbanStructureEntry.accountNumber(16, 'c')));

structures.put(CountryCode.CR,
Expand Down

0 comments on commit cb73f41

Please sign in to comment.