|
1 | 1 | <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/maven-v4_0_0.xsd"> |
2 | 2 | <modelVersion>4.0.0</modelVersion> |
3 | | - <parent> |
4 | | - <groupId>org.sonatype.oss</groupId> |
5 | | - <artifactId>oss-parent</artifactId> |
6 | | - <version>7</version> |
7 | | - </parent> |
8 | 3 |
|
9 | 4 | <groupId>com.cybersource</groupId> |
10 | 5 | <artifactId>cybersource-rest-client-java</artifactId> |
|
18 | 13 | <connection>scm:git:https://github.com/CyberSource/cybersource-rest-client-java.git</connection> |
19 | 14 | <developerConnection>scm:git:https://github.com/CyberSource/cybersource-rest-client-java.git</developerConnection> |
20 | 15 | <url>https://github.com/CyberSource/cybersource-rest-client-java.git</url> |
21 | | - </scm> |
| 16 | + </scm> |
22 | 17 |
|
23 | 18 | <licenses> |
24 | 19 | <license> |
|
146 | 141 | </plugin> |
147 | 142 | <plugin> |
148 | 143 | <groupId>org.apache.maven.plugins</groupId> |
149 | | - <artifactId>maven-javadoc-plugin</artifactId> |
150 | | - <version>2.10.4</version> |
| 144 | + <artifactId>maven-source-plugin</artifactId> |
| 145 | + <version>2.2.1</version> |
151 | 146 | <executions> |
152 | 147 | <execution> |
153 | | - <id>attach-javadocs</id> |
| 148 | + <id>attach-sources</id> |
154 | 149 | <goals> |
155 | | - <goal>jar</goal> |
| 150 | + <goal>jar-no-fork</goal> |
156 | 151 | </goals> |
157 | 152 | </execution> |
158 | 153 | </executions> |
159 | 154 | </plugin> |
160 | 155 | <plugin> |
161 | 156 | <groupId>org.apache.maven.plugins</groupId> |
162 | | - <artifactId>maven-source-plugin</artifactId> |
163 | | - <version>2.2.1</version> |
| 157 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 158 | + <version>2.10.4</version> |
164 | 159 | <executions> |
165 | 160 | <execution> |
166 | | - <id>attach-sources</id> |
| 161 | + <id>attach-javadocs</id> |
167 | 162 | <goals> |
168 | | - <goal>jar-no-fork</goal> |
| 163 | + <goal>jar</goal> |
169 | 164 | </goals> |
170 | 165 | </execution> |
171 | 166 | </executions> |
|
174 | 169 | </build> |
175 | 170 |
|
176 | 171 | <profiles> |
177 | | - <profile> |
178 | | - <id>sign-artifacts</id> |
179 | | - <build> |
180 | | - <plugins> |
181 | | - <plugin> |
182 | | - <groupId>org.apache.maven.plugins</groupId> |
183 | | - <artifactId>maven-gpg-plugin</artifactId> |
184 | | - <version>1.5</version> |
185 | | - <executions> |
186 | | - <execution> |
187 | | - <id>sign-artifacts</id> |
188 | | - <phase>verify</phase> |
189 | | - <goals> |
190 | | - <goal>sign</goal> |
191 | | - </goals> |
192 | | - </execution> |
193 | | - </executions> |
194 | | - </plugin> |
195 | | - </plugins> |
196 | | - </build> |
197 | | - </profile> |
| 172 | + <profile> |
| 173 | + <id>release</id> |
| 174 | + <activation> |
| 175 | + <activeByDefault>false</activeByDefault> |
| 176 | + </activation> |
| 177 | + <build> |
| 178 | + <plugins> |
| 179 | + <plugin> |
| 180 | + <groupId>org.apache.maven.plugins</groupId> |
| 181 | + <artifactId>maven-gpg-plugin</artifactId> |
| 182 | + <version>1.5</version> |
| 183 | + <executions> |
| 184 | + <execution> |
| 185 | + <id>sign-artifacts</id> |
| 186 | + <phase>verify</phase> |
| 187 | + <goals> |
| 188 | + <goal>sign</goal> |
| 189 | + </goals> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.apache.maven.plugins</groupId> |
| 195 | + <artifactId>maven-enforcer-plugin</artifactId> |
| 196 | + <version>3.0.0-M1</version> |
| 197 | + <executions> |
| 198 | + <execution> |
| 199 | + <id>enforce-maven</id> |
| 200 | + <goals> |
| 201 | + <goal>enforce</goal> |
| 202 | + </goals> |
| 203 | + <configuration> |
| 204 | + <rules> |
| 205 | + <requireMavenVersion> |
| 206 | + <version>2.2.0</version> |
| 207 | + </requireMavenVersion> |
| 208 | + </rules> |
| 209 | + </configuration> |
| 210 | + </execution> |
| 211 | + </executions> |
| 212 | + </plugin> |
| 213 | + <plugin> |
| 214 | + <groupId>org.sonatype.central</groupId> |
| 215 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 216 | + <version>0.7.0</version> |
| 217 | + <extensions>true</extensions> |
| 218 | + <configuration> |
| 219 | + <checksums>required</checksums> |
| 220 | + <skipPublishing>false</skipPublishing> |
| 221 | + <publishingServerId>sonatype-nexus-staging</publishingServerId> |
| 222 | + </configuration> |
| 223 | + </plugin> |
| 224 | + </plugins> |
| 225 | + </build> |
| 226 | + </profile> |
| 227 | + |
198 | 228 | </profiles> |
199 | 229 |
|
200 | 230 | <dependencies> |
|
0 commit comments