Skip to content

Commit e5f9456

Browse files
authored
Merge pull request #149 from sualeh/nextrel
v4.0.5 and update copyright notices
2 parents c36ce64 + d0cf437 commit e5f9456

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+60
-59
lines changed

.github/workflows/quick_build.yml

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,6 @@ jobs:
3030
mvn \
3131
--no-transfer-progress \
3232
--batch-mode \
33-
package
34-
- id: code-climate
35-
name: Test and publish code coverage to Code Climate
36-
uses: paambaati/[email protected]
37-
if: github.ref == 'refs/heads/main'
38-
env:
39-
CC_TEST_REPORTER_ID: ${{secrets.CC_TEST_REPORTER_ID}}
40-
JACOCO_SOURCE_PATH: "${{github.workspace}}/src/main/java"
41-
with:
42-
coverageLocations: ${{github.workspace}}/target/site/jacoco/jacoco.xml:jacoco
33+
-Dmaven.javadoc.skip=true \
34+
-Dskip.signing.artifacts=true \
35+
clean package

pom.xml

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1-
<?xml version="1.0" encoding="utf-8"?>
21
<project xmlns="http://maven.apache.org/POM/4.0.0"
3-
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4-
xsi:schemaLocation="https://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
54
<modelVersion>4.0.0</modelVersion>
65
<groupId>us.fatehi</groupId>
76
<artifactId>creditcardnumber</artifactId>
8-
<version>4.0.4</version>
7+
<version>4.0.5</version>
98
<packaging>jar</packaging>
109
<name>Credit Card Number</name>
1110
<description>Credit Card Number is a library that can provide details of a
@@ -190,6 +189,7 @@
190189
<artifactId>maven-source-plugin</artifactId>
191190
<executions>
192191
<execution>
192+
<id>attach-sources</id>
193193
<goals>
194194
<goal>jar-no-fork</goal>
195195
</goals>
@@ -218,9 +218,9 @@
218218
<additionalOptions>
219219
<additionalOption>-Xdoclint:none</additionalOption>
220220
</additionalOptions>
221-
<bottom>Copyright © 2014-2024 {organizationName}. All
221+
<bottom>Copyright © 2014-2025 {organizationName}. All
222222
rights reserved.</bottom>
223-
<doctitle>Credit Card Number ${project.version}</doctitle>
223+
<doctitle>${project.name} ${project.version}</doctitle>
224224
</configuration>
225225
</execution>
226226
</executions>
@@ -265,14 +265,22 @@
265265
</execution>
266266
</executions>
267267
</plugin>
268+
<plugin>
269+
<groupId>org.apache.maven.plugins</groupId>
270+
<artifactId>maven-deploy-plugin</artifactId>
271+
</plugin>
268272
<plugin>
269273
<groupId>org.sonatype.plugins</groupId>
270274
<artifactId>nexus-staging-maven-plugin</artifactId>
271275
<extensions>true</extensions>
272276
<configuration>
273277
<serverId>sonatype-nexus</serverId>
274-
<nexusUrl>https://oss.sonatype.org</nexusUrl>
278+
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
275279
<autoReleaseAfterClose>true</autoReleaseAfterClose>
280+
<keepStagingRepositoryOnFailure>true</keepStagingRepositoryOnFailure>
281+
<keepStagingRepositoryOnCloseRuleFailure>true</keepStagingRepositoryOnCloseRuleFailure>
282+
<stagingProgressTimeoutMinutes>10</stagingProgressTimeoutMinutes>
283+
<stagingProgressPauseDurationSeconds>10</stagingProgressPauseDurationSeconds>
276284
</configuration>
277285
</plugin>
278286
</plugins>

src/main/java/us/fatehi/creditcardnumber/AccountNumber.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/AccountNumberComplete.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/AccountNumberLastFour.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/AccountNumberSealed.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/AccountNumberSecure.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/AccountNumbers.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/BankCard.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

src/main/java/us/fatehi/creditcardnumber/BaseRawData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
*
33
* Credit Card Number
44
* https://github.com/sualeh/credit_card_number
5-
* Copyright (c) 2014-2024, Sualeh Fatehi.
5+
* Copyright (c) 2014-2025, Sualeh Fatehi.
66
*
77
*/
88
package us.fatehi.creditcardnumber;

0 commit comments

Comments
 (0)