Skip to content

Commit 6f82487

Browse files
committed
no message
1 parent fc7d455 commit 6f82487

File tree

3 files changed

+38
-28
lines changed

3 files changed

+38
-28
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
[![License MIT][MIT badge]][MIT]
2+
[![License ASL 2.0][ASL 2.0 badge]][ASL 2.0]
3+
[![Maven Central][Maven Central badge]][Maven Central]
4+
5+
The **current** version of this project is licensed under both [MIT] and [ASL 2.0].
6+
7+
## Relevant documents
8+
9+
The tutorial related to this project can be found on [codeaches website]
10+
11+
[MIT badge]: https://img.shields.io/:license-MIT%202.0-blue.svg
12+
[MIT]: https://opensource.org/licenses/mit-license.php
13+
14+
[ASL 2.0 badge]: https://img.shields.io/:license-Apache%202.0-blue.svg
15+
[ASL 2.0]: http://www.apache.org/licenses/LICENSE-2.0.html
16+
17+
[Maven Central badge]: https://img.shields.io/maven-central/v/com.codeaches/ossrhexample/1.0.0.svg?colorB=green&style=flat
18+
[Maven Central]: https://mvnrepository.com/artifact/com.codeaches/ossrhexample/1.0.0
19+
20+
[codeaches website]: https://codeaches.com/blog/deploy-jar-to-ossrh-apache-maven

pom.xml

Lines changed: 18 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -12,23 +12,24 @@
1212

1313
<groupId>com.codeaches</groupId>
1414
<artifactId>ossrhexample</artifactId>
15-
<version>0.0.2</version>
15+
<version>1.0.0</version>
16+
17+
<name>Example Application for OSSRH deployment</name>
18+
<description>An example application for which will be deployed to OSSRH</description>
1619

1720
<properties>
1821
<java.version>11</java.version>
22+
<maven.compiler.source>${java.version}</maven.compiler.source>
23+
<maven.compiler.target>${java.version}</maven.compiler.target>
24+
<nexus-staging-maven-plugin.version>1.6.8</nexus-staging-maven-plugin.version>
25+
<maven-gpg-plugin.version>1.6</maven-gpg-plugin.version>
1926
</properties>
2027

2128
<dependencies>
2229
<dependency>
2330
<groupId>org.springframework.boot</groupId>
2431
<artifactId>spring-boot-starter</artifactId>
2532
</dependency>
26-
27-
<dependency>
28-
<groupId>org.springframework.boot</groupId>
29-
<artifactId>spring-boot-starter-test</artifactId>
30-
<scope>test</scope>
31-
</dependency>
3233
</dependencies>
3334

3435
<build>
@@ -41,7 +42,7 @@
4142
<plugin>
4243
<groupId>org.sonatype.plugins</groupId>
4344
<artifactId>nexus-staging-maven-plugin</artifactId>
44-
<version>1.6.8</version>
45+
<version>${nexus-staging-maven-plugin.version}</version>
4546
<extensions>true</extensions>
4647
<configuration>
4748
<serverId>ossrh</serverId>
@@ -78,7 +79,7 @@
7879
<plugin>
7980
<groupId>org.apache.maven.plugins</groupId>
8081
<artifactId>maven-gpg-plugin</artifactId>
81-
<version>1.6</version>
82+
<version>${maven-gpg-plugin.version}</version>
8283
<executions>
8384
<execution>
8485
<id>sign-artifacts</id>
@@ -104,11 +105,13 @@
104105
</repository>
105106
</distributionManagement>
106107

107-
<name>Example Application for OSSRH deployment</name>
108-
<description>An example application for which will be deployed to OSSRH</description>
109108
<url>https://codeaches.com/</url>
110109

111110
<licenses>
111+
<license>
112+
<name>Apache License, Version 2.0</name>
113+
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
114+
</license>
112115
<license>
113116
<name>MIT License</name>
114117
<url>http://www.opensource.org/licenses/mit-license.php</url>
@@ -119,6 +122,10 @@
119122
<developer>
120123
<name>Pavan Gurudutt</name>
121124
<email>[email protected]</email>
125+
<id>pavan</id>
126+
<roles>
127+
<role>Developer</role>
128+
</roles>
122129
<organization>Codeaches</organization>
123130
<organizationUrl>https://codeaches.com/</organizationUrl>
124131
</developer>

src/test/java/com/codeaches/ossrhexample/DemoApplicationTests.java

Lines changed: 0 additions & 17 deletions
This file was deleted.

0 commit comments

Comments
 (0)