|
12 | 12 |
|
13 | 13 | <groupId>com.codeaches</groupId> |
14 | 14 | <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> |
16 | 19 |
|
17 | 20 | <properties> |
18 | 21 | <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> |
19 | 26 | </properties> |
20 | 27 |
|
21 | 28 | <dependencies> |
22 | 29 | <dependency> |
23 | 30 | <groupId>org.springframework.boot</groupId> |
24 | 31 | <artifactId>spring-boot-starter</artifactId> |
25 | 32 | </dependency> |
26 | | - |
27 | | - <dependency> |
28 | | - <groupId>org.springframework.boot</groupId> |
29 | | - <artifactId>spring-boot-starter-test</artifactId> |
30 | | - <scope>test</scope> |
31 | | - </dependency> |
32 | 33 | </dependencies> |
33 | 34 |
|
34 | 35 | <build> |
|
41 | 42 | <plugin> |
42 | 43 | <groupId>org.sonatype.plugins</groupId> |
43 | 44 | <artifactId>nexus-staging-maven-plugin</artifactId> |
44 | | - <version>1.6.8</version> |
| 45 | + <version>${nexus-staging-maven-plugin.version}</version> |
45 | 46 | <extensions>true</extensions> |
46 | 47 | <configuration> |
47 | 48 | <serverId>ossrh</serverId> |
|
78 | 79 | <plugin> |
79 | 80 | <groupId>org.apache.maven.plugins</groupId> |
80 | 81 | <artifactId>maven-gpg-plugin</artifactId> |
81 | | - <version>1.6</version> |
| 82 | + <version>${maven-gpg-plugin.version}</version> |
82 | 83 | <executions> |
83 | 84 | <execution> |
84 | 85 | <id>sign-artifacts</id> |
|
104 | 105 | </repository> |
105 | 106 | </distributionManagement> |
106 | 107 |
|
107 | | - <name>Example Application for OSSRH deployment</name> |
108 | | - <description>An example application for which will be deployed to OSSRH</description> |
109 | 108 | <url>https://codeaches.com/</url> |
110 | 109 |
|
111 | 110 | <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> |
112 | 115 | <license> |
113 | 116 | <name>MIT License</name> |
114 | 117 | <url>http://www.opensource.org/licenses/mit-license.php</url> |
|
119 | 122 | <developer> |
120 | 123 | <name>Pavan Gurudutt</name> |
121 | 124 | |
| 125 | + <id>pavan</id> |
| 126 | + <roles> |
| 127 | + <role>Developer</role> |
| 128 | + </roles> |
122 | 129 | <organization>Codeaches</organization> |
123 | 130 | <organizationUrl>https://codeaches.com/</organizationUrl> |
124 | 131 | </developer> |
|
0 commit comments