Skip to content

Commit 36d403c

Browse files
authored
fix: Change version to 0.1.0 to publish to Maven (#13)
- Change version number to 0.1.0. - Fix Sonatype repository URL for AWS - Add version number to dependencies - Remove annotation about Maven availability in the README (it's available through Maven now)
1 parent 022133a commit 36d403c

2 files changed

Lines changed: 6 additions & 7 deletions

File tree

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ their functions against potential bugs unique to AWS Lambda SnapStart environmen
77

88
Following sections explain how to enable this plugin in your Gradle and Maven projects.
99

10-
| :exclamation: Maven repository may not have the artifact available by the time you're reading these instructions. Until it's available, you can clone this repository to your local and run `mvn install` to install this SpotBugs plugin to your local Maven repository. After that you can continue with the setup instructions below.|
11-
|-----------------------------------------|
12-
1310
### Gradle Builds
1411

1512
After SpotBugs is [enabled in the Gradle project](https://spotbugs.readthedocs.io/en/latest/gradle.html) declaring a dependency on SnapStart bug scanner is sufficient.
@@ -28,7 +25,7 @@ spotbugs {
2825

2926
dependencies {
3027
spotbugs("com.github.spotbugs:spotbugs:4.7.3")
31-
spotbugsPlugins("software.amazon.lambda.snapstart:aws-lambda-snapstart-java-rules:0.1")
28+
spotbugsPlugins("software.amazon.lambda.snapstart:aws-lambda-snapstart-java-rules:0.1.0")
3229
}
3330
```
3431

@@ -55,7 +52,7 @@ Example:
5552
<plugin>
5653
<groupId>software.amazon.lambda.snapstart</groupId>
5754
<artifactId>aws-lambda-snapstart-java-rules</artifactId>
58-
<version>0.1</version>
55+
<version>0.1.0</version>
5956
</plugin>
6057
</plugins>
6158
</configuration>

pom.xml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
<groupId>software.amazon.lambda.snapstart</groupId>
66
<artifactId>aws-lambda-snapstart-java-rules</artifactId>
7-
<version>0.1</version>
7+
<version>0.1.0</version>
88
<name>${project.groupId}:${project.artifactId}</name>
99
<description>AWS Lambda SnapStart SpotBugs Rules</description>
1010
<url>https://github.com/aws/aws-lambda-snapstart-java-rules</url>
@@ -41,7 +41,7 @@
4141
<repository>
4242
<id>ossrh</id>
4343
<name>Nexus Release Repository</name>
44-
<url>https://aws.oss.sonatype.org/content/repositories/releases</url>
44+
<url>https://aws.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
4545
</repository>
4646
</distributionManagement>
4747

@@ -164,6 +164,7 @@
164164
<plugin>
165165
<groupId>org.apache.maven.plugins</groupId>
166166
<artifactId>maven-javadoc-plugin</artifactId>
167+
<version>3.4.1</version>
167168
<executions>
168169
<execution>
169170
<id>attach-javadoc</id>
@@ -176,6 +177,7 @@
176177
<plugin>
177178
<groupId>org.apache.maven.plugins</groupId>
178179
<artifactId>maven-source-plugin</artifactId>
180+
<version>3.2.1</version>
179181
<executions>
180182
<execution>
181183
<id>attach-source</id>

0 commit comments

Comments
 (0)