|
5 | 5 | <modelVersion>4.0.0</modelVersion> |
6 | 6 |
|
7 | 7 | <groupId>com.vesoft</groupId> |
8 | | - <artifactId>nebula-spark</artifactId> |
| 8 | + <artifactId>algorithm</artifactId> |
9 | 9 | <packaging>pom</packaging> |
10 | 10 | <version>2.5-SNAPSHOT</version> |
11 | 11 |
|
|
51 | 51 |
|
52 | 52 | <distributionManagement> |
53 | 53 | <repository> |
54 | | - <id>release</id> |
55 | | - <url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 54 | + <id>ossrh</id> |
| 55 | + <name>Nexus Release Repository</name> |
| 56 | + <url>https://oss.sonatype.org/service/local/staging/deploy/maven2</url> |
56 | 57 | </repository> |
57 | 58 | <snapshotRepository> |
58 | | - <id>snapshots</id> |
59 | | - <url>https://oss.sonatype.org/content/repositories/snapshots/</url> |
| 59 | + <id>ossrh</id> |
| 60 | + <name>Nexus Snapshot Repository</name> |
| 61 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
60 | 62 | </snapshotRepository> |
61 | 63 | </distributionManagement> |
62 | 64 |
|
| 65 | + <profiles> |
| 66 | + <!-- Deployment profile (required so these plugins are only used when deploying) --> |
| 67 | + <profile> |
| 68 | + <id>deploy</id> |
| 69 | + <build> |
| 70 | + <plugins> |
| 71 | + <!-- Source plugin --> |
| 72 | + <plugin> |
| 73 | + <groupId>org.apache.maven.plugins</groupId> |
| 74 | + <artifactId>maven-source-plugin</artifactId> |
| 75 | + <version>3.2.0</version> |
| 76 | + <executions> |
| 77 | + <execution> |
| 78 | + <id>attach-sources</id> |
| 79 | + <goals> |
| 80 | + <goal>jar-no-fork</goal> |
| 81 | + </goals> |
| 82 | + </execution> |
| 83 | + </executions> |
| 84 | + </plugin> |
| 85 | + <!-- Javadoc plugin --> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 89 | + <version>3.2.0</version> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <id>attach-javadocs</id> |
| 93 | + <goals> |
| 94 | + <goal>jar</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + |
| 100 | + <!-- GPG plugin --> |
| 101 | + <plugin> |
| 102 | + <groupId>org.apache.maven.plugins</groupId> |
| 103 | + <artifactId>maven-gpg-plugin</artifactId> |
| 104 | + <version>1.6</version> |
| 105 | + <executions> |
| 106 | + <execution> |
| 107 | + <id>sign-artifacts</id> |
| 108 | + <phase>verify</phase> |
| 109 | + <goals> |
| 110 | + <goal>sign</goal> |
| 111 | + </goals> |
| 112 | + <configuration> |
| 113 | + <!-- Prevent `gpg` from using pinentry programs --> |
| 114 | + <gpgArguments> |
| 115 | + <arg>--pinentry-mode</arg> |
| 116 | + <arg>loopback</arg> |
| 117 | + </gpgArguments> |
| 118 | + </configuration> |
| 119 | + </execution> |
| 120 | + </executions> |
| 121 | + </plugin> |
| 122 | + </plugins> |
| 123 | + </build> |
| 124 | + </profile> |
| 125 | + </profiles> |
| 126 | + |
63 | 127 | <build> |
64 | 128 | <plugins> |
| 129 | + <!-- Nexus Staging Plugin --> |
65 | 130 | <plugin> |
66 | | - <groupId>org.apache.maven.plugins</groupId> |
67 | | - <artifactId>maven-gpg-plugin</artifactId> |
68 | | - <version>1.6</version> |
69 | | - <executions> |
70 | | - <execution> |
71 | | - <phase>verify</phase> |
72 | | - <goals> |
73 | | - <goal>sign</goal> |
74 | | - </goals> |
75 | | - </execution> |
76 | | - </executions> |
| 131 | + <groupId>org.sonatype.plugins</groupId> |
| 132 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 133 | + <version>1.6.8</version> |
| 134 | + <extensions>true</extensions> |
| 135 | + <configuration> |
| 136 | + <serverId>ossrh</serverId> |
| 137 | + <nexusUrl>https://oss.sonatype.org/</nexusUrl> |
| 138 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 139 | + </configuration> |
77 | 140 | </plugin> |
78 | 141 | </plugins> |
79 | 142 | </build> |
|
0 commit comments