|
9 | 9 | <name>square</name> |
10 | 10 | <url>https://github.com/square/square-java-sdk/</url> |
11 | 11 | <description>Java client library for the Square API</description> |
| 12 | + <scm> |
| 13 | + <connection>scm:git:https://github.com/square/square-java-sdk.git</connection> |
| 14 | + < developerConnection>scm:git: [email protected]:square/square-java-sdk.git</ developerConnection> |
| 15 | + <url>https://github.com/square/square-java-sdk/</url> |
| 16 | + </scm> |
| 17 | + <licenses> |
| 18 | + <license> |
| 19 | + <name>Apache 2.0</name> |
| 20 | + <url>http://www.apache.org/licenses/LICENSE-2.0.html</url> |
| 21 | + <distribution>repo</distribution> |
| 22 | + </license> |
| 23 | + </licenses> |
| 24 | + |
| 25 | + <developers> |
| 26 | + <developer> |
| 27 | + <name>Square Inc.</name> |
| 28 | + |
| 29 | + <organization>Square Inc. Developers</organization> |
| 30 | + <organizationUrl>https://squareup.com/developers</organizationUrl> |
| 31 | + </developer> |
| 32 | + </developers> |
| 33 | + |
| 34 | + <distributionManagement> |
| 35 | + <snapshotRepository> |
| 36 | + <id>ossrh</id> |
| 37 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 38 | + </snapshotRepository> |
| 39 | + <repository> |
| 40 | + <id>ossrh</id> |
| 41 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 42 | + </repository> |
| 43 | + </distributionManagement> |
12 | 44 |
|
13 | 45 | <build> |
14 | 46 | <pluginManagement> |
|
81 | 113 | <maven.compiler.target>1.8</maven.compiler.target> |
82 | 114 | </properties> |
83 | 115 |
|
| 116 | + <profiles> |
| 117 | + <profile> |
| 118 | + <id>release</id> |
| 119 | + <activation> |
| 120 | + <property> |
| 121 | + <name>release</name> |
| 122 | + </property> |
| 123 | + </activation> |
| 124 | + <build> |
| 125 | + <plugins> |
| 126 | + <!-- To release to Maven central --> |
| 127 | + <plugin> |
| 128 | + <groupId>org.sonatype.plugins</groupId> |
| 129 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 130 | + <version>1.6.8</version> |
| 131 | + <extensions>true</extensions> |
| 132 | + <configuration> |
| 133 | + <serverId>ossrh</serverId> |
| 134 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 135 | + <autoreleaseafterclose>true</autoreleaseafterclose> |
| 136 | + </configuration> |
| 137 | + </plugin> |
| 138 | + <!-- To generate javadoc --> |
| 139 | + <plugin> |
| 140 | + <groupId>org.apache.maven.plugins</groupId> |
| 141 | + <artifactId>maven-source-plugin</artifactId> |
| 142 | + <version>3.0.1</version> |
| 143 | + <executions> |
| 144 | + <execution> |
| 145 | + <id>attach-sources</id> |
| 146 | + <goals> |
| 147 | + <goal>jar-no-fork</goal> |
| 148 | + </goals> |
| 149 | + </execution> |
| 150 | + </executions> |
| 151 | + </plugin> |
| 152 | + <plugin> |
| 153 | + <groupId>org.apache.maven.plugins</groupId> |
| 154 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 155 | + <version>2.10.4</version> |
| 156 | + <executions> |
| 157 | + <execution> |
| 158 | + <id>attach-javadocs</id> |
| 159 | + <goals> |
| 160 | + <goal>jar</goal> |
| 161 | + </goals> |
| 162 | + </execution> |
| 163 | + </executions> |
| 164 | + </plugin> |
| 165 | + |
| 166 | + <!-- To sign the artifacts --> |
| 167 | + <plugin> |
| 168 | + <groupId>org.apache.maven.plugins</groupId> |
| 169 | + <artifactId>maven-gpg-plugin</artifactId> |
| 170 | + <version>1.6</version> |
| 171 | + <executions> |
| 172 | + <execution> |
| 173 | + <id>sign-artifacts</id> |
| 174 | + <phase>verify</phase> |
| 175 | + <goals> |
| 176 | + <goal>sign</goal> |
| 177 | + </goals> |
| 178 | + </execution> |
| 179 | + </executions> |
| 180 | + </plugin> |
| 181 | + </plugins> |
| 182 | + </build> |
| 183 | + </profile> |
| 184 | + </profiles> |
| 185 | + |
84 | 186 | <dependencies> |
85 | 187 | <dependency> |
86 | 188 | <groupId>com.squareup.okhttp3</groupId> |
|
0 commit comments