Skip to content

Commit

Permalink
Merge pull request #37 from mvallim/fix/cve
Browse files Browse the repository at this point in the history
Fix/CVE
  • Loading branch information
mvallim authored Feb 21, 2024
2 parents 1d8e5d2 + 6bf2065 commit 66fc8ee
Show file tree
Hide file tree
Showing 12 changed files with 24 additions and 27 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@ name: Java CI with Maven

on:
push:
branches: [master]
branches:
- feature**
- fix**
- master
paths-ignore:
- "**/README.md"
- "**/CONTRIBUTING.md"
- "**/CONTRIBUTORS.txt"
- "**/LICENSE"
pull_request:
branches: [master]
branches:
- master
paths-ignore:
- "**/README.md"
- "**/CONTRIBUTING.md"
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@ Article [Martin Fowler](https://martinfowler.com) [Request Batch](https://martin

_**Compatible JDK 8, 11, 15, 16 and 17**_

_**Compatible AWS JDK v1 >= 1.12.346**_
_**Compatible AWS JDK v1 >= 1.12**_

_**Compatible AWS JDK v2 >= 2.18.21**_
_**Compatible AWS JDK v2 >= 2.18**_

This library supports **`Kotlin`** aswell

Expand All @@ -38,7 +38,7 @@ You can pull it from the central Maven repositories:
<dependency>
<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib-v1</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```

Expand All @@ -47,7 +47,7 @@ You can pull it from the central Maven repositories:
<dependency>
<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib-v2</artifactId>
<version>1.0.4</version>
<version>1.0.5</version>
</dependency>
```

Expand All @@ -68,12 +68,12 @@ If you want to try a snapshot version, add the following repository:

### For AWS SDK v1
```groovy
implementation 'com.github.mvallim:amazon-sns-java-messaging-lib-v1:1.0.4'
implementation 'com.github.mvallim:amazon-sns-java-messaging-lib-v1:1.0.5'
```

### For AWS SDK v2
```groovy
implementation 'com.github.mvallim:amazon-sns-java-messaging-lib-v2:1.0.4'
implementation 'com.github.mvallim:amazon-sns-java-messaging-lib-v2:1.0.5'
```

If you want to try a snapshot version, add the following repository:
Expand Down
2 changes: 1 addition & 1 deletion amazon-sns-java-messaging-lib-template/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

Expand Down
4 changes: 2 additions & 2 deletions amazon-sns-java-messaging-lib-v1/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<parent>
<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>amazon-sns-java-messaging-lib-v1</artifactId>

<properties>
<aws-java-sdk-bom.version>1.12.420</aws-java-sdk-bom.version>
<aws-java-sdk-bom.version>1.12.661</aws-java-sdk-bom.version>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -39,7 +39,6 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import com.amazon.sns.messaging.lib.core.AmazonSnsTemplate;
import com.amazon.sns.messaging.lib.core.helper.ConsumerHelper;
import com.amazon.sns.messaging.lib.model.RequestEntry;
import com.amazon.sns.messaging.lib.model.ResponseFailEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -37,7 +37,6 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import com.amazon.sns.messaging.lib.core.AmazonSnsTemplate;
import com.amazon.sns.messaging.lib.core.helper.ConsumerHelper;
import com.amazon.sns.messaging.lib.model.RequestEntry;
import com.amazon.sns.messaging.lib.model.ResponseFailEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -26,7 +26,6 @@

import org.junit.jupiter.api.Test;

import com.amazon.sns.messaging.lib.core.MessageAttributes;
import com.amazonaws.services.sns.model.MessageAttributeValue;

class MessageAttributesTest {
Expand Down
4 changes: 2 additions & 2 deletions amazon-sns-java-messaging-lib-v2/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,14 @@
<parent>
<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<artifactId>amazon-sns-java-messaging-lib-v2</artifactId>

<properties>
<aws-java-sdk-bom.version>2.20.17</aws-java-sdk-bom.version>
<aws-java-sdk-bom.version>2.20.162</aws-java-sdk-bom.version>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -38,7 +38,6 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import com.amazon.sns.messaging.lib.core.AmazonSnsTemplate;
import com.amazon.sns.messaging.lib.core.helper.ConsumerHelper;
import com.amazon.sns.messaging.lib.model.RequestEntry;
import com.amazon.sns.messaging.lib.model.ResponseFailEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -37,7 +37,6 @@
import org.mockito.Mock;
import org.mockito.junit.jupiter.MockitoExtension;

import com.amazon.sns.messaging.lib.core.AmazonSnsTemplate;
import com.amazon.sns.messaging.lib.core.helper.ConsumerHelper;
import com.amazon.sns.messaging.lib.model.RequestEntry;
import com.amazon.sns.messaging.lib.model.ResponseFailEntry;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.amazon.sns.messaging.lib.core.core;
package com.amazon.sns.messaging.lib.core;

import static org.hamcrest.MatcherAssert.assertThat;
import static org.hamcrest.Matchers.is;
Expand All @@ -26,8 +26,6 @@

import org.junit.jupiter.api.Test;

import com.amazon.sns.messaging.lib.core.MessageAttributes;

import software.amazon.awssdk.core.SdkBytes;
import software.amazon.awssdk.services.sns.model.MessageAttributeValue;

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

<groupId>com.github.mvallim</groupId>
<artifactId>amazon-sns-java-messaging-lib</artifactId>
<version>1.0.5-SNAPSHOT</version>
<version>1.0.6-SNAPSHOT</version>
<packaging>pom</packaging>

<name>amazon-sns-java-messaging-lib</name>
Expand Down

0 comments on commit 66fc8ee

Please sign in to comment.