-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpom.xml
More file actions
126 lines (115 loc) · 4.83 KB
/
Copy pathpom.xml
File metadata and controls
126 lines (115 loc) · 4.83 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?xml version="1.0" encoding="UTF-8"?>
<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">
<modelVersion>4.0.0</modelVersion>
<groupId>dev.ucash</groupId>
<artifactId>ucashpay-java</artifactId>
<version>0.1.0</version>
<packaging>jar</packaging>
<name>ucashpay-java</name>
<description>Java client for U.CASH Pay: build a hosted pay link + create a server-side checkout. Non-custodial.</description>
<url>https://pay.u.cash</url>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<developers>
<developer>
<name>U.CASH</name>
<email>hello@u.cash</email>
<organization>U.CASH</organization>
<organizationUrl>https://u.cash</organizationUrl>
</developer>
</developers>
<scm>
<connection>scm:git:git://github.com/UdotCASH/ucashpay-java.git</connection>
<developerConnection>scm:git:ssh://github.com/UdotCASH/ucashpay-java.git</developerConnection>
<url>https://github.com/UdotCASH/ucashpay-java</url>
</scm>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<!-- Java 11+: the client uses URLEncoder.encode(String, Charset), a
Java 10+ overload. 11 is the LTS floor for a 2026 release. -->
<maven.compiler.release>11</maven.compiler.release>
</properties>
<dependencies>
<!-- No external runtime dependencies. Uses only the JDK
(java.net.HttpURLConnection), so the client works on any
Java 11+ runtime with zero additional jars. -->
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.2</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.11.0</version>
<configuration>
<release>11</release>
</configuration>
</plugin>
<!-- Attach a sources jar (Maven Central requires one). -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Attach a javadoc jar (Maven Central requires one). Relax doclint
so a stray doc warning never blocks the release build. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<doclint>none</doclint>
<failOnError>false</failOnError>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Publish to the Sonatype Central Portal (the OSSRH replacement).
The "central" server credentials live in ~/.m2/settings.xml as the
Central Portal username + access token; tokenAuth=true. With
autoPublish the upload is released without a manual Portal click. -->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>0.6.0</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>central</publishingServerId>
<tokenAuth>true</tokenAuth>
<autoPublish>true</autoPublish>
</configuration>
</plugin>
</plugins>
</build>
</project>