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-commons
Commits
360c10ae
Commit
360c10ae
authored
Jan 19, 2024
by
侯力峰
Browse files
添加maven中央仓库部署配置
parent
403bc21d
Changes
3
Hide whitespace changes
Inline
Side-by-side
commons-core/pom.xml
View file @
360c10ae
...
@@ -27,4 +27,29 @@
...
@@ -27,4 +27,29 @@
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>
commons-file/pom.xml
View file @
360c10ae
...
@@ -51,4 +51,30 @@
...
@@ -51,4 +51,30 @@
<version>
1.5.31
</version>
<version>
1.5.31
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.8
</source>
<target>
1.8
</target>
</configuration>
</plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<execution>
<id>
attach-sources
</id>
<goals>
<goal>
jar
</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
</project>
\ No newline at end of file
pom.xml
View file @
360c10ae
...
@@ -8,13 +8,19 @@
...
@@ -8,13 +8,19 @@
<artifactId>
spatiotemporal-commons
</artifactId>
<artifactId>
spatiotemporal-commons
</artifactId>
<version>
1.0.0-RELEASE
</version>
<version>
1.0.0-RELEASE
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<name>
时空开放平台 公用套件
</name>
<name>
spatiotemporal-commons
</name>
<description>
时空开放平台 公用套件
</description>
<url>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons
</url>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<project.reporting.outputEncoding>
UTF-8
</project.reporting.outputEncoding>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<gpg.passphrase>
inzY@2021
</gpg.passphrase>
<gpg.keyname>
B8C1C0AE356B473E3C370EA40C4297A10DC28BE0
</gpg.keyname>
<gpg.homedir>
C:\\Users\\marquis\\AppData\\Roaming\\gnupg
</gpg.homedir>
<!-- tools -->
<!-- tools -->
<hutool.version>
5.8.21
</hutool.version>
<hutool.version>
5.8.21
</hutool.version>
...
@@ -105,17 +111,109 @@
...
@@ -105,17 +111,109 @@
<module>
commons-file
</module>
<module>
commons-file
</module>
</modules>
</modules>
<distributionManagement>
<!-- 许可证信息,Apache 2.0的许可证 -->
<!-- 发布到快照版本的仓库,即测试版本仓库 -->
<licenses>
<snapshotRepository>
<license>
<id>
inzyme-snapshots
</id>
<name>
The Apache Software License, Version2.0
</name>
<url>
https://tydicdata.com/nexus/repository/maven-snapshots/
</url>
<url>
https://www.apache.org/licenses/LICENSE-2.0.html
</url>
</snapshotRepository>
<distribution>
repo
</distribution>
<!-- 发布到发行版本的仓库中,即正式版本仓库 -->
</license>
<repository>
</licenses>
<id>
inzyme-releases
</id>
<url>
https://tydicdata.com/nexus/repository/maven-releases/
</url>
<!-- 开发人员信息 -->
</repository>
<developers>
</distributionManagement>
<developer>
<name>
inzyme
</name>
<email>
marquis.hou@inzymeits.com
</email>
</developer>
</developers>
<!-- 项目仓库信息 -->
<scm>
<connection>
scm:git:https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons.git
</connection>
<developerConnection>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons
</developerConnection>
<url>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons.git
</url>
<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>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<source>
1.8
</source>
<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>
</project>
</project>
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