|
203 | 203 | <url>https://github.com/clojure/clojurescript</url>
|
204 | 204 | </scm>
|
205 | 205 |
|
| 206 | +<!-- |
206 | 207 | <parent>
|
207 | 208 | <groupId>org.clojure</groupId>
|
208 | 209 | <artifactId>pom.contrib</artifactId>
|
209 |
| - <version>1.1.0</version> |
| 210 | + <version>0.1.2</version> |
| 211 | + </parent> |
| 212 | +--> |
| 213 | + |
| 214 | + <parent> |
| 215 | + <groupId>org.sonatype.oss</groupId> |
| 216 | + <artifactId>oss-parent</artifactId> |
| 217 | + <version>7</version> |
210 | 218 | </parent>
|
211 | 219 |
|
212 | 220 | <properties>
|
|
341 | 349 | </plugin>
|
342 | 350 | <plugin>
|
343 | 351 | <groupId>org.apache.maven.plugins</groupId>
|
344 |
| - <artifactId>maven-compiler-plugin</artifactId> |
345 |
| - <version>3.1</version> |
| 352 | + <artifactId>maven-gpg-plugin</artifactId> |
| 353 | + <version>1.4</version> |
346 | 354 | <configuration>
|
347 |
| - <source>1.8</source> |
348 |
| - <target>1.8</target> |
| 355 | + <keyname>Clojure/core</keyname> |
349 | 356 | </configuration>
|
350 | 357 | </plugin>
|
351 | 358 | <plugin>
|
352 | 359 | <groupId>org.apache.maven.plugins</groupId>
|
353 |
| - <artifactId>maven-release-plugin</artifactId> |
354 |
| - <version>2.5.3</version> |
| 360 | + <artifactId>maven-compiler-plugin</artifactId> |
| 361 | + <version>3.1</version> |
355 | 362 | <configuration>
|
356 |
| - <tagNameFormat>r@{project.version}</tagNameFormat> |
| 363 | + <source>1.7</source> |
| 364 | + <target>1.7</target> |
357 | 365 | </configuration>
|
358 | 366 | </plugin>
|
359 | 367 | </plugins>
|
360 | 368 | </build>
|
| 369 | + |
| 370 | + <profiles> |
| 371 | + <profile> |
| 372 | + <id>sonatype-oss-release</id> |
| 373 | +<!-- This profile is enabled automatically by the Sonatype |
| 374 | + oss-parent POM when invoking the Maven Release Plugin--> |
| 375 | + <build> |
| 376 | + <plugins> |
| 377 | + <plugin> |
| 378 | + <groupId>org.apache.maven.plugins</groupId> |
| 379 | + <artifactId>maven-deploy-plugin</artifactId> |
| 380 | + <version>2.7</version> |
| 381 | + <configuration> |
| 382 | + <skip>true</skip> |
| 383 | + </configuration> |
| 384 | + </plugin> |
| 385 | + <plugin> |
| 386 | + <groupId>org.sonatype.plugins</groupId> |
| 387 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 388 | + <version>1.6.5</version> |
| 389 | + <executions> |
| 390 | + <execution> |
| 391 | + <id>default-deploy</id> |
| 392 | + <phase>deploy</phase> |
| 393 | +<!-- By default, this is the phase deploy goal will bind to--> |
| 394 | + <goals> |
| 395 | + <goal>deploy</goal> |
| 396 | + </goals> |
| 397 | + </execution> |
| 398 | + </executions> |
| 399 | + <configuration> |
| 400 | +<!-- The Base URL of Nexus instance where we want to stage--> |
| 401 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 402 | +<!-- The server "id" element from settings to use authentication from--> |
| 403 | + <serverId>sonatype-nexus-staging</serverId> |
| 404 | + </configuration> |
| 405 | + </plugin> |
| 406 | + </plugins> |
| 407 | + </build> |
| 408 | + </profile> |
| 409 | + </profiles> |
361 | 410 | </project>
|