|
1 | | -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 1 | +<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0" |
2 | 2 | xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
3 | 3 | <modelVersion>4.0.0</modelVersion> |
4 | 4 |
|
5 | 5 | <groupId>me.desair.tus</groupId> |
6 | 6 | <artifactId>tus-java-server</artifactId> |
7 | | - <version>1.0.0-0.1-SNAPSHOT</version> |
| 7 | + <version>1.0.0-1.0-SNAPSHOT</version> |
8 | 8 | <packaging>jar</packaging> |
9 | 9 |
|
10 | | - <name>tus-java-server</name> |
| 10 | + <name>${project.groupId}:${project.artifactId}</name> |
| 11 | + <description> |
| 12 | + Server-side implementation of the open file upload protocol tus (https://tus.io/) |
| 13 | + that supports resumable file uploads for small and very large files |
| 14 | + </description> |
| 15 | + <url>https://github.com/tomdesair/tus-java-server</url> |
11 | 16 |
|
12 | 17 | <properties> |
13 | 18 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
319 | 324 | </plugins> |
320 | 325 | </build> |
321 | 326 | </profile> |
| 327 | + |
| 328 | + <profile> |
| 329 | + <id>release</id> |
| 330 | + <activation> |
| 331 | + <activeByDefault>false</activeByDefault> |
| 332 | + </activation> |
| 333 | + <build> |
| 334 | + <plugins> |
| 335 | + <!-- Configure Nexus plugin for new releases via Sonatype. |
| 336 | + See: http://central.sonatype.org/pages/apache-maven.html --> |
| 337 | + <plugin> |
| 338 | + <groupId>org.sonatype.plugins</groupId> |
| 339 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 340 | + <version>1.6.7</version> |
| 341 | + <extensions>true</extensions> |
| 342 | + <configuration> |
| 343 | + <!-- In your settings.xml, your username/password |
| 344 | + MUST be specified for server 'ossrh' --> |
| 345 | + <serverId>ossrh</serverId> |
| 346 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 347 | + <!-- Require manual verification / release to Maven Central --> |
| 348 | + <autoReleaseAfterClose>false</autoReleaseAfterClose> |
| 349 | + </configuration> |
| 350 | + </plugin> |
| 351 | + <!-- For new releases, generate Source JAR files --> |
| 352 | + <plugin> |
| 353 | + <groupId>org.apache.maven.plugins</groupId> |
| 354 | + <artifactId>maven-source-plugin</artifactId> |
| 355 | + <version>3.0.1</version> |
| 356 | + <executions> |
| 357 | + <execution> |
| 358 | + <id>attach-sources</id> |
| 359 | + <goals> |
| 360 | + <goal>jar-no-fork</goal> |
| 361 | + </goals> |
| 362 | + </execution> |
| 363 | + </executions> |
| 364 | + </plugin> |
| 365 | + <!-- For new releases, generate JavaDocs --> |
| 366 | + <plugin> |
| 367 | + <groupId>org.apache.maven.plugins</groupId> |
| 368 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 369 | + <version>3.0.1</version> |
| 370 | + <executions> |
| 371 | + <execution> |
| 372 | + <id>attach-javadocs</id> |
| 373 | + <goals> |
| 374 | + <goal>aggregate-jar</goal> |
| 375 | + </goals> |
| 376 | + </execution> |
| 377 | + </executions> |
| 378 | + </plugin> |
| 379 | + <!-- Sign any new releases via GPG. |
| 380 | + NOTE: you may optionally specify the "gpg.passphrase" in your settings.xml --> |
| 381 | + <plugin> |
| 382 | + <groupId>org.apache.maven.plugins</groupId> |
| 383 | + <artifactId>maven-gpg-plugin</artifactId> |
| 384 | + <version>1.6</version> |
| 385 | + <executions> |
| 386 | + <execution> |
| 387 | + <id>sign-artifacts</id> |
| 388 | + <phase>verify</phase> |
| 389 | + <goals> |
| 390 | + <goal>sign</goal> |
| 391 | + </goals> |
| 392 | + </execution> |
| 393 | + </executions> |
| 394 | + </plugin> |
| 395 | + </plugins> |
| 396 | + </build> |
| 397 | + </profile> |
322 | 398 | </profiles> |
323 | 399 |
|
| 400 | + <distributionManagement> |
| 401 | + <snapshotRepository> |
| 402 | + <id>ossrh</id> |
| 403 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 404 | + </snapshotRepository> |
| 405 | + <repository> |
| 406 | + <id>ossrh</id> |
| 407 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 408 | + </repository> |
| 409 | + </distributionManagement> |
| 410 | + |
| 411 | + <licenses> |
| 412 | + <license> |
| 413 | + <name>MIT License</name> |
| 414 | + <url>http://www.opensource.org/licenses/mit-license.php</url> |
| 415 | + </license> |
| 416 | + </licenses> |
| 417 | + |
| 418 | + <developers> |
| 419 | + <developer> |
| 420 | + <name>Tom Desair</name> |
| 421 | + <email>tus@desair.me</email> |
| 422 | + <organizationUrl>https://github.com/tomdesair/tus-java-server</organizationUrl> |
| 423 | + </developer> |
| 424 | + </developers> |
| 425 | + |
| 426 | + <scm> |
| 427 | + <connection>scm:git:https://github.com/tomdesair/tus-java-server.git</connection> |
| 428 | + <developerConnection>scm:git:ssh://github.com:tomdesair/tus-java-server.git</developerConnection> |
| 429 | + <url>https://github.com/tomdesair/tus-java-server/tree/master</url> |
| 430 | + </scm> |
| 431 | + |
324 | 432 | </project> |
0 commit comments