1+ <?xml version =" 1.0" encoding =" UTF-8" ?>
2+ <project xmlns =" http://maven.apache.org/POM/4.0.0" xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance" xsi : schemaLocation =" http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd" >
3+ <modelVersion >4.0.0</modelVersion >
4+
5+ <groupId >io.github.s-sathish</groupId >
6+ <artifactId >redlock-java</artifactId >
7+ <version >1.0</version >
8+ <name >RedLock-Java</name >
9+ <description >RedLock in Java</description >
10+ <url >https://github.com/s-sathish/redlock-java</url >
11+
12+ <developers >
13+ <developer >
14+ <id >s-sathish</id >
15+ <name >Sathish S</name >
16+ <email >sathish1293@gmail.com</email >
17+ </developer >
18+ </developers >
19+
20+ <licenses >
21+ <license >
22+ <name >MIT</name >
23+ <url >http://github.com/s-sathish/redlock-java/raw/master/LICENSE</url >
24+ <distribution >repo</distribution >
25+ </license >
26+ </licenses >
27+
28+ <scm >
29+ <connection >scm:git:git@github.com:s-sathish/redlock-java.git</connection >
30+ <url >scm:git:git@github.com:s-sathish/redlock-java.git</url >
31+ <developerConnection >scm:git:git@github.com:s-sathish/redlock-java.git</developerConnection >
32+ <tag >redlock-java-1.0</tag >
33+ </scm >
34+
35+ <properties >
36+ <jedis .version>3.6.0</jedis .version>
37+ <slf4j .version>1.7.30</slf4j .version>
38+ <junit .version>4.13.2</junit .version>
39+ <redlock .module.name>redis.lock.redlock</redlock .module.name>
40+ </properties >
41+
42+ <dependencies >
43+ <dependency >
44+ <groupId >redis.clients</groupId >
45+ <artifactId >jedis</artifactId >
46+ <version >${jedis.version} </version >
47+ <type >jar</type >
48+ <scope >compile</scope >
49+ </dependency >
50+
51+ <dependency >
52+ <groupId >org.slf4j</groupId >
53+ <artifactId >slf4j-simple</artifactId >
54+ <version >${slf4j.version} </version >
55+ <scope >test</scope >
56+ </dependency >
57+
58+ <dependency >
59+ <groupId >junit</groupId >
60+ <artifactId >junit</artifactId >
61+ <version >${junit.version} </version >
62+ <scope >test</scope >
63+ </dependency >
64+ </dependencies >
65+
66+ <distributionManagement >
67+ <snapshotRepository >
68+ <id >ossrh</id >
69+ <url >https://oss.sonatype.org/content/repositories/snapshots</url >
70+ </snapshotRepository >
71+ <repository >
72+ <id >ossrh</id >
73+ <url >https://oss.sonatype.org/service/local/staging/deploy/maven2/</url >
74+ </repository >
75+ </distributionManagement >
76+
77+ <build >
78+ <plugins >
79+ <plugin >
80+ <groupId >org.apache.maven.plugins</groupId >
81+ <artifactId >maven-compiler-plugin</artifactId >
82+ <version >3.8.1</version >
83+ <configuration >
84+ <source >1.8</source >
85+ <target >1.8</target >
86+ </configuration >
87+ </plugin >
88+ <plugin >
89+ <groupId >org.apache.maven.plugins</groupId >
90+ <artifactId >maven-surefire-plugin</artifactId >
91+ <version >2.22.2</version >
92+ </plugin >
93+ <plugin >
94+ <groupId >org.apache.maven.plugins</groupId >
95+ <artifactId >maven-source-plugin</artifactId >
96+ <version >3.2.1</version >
97+ <configuration >
98+ <attach >true</attach >
99+ </configuration >
100+ <executions >
101+ <execution >
102+ <id >attach-sources</id >
103+ <goals >
104+ <goal >jar</goal >
105+ </goals >
106+ </execution >
107+ </executions >
108+ </plugin >
109+ <plugin >
110+ <groupId >org.apache.maven.plugins</groupId >
111+ <artifactId >maven-javadoc-plugin</artifactId >
112+ <version >3.2.0</version >
113+ <configuration >
114+ <doclint >none</doclint >
115+ </configuration >
116+ <executions >
117+ <execution >
118+ <id >attach-javadoc</id >
119+ <goals >
120+ <goal >aggregate</goal >
121+ <goal >jar</goal >
122+ </goals >
123+ </execution >
124+ </executions >
125+ </plugin >
126+ <plugin >
127+ <groupId >org.apache.maven.plugins</groupId >
128+ <artifactId >maven-release-plugin</artifactId >
129+ <version >2.5.3</version >
130+ </plugin >
131+ <plugin >
132+ <groupId >org.sonatype.plugins</groupId >
133+ <artifactId >nexus-staging-maven-plugin</artifactId >
134+ <version >1.6.8</version >
135+ <extensions >true</extensions >
136+ <configuration >
137+ <serverId >ossrh</serverId >
138+ <nexusUrl >https://oss.sonatype.org/</nexusUrl >
139+ <autoReleaseAfterClose >true</autoReleaseAfterClose >
140+ </configuration >
141+ </plugin >
142+ <plugin >
143+ <groupId >org.apache.maven.plugins</groupId >
144+ <artifactId >maven-jar-plugin</artifactId >
145+ <version >3.2.0</version >
146+ <configuration >
147+ <archive >
148+ <manifestFile >${project.build.outputDirectory} /META-INF/MANIFEST.MF</manifestFile >
149+ <manifestEntries >
150+ <Automatic-Module-Name >${redlock.module.name} </Automatic-Module-Name >
151+ </manifestEntries >
152+ </archive >
153+ </configuration >
154+ </plugin >
155+ <plugin >
156+ <groupId >org.apache.felix</groupId >
157+ <artifactId >maven-bundle-plugin</artifactId >
158+ <version >4.2.1</version >
159+ <executions >
160+ <execution >
161+ <id >bundle-manifest</id >
162+ <phase >process-classes</phase >
163+ <goals >
164+ <goal >manifest</goal >
165+ </goals >
166+ </execution >
167+ </executions >
168+ </plugin >
169+ </plugins >
170+ </build >
171+
172+ <profiles >
173+ <profile >
174+ <id >release</id >
175+ <build >
176+ <plugins >
177+ <plugin >
178+ <groupId >org.apache.maven.plugins</groupId >
179+ <artifactId >maven-gpg-plugin</artifactId >
180+ <version >1.6</version >
181+ <executions >
182+ <execution >
183+ <id >sign-artifacts</id >
184+ <phase >verify</phase >
185+ <goals >
186+ <goal >sign</goal >
187+ </goals >
188+ </execution >
189+ </executions >
190+ </plugin >
191+ </plugins >
192+ </build >
193+ </profile >
194+ </profiles >
195+
196+ </project >
0 commit comments