Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
时空开放平台
spatiotemporal-core
Commits
f4dad3b6
Commit
f4dad3b6
authored
Jan 22, 2024
by
侯力峰
Browse files
修改pom文件,采用多profile配置以分别管理提交到公司私仓和maven中央仓库。
parent
f5dd4179
Changes
1
Hide whitespace changes
Inline
Side-by-side
pom.xml
View file @
f4dad3b6
...
...
@@ -6,7 +6,7 @@
<modelVersion>
4.0.0
</modelVersion>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-core
</artifactId>
<version>
1.0.0-
RELEASE
</version>
<version>
1.0.0-
SNAPSHOT
</version>
<packaging>
jar
</packaging>
<name>
spatiotemporal-core
</name>
<description>
时空开放平台核心模块
</description>
...
...
@@ -23,10 +23,6 @@
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<gpg.passphrase>
inzY@2021
</gpg.passphrase>
<gpg.keyname>
B8C1C0AE356B473E3C370EA40C4297A10DC28BE0
</gpg.keyname>
<gpg.homedir>
C:\\Users\\marquis\\AppData\\Roaming\\gnupg
</gpg.homedir>
</properties>
<dependencies>
...
...
@@ -122,19 +118,6 @@
<tag>
${project.version}
</tag>
</scm>
<!-- 中央仓库OSSRH地址配置 -->
<distributionManagement>
<snapshotRepository>
<id>
ossrh
</id>
<url>
https://s01.oss.sonatype.org/content/repositories/snapshots
</url>
</snapshotRepository>
<repository>
<id>
ossrh
</id>
<url>
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
...
...
@@ -145,60 +128,6 @@
<target>
1.8
</target>
</configuration>
</plugin>
<!-- Source -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<version>
2.2.1
</version>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar-no-fork
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc工具 -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-javadoc-plugin
</artifactId>
<version>
2.10.4
</version>
<configuration>
<additionalJOptions>
<additionalJOption>
-Xdoclint:none
</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
<phase>
package
</phase>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-gpg-plugin
</artifactId>
<version>
1.6
</version>
<configuration>
<gpgArguments>
<arg>
--pinentry-mode
</arg>
<arg>
loopback
</arg>
</gpgArguments>
</configuration>
<executions>
<execution>
<id>
sign-artifacts
</id>
<phase>
verify
</phase>
<goals>
<goal>
sign
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment