Skip to content

Commit 7967501

Browse files
author
Arun Gopalpuri
committed
adding license and doc plugins
1 parent ff4426d commit 7967501

File tree

2 files changed

+82
-5
lines changed

2 files changed

+82
-5
lines changed

LICENSE

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
Copyright 2024 Arun Gopalpuri
2+
3+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated
4+
documentation files (the “Software”), to deal in the Software without restriction, including without limitation
5+
the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software,
6+
and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
7+
8+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
9+
10+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
11+
WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
12+
COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
13+
ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

pom.xml

+69-5
Original file line numberDiff line numberDiff line change
@@ -7,30 +7,39 @@
77
<version>1.0.0</version>
88
<packaging>pom</packaging>
99
<name>Idempotent</name>
10-
<description>Annotation to make services Idempotent</description>
11-
<url>https://github.com/arun0009/idempotent</url>
10+
<description>Make your APIs Idempotent</description>
11+
<licenses>
12+
<license>
13+
<name>MIT License</name>
14+
<url>https://opensource.org/license/mit</url>
15+
</license>
16+
</licenses>
1217
<developers>
1318
<developer>
1419
<name>Arun Gopalpuri</name>
1520
<url>https://github.com/arun0009/</url>
1621
<organizationUrl>https://github.com/arun0009/idempotent</organizationUrl>
1722
</developer>
1823
</developers>
19-
2024
<modules>
2125
<module>idempotent-core</module>
2226
<module>idempotent-redis</module>
2327
<module>idempotent-dynamo</module>
2428
</modules>
2529
<scm>
26-
<url>https://github.com/arun0009/idempotent.git</url>
30+
<connection>scm:git:git@github.com:arun0009/idempotent.git</connection>
31+
<developerConnection>scm:git:ssh://github.com:arun0009/idempotent.git</developerConnection>
32+
<url>https://github.com/arun0009/idempotent/tree/main</url>
2733
</scm>
28-
2934
<distributionManagement>
3035
<snapshotRepository>
3136
<id>ossrh</id>
3237
<url>https://aws.oss.sonatype.org/content/repositories/snapshots</url>
3338
</snapshotRepository>
39+
<repository>
40+
<id>ossrh</id>
41+
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url>
42+
</repository>
3443
</distributionManagement>
3544

3645
<properties>
@@ -82,6 +91,33 @@
8291
</dependencies>
8392
<build>
8493
<plugins>
94+
<plugin>
95+
<artifactId>maven-source-plugin</artifactId>
96+
<version>3.3.1</version>
97+
<executions>
98+
<execution>
99+
<id>attach-sources</id>
100+
<goals>
101+
<goal>jar-no-fork</goal>
102+
</goals>
103+
</execution>
104+
</executions>
105+
</plugin>
106+
<plugin>
107+
<artifactId>maven-javadoc-plugin</artifactId>
108+
<version>3.6.3</version>
109+
<executions>
110+
<execution>
111+
<id>attach-javadocs</id>
112+
<goals>
113+
<goal>jar</goal>
114+
</goals>
115+
<configuration>
116+
<failOnError>false</failOnError>
117+
</configuration>
118+
</execution>
119+
</executions>
120+
</plugin>
85121
<plugin>
86122
<groupId>org.apache.maven.plugins</groupId>
87123
<artifactId>maven-jar-plugin</artifactId>
@@ -169,4 +205,32 @@
169205
</plugin>
170206
</plugins>
171207
</build>
208+
<profiles>
209+
<profile>
210+
<id>upload</id>
211+
<build>
212+
<plugins>
213+
<plugin>
214+
<artifactId>maven-gpg-plugin</artifactId>
215+
<version>3.2.4</version>
216+
<executions>
217+
<execution>
218+
<id>sign-artifacts</id>
219+
<goals>
220+
<goal>sign</goal>
221+
</goals>
222+
<phase>verify</phase>
223+
<configuration>
224+
<gpgArguments>
225+
<arg>--pinentry-mode</arg>
226+
<arg>loopback</arg>
227+
</gpgArguments>
228+
</configuration>
229+
</execution>
230+
</executions>
231+
</plugin>
232+
</plugins>
233+
</build>
234+
</profile>
235+
</profiles>
172236
</project>

0 commit comments

Comments
 (0)