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
1fd6624e
Commit
1fd6624e
authored
Jan 22, 2024
by
侯力峰
Browse files
修改pom文件,采用多profile配置以分别管理提交到公司私仓和maven中央仓库。
parent
360c10ae
Changes
4
Hide whitespace changes
Inline
Side-by-side
commons-core/pom.xml
View file @
1fd6624e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<groupId>
cn.spatiotemporal
</groupId>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-commons
</artifactId>
<artifactId>
spatiotemporal-commons
</artifactId>
<version>
1.0.0-
RELEASE
</version>
<version>
1.0.0-
SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
spatiotemporal-commons-core
</artifactId>
<artifactId>
spatiotemporal-commons-core
</artifactId>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
commons-io
</groupId>
<groupId>
commons-io
</groupId>
<artifactId>
commons-io
</artifactId>
<artifactId>
commons-io
</artifactId>
<version>
2.5
</version>
<version>
2.5
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<configuration>
<source>
1.8
</source>
<source>
1.8
</source>
<target>
1.8
</target>
<target>
1.8
</target>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<executions>
<execution>
<execution>
<id>
attach-sources
</id>
<id>
attach-sources
</id>
<goals>
<goals>
<goal>
jar
</goal>
<goal>
jar
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
commons-file/pom.xml
View file @
1fd6624e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<groupId>
cn.spatiotemporal
</groupId>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-commons
</artifactId>
<artifactId>
spatiotemporal-commons
</artifactId>
<version>
1.0.0-
RELEASE
</version>
<version>
1.0.0-
SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
spatiotemporal-commons-file
</artifactId>
<artifactId>
spatiotemporal-commons-file
</artifactId>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.source>
8
</maven.compiler.source>
<maven.compiler.target>
8
</maven.compiler.target>
<maven.compiler.target>
8
</maven.compiler.target>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
org.springframework
</groupId>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-web
</artifactId>
<artifactId>
spring-web
</artifactId>
<scope>
provided
</scope>
<scope>
provided
</scope>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
cn.spatiotemporal
</groupId>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-commons-core
</artifactId>
<artifactId>
spatiotemporal-commons-core
</artifactId>
<version>
1.0.0-RELEASE
</version>
<version>
1.0.0-RELEASE
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
com.enterprisedt
</groupId>
<groupId>
com.enterprisedt
</groupId>
<artifactId>
edtFTPj
</artifactId>
<artifactId>
edtFTPj
</artifactId>
<version>
1.5.3
</version>
<version>
1.5.3
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
io.minio
</groupId>
<groupId>
io.minio
</groupId>
<artifactId>
minio
</artifactId>
<artifactId>
minio
</artifactId>
<version>
8.1.0
</version>
<version>
8.1.0
</version>
</dependency>
</dependency>
<dependency>
<dependency>
<groupId>
org.jetbrains.kotlin
</groupId>
<groupId>
org.jetbrains.kotlin
</groupId>
<artifactId>
kotlin-stdlib
</artifactId>
<artifactId>
kotlin-stdlib
</artifactId>
<version>
1.5.31
</version>
<version>
1.5.31
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<build>
<build>
<plugins>
<plugins>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-compiler-plugin
</artifactId>
<artifactId>
maven-compiler-plugin
</artifactId>
<configuration>
<configuration>
<source>
1.8
</source>
<source>
1.8
</source>
<target>
1.8
</target>
<target>
1.8
</target>
</configuration>
</configuration>
</plugin>
</plugin>
<plugin>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-source-plugin
</artifactId>
<artifactId>
maven-source-plugin
</artifactId>
<executions>
<executions>
<execution>
<execution>
<id>
attach-sources
</id>
<id>
attach-sources
</id>
<goals>
<goals>
<goal>
jar
</goal>
<goal>
jar
</goal>
</goals>
</goals>
</execution>
</execution>
</executions>
</executions>
</plugin>
</plugin>
</plugins>
</plugins>
</build>
</build>
</project>
</project>
\ No newline at end of file
commons-register/pom.xml
View file @
1fd6624e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<parent>
<parent>
<groupId>
cn.spatiotemporal
</groupId>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-commons
</artifactId>
<artifactId>
spatiotemporal-commons
</artifactId>
<version>
1.0.0-
RELEASE
</version>
<version>
1.0.0-
SNAPSHOT
</version>
</parent>
</parent>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<artifactId>
spatiotemporal-commons-register
</artifactId>
<artifactId>
spatiotemporal-commons-register
</artifactId>
<properties>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<java.version>
1.8
</java.version>
<java.version>
1.8
</java.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
<maven-jar-plugin.version>
3.1.1
</maven-jar-plugin.version>
</properties>
</properties>
<dependencies>
<dependencies>
<dependency>
<dependency>
<groupId>
com.github.oshi
</groupId>
<groupId>
com.github.oshi
</groupId>
<artifactId>
oshi-core
</artifactId>
<artifactId>
oshi-core
</artifactId>
<version>
5.8.2
</version>
<version>
5.8.2
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
</project>
</project>
pom.xml
View file @
1fd6624e
<?xml version="1.0" encoding="UTF-8"?>
<?xml version="1.0" encoding="UTF-8"?>
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
cn.spatiotemporal
</groupId>
<groupId>
cn.spatiotemporal
</groupId>
<artifactId>
spatiotemporal-commons
</artifactId>
<artifactId>
spatiotemporal-commons
</artifactId>
<version>
1.0.0-RELEASE
</version>
<version>
1.0.0-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<packaging>
pom
</packaging>
<name>
spatiotemporal-commons
</name>
<name>
spatiotemporal-commons
</name>
<description>
时空开放平台 公用套件
</description>
<description>
时空开放平台 公用套件
</description>
<url>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons
</url>
<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>
<!-- tools -->
<gpg.keyname>
B8C1C0AE356B473E3C370EA40C4297A10DC28BE0
</gpg.keyname>
<hutool.version>
5.8.21
</hutool.version>
<gpg.homedir>
C:\\Users\\marquis\\AppData\\Roaming\\gnupg
</gpg.homedir>
<!-- api doc -->
<!-- tools -->
<swagger.version>
1.6.2
</swagger.version>
<hutool.version>
5.8.21
</hutool.version>
</properties>
<!-- api doc -->
<parent>
<swagger.version>
1.6.2
</swagger.version>
<groupId>
org.springframework.boot
</groupId>
</properties>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.3.12.RELEASE
</version>
<parent>
<relativePath
/>
<groupId>
org.springframework.boot
</groupId>
</parent>
<artifactId>
spring-boot-starter-parent
</artifactId>
<version>
2.3.12.RELEASE
</version>
<dependencies>
<relativePath
/>
<dependency>
</parent>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<dependencies>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
org.projectlombok
</groupId>
<artifactId>
lombok
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
ch.qos.logback
</groupId>
</dependency>
<artifactId>
logback-classic
</artifactId>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
ch.qos.logback
</groupId>
<artifactId>
logback-classic
</artifactId>
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<!-- https://mvnrepository.com/artifact/javax.servlet/javax.servlet-api -->
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
javax.servlet
</groupId>
<artifactId>
javax.servlet-api
</artifactId>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<!-- https://mvnrepository.com/artifact/org.springframework/spring-core -->
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
org.springframework
</groupId>
<artifactId>
spring-context
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
org.springframework.boot
</groupId>
</dependency>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-data-redis
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
org.springframework.boot
</groupId>
</dependency>
<artifactId>
spring-boot-starter-cache
</artifactId>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-starter-cache
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
org.apache.commons
</groupId>
</dependency>
<artifactId>
commons-lang3
</artifactId>
</dependency>
<dependency>
<groupId>
org.apache.commons
</groupId>
<dependency>
<artifactId>
commons-lang3
</artifactId>
<groupId>
com.fasterxml.jackson.core
</groupId>
</dependency>
<artifactId>
jackson-databind
</artifactId>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-databind
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
com.fasterxml.jackson.core
</groupId>
</dependency>
<artifactId>
jackson-core
</artifactId>
<scope>
provided
</scope>
<dependency>
</dependency>
<groupId>
com.fasterxml.jackson.core
</groupId>
<artifactId>
jackson-core
</artifactId>
<dependency>
<scope>
provided
</scope>
<groupId>
cn.hutool
</groupId>
</dependency>
<artifactId>
hutool-all
</artifactId>
<version>
${hutool.version}
</version>
<dependency>
</dependency>
<groupId>
cn.hutool
</groupId>
<artifactId>
hutool-all
</artifactId>
<dependency>
<version>
${hutool.version}
</version>
<groupId>
io.swagger
</groupId>
</dependency>
<artifactId>
swagger-annotations
</artifactId>
<version>
${swagger.version}
</version>
<dependency>
</dependency>
<groupId>
io.swagger
</groupId>
</dependencies>
<artifactId>
swagger-annotations
</artifactId>
<version>
${swagger.version}
</version>
<!-- ========================modules============================== -->
</dependency>
<modules>
</dependencies>
<module>
commons-core
</module>
<module>
commons-register
</module>
<!-- ========================modules============================== -->
<module>
commons-file
</module>
<modules>
</modules>
<module>
commons-core
</module>
<module>
commons-register
</module>
<!-- 许可证信息,Apache 2.0的许可证 -->
<module>
commons-file
</module>
<licenses>
</modules>
<license>
<name>
The Apache Software License, Version2.0
</name>
<!-- 许可证信息,Apache 2.0的许可证 -->
<url>
https://www.apache.org/licenses/LICENSE-2.0.html
</url>
<licenses>
<distribution>
repo
</distribution>
<license>
</license>
<name>
The Apache Software License, Version2.0
</name>
</licenses>
<url>
https://www.apache.org/licenses/LICENSE-2.0.html
</url>
<distribution>
repo
</distribution>
<!-- 开发人员信息 -->
</license>
<developers>
</licenses>
<developer>
<name>
inzyme
</name>
<!-- 开发人员信息 -->
<email>
marquis.hou@inzymeits.com
</email>
<developers>
</developer>
<developer>
</developers>
<name>
inzyme
</name>
<email>
marquis.hou@inzymeits.com
</email>
<!-- 项目仓库信息 -->
</developer>
<scm>
</developers>
<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>
<scm>
<tag>
${project.version}
</tag>
<connection>
scm:git:https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons.git
</connection>
</scm>
<developerConnection>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons
</developerConnection>
<url>
https://spatiotemporal.cn/gitlab/open-spatio/spatiotemporal-commons.git
</url>
<build>
<tag>
${project.version}
</tag>
<plugins>
</scm>
<plugin>
<groupId>
org.apache.maven.plugins
</groupId>
<!-- 中央仓库OSSRH地址配置 -->
<artifactId>
maven-compiler-plugin
</artifactId>
<distributionManagement>
<configuration>
<snapshotRepository>
<source>
1.8
</source>
<id>
ossrh
</id>
<target>
1.8
</target>
<url>
https://s01.oss.sonatype.org/content/repositories/snapshots
</url>
</configuration>
</snapshotRepository>
</plugin>
</plugins>
<repository>
</build>
<id>
ossrh
</id>
<url>
https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/
</url>
</project>
</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>
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