项目完善
This commit is contained in:
parent
05c00db058
commit
99887f715d
46
README.md
46
README.md
@ -38,3 +38,49 @@ rm -rf ./*/*/*/*/*/0.1.0-SNAPSHOT
|
|||||||
mvn deploy -s settings.xml -DaltDeploymentRepository=local-repo::default::file:H:/Repository/skcks.cn/gb28181-docking-platform-mvn-repo
|
mvn deploy -s settings.xml -DaltDeploymentRepository=local-repo::default::file:H:/Repository/skcks.cn/gb28181-docking-platform-mvn-repo
|
||||||
```
|
```
|
||||||
git push 推送即可
|
git push 推送即可
|
||||||
|
|
||||||
|
### 公共仓库
|
||||||
|
https://central.sonatype.com
|
||||||
|
|
||||||
|
https://central.sonatype.org/publish/requirements/gpg/#signing-a-file
|
||||||
|
|
||||||
|
gpg签名
|
||||||
|
https://central.sonatype.org/publish/requirements/gpg/
|
||||||
|
https://www.gpg4win.org/thanks-for-download.html
|
||||||
|
|
||||||
|
gpg服务器
|
||||||
|
- keyserver.ubuntu.com
|
||||||
|
- keys.openpgp.org
|
||||||
|
- pgp.mit.edu
|
||||||
|
|
||||||
|
settings.xml
|
||||||
|
```xml
|
||||||
|
<settings>
|
||||||
|
<servers>
|
||||||
|
<server>
|
||||||
|
<id>ossrh</id>
|
||||||
|
<username><!-- your token username --></username>
|
||||||
|
<password><!-- your token password --></password>
|
||||||
|
</server>
|
||||||
|
</servers>
|
||||||
|
|
||||||
|
<profiles>
|
||||||
|
<profile>
|
||||||
|
<id>ossrh</id>
|
||||||
|
<activation>
|
||||||
|
<activeByDefault>true</activeByDefault>
|
||||||
|
</activation>
|
||||||
|
<properties>
|
||||||
|
<gpg.executable>gpg</gpg.executable>
|
||||||
|
<gpg.keyname>GPG KEY NAME</gpg.keyname>
|
||||||
|
<gpg.passphrase>GPG KEY PASSWORD</gpg.passphrase>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
|
</profiles>
|
||||||
|
</settings>
|
||||||
|
```
|
||||||
|
|
||||||
|
#### 解决idea 控制台乱码
|
||||||
|
|
||||||
|
- 设置 > 构建/运行/部署 > 构建工具 > Maven > 运行程序 > VM options
|
||||||
|
- 添加 -Dfile.encoding=GBK
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
95
pom.xml
95
pom.xml
@ -8,12 +8,35 @@
|
|||||||
<version>3.1.2</version>
|
<version>3.1.2</version>
|
||||||
<relativePath/> <!-- lookup parent from repository -->
|
<relativePath/> <!-- lookup parent from repository -->
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
<name>gb28181-docking-platform</name>
|
<name>gb28181-docking-platform</name>
|
||||||
<description>GB28181 Docking Platform</description>
|
<description>GB28181 Docking Platform</description>
|
||||||
|
<developers>
|
||||||
|
<developer>
|
||||||
|
<name>shikong</name>
|
||||||
|
<email>919411476@qq.com</email>
|
||||||
|
</developer>
|
||||||
|
</developers>
|
||||||
|
|
||||||
|
<licenses>
|
||||||
|
<license>
|
||||||
|
<name>Apache License, Version 2.0</name>
|
||||||
|
<url>https://www.apache.org/licenses/LICENSE-2.0.txt</url>
|
||||||
|
</license>
|
||||||
|
</licenses>
|
||||||
|
|
||||||
|
<scm>
|
||||||
|
<connection>scm:git:git://github.com/shikong-sk/gb28181-docking-platform.git</connection>
|
||||||
|
<developerConnection>scm:git:ssh://github.com/shikong-sk/gb28181-docking-platform.git</developerConnection>
|
||||||
|
<url>https://github.com/shikong-sk/gb28181-docking-platform/tree/master</url>
|
||||||
|
</scm>
|
||||||
|
|
||||||
|
<url>https://github.com/shikong-sk/gb28181-docking-platform.git</url>
|
||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>starter</module>
|
<module>starter</module>
|
||||||
<module>annotation</module>
|
<module>annotation</module>
|
||||||
@ -25,6 +48,7 @@
|
|||||||
<module>gb28181-sip</module>
|
<module>gb28181-sip</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
|
|
||||||
<properties>
|
<properties>
|
||||||
<maven.compiler.source>17</maven.compiler.source>
|
<maven.compiler.source>17</maven.compiler.source>
|
||||||
<maven.compiler.target>17</maven.compiler.target>
|
<maven.compiler.target>17</maven.compiler.target>
|
||||||
@ -285,6 +309,64 @@
|
|||||||
</pluginManagement>
|
</pluginManagement>
|
||||||
|
|
||||||
<plugins>
|
<plugins>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.sonatype.central</groupId>
|
||||||
|
<artifactId>central-publishing-maven-plugin</artifactId>
|
||||||
|
<version>0.4.0</version>
|
||||||
|
<extensions>true</extensions>
|
||||||
|
<configuration>
|
||||||
|
<publishingServerId>ossrh</publishingServerId>
|
||||||
|
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
|
||||||
|
<tokenAuth>true</tokenAuth>
|
||||||
|
</configuration>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
|
<version>2.2.1</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-sources</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar-no-fork</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-javadoc-plugin</artifactId>
|
||||||
|
<version>2.9.1</version>
|
||||||
|
<configuration>
|
||||||
|
<additionalparam>-Xdoclint:none</additionalparam>
|
||||||
|
</configuration>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>attach-javadocs</id>
|
||||||
|
<goals>
|
||||||
|
<goal>jar</goal>
|
||||||
|
</goals>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
<plugin>
|
||||||
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
|
<artifactId>maven-gpg-plugin</artifactId>
|
||||||
|
<version>1.5</version>
|
||||||
|
<executions>
|
||||||
|
<execution>
|
||||||
|
<id>sign-artifacts</id>
|
||||||
|
<phase>verify</phase>
|
||||||
|
<goals>
|
||||||
|
<goal>sign</goal>
|
||||||
|
</goals>
|
||||||
|
<configuration>
|
||||||
|
<keyname>2FA8C646FBB668DAF3E6B08CBD85FF18B373C341</keyname>
|
||||||
|
</configuration>
|
||||||
|
</execution>
|
||||||
|
</executions>
|
||||||
|
</plugin>
|
||||||
|
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
<groupId>org.apache.maven.plugins</groupId>
|
||||||
<artifactId>maven-compiler-plugin</artifactId>
|
<artifactId>maven-compiler-plugin</artifactId>
|
||||||
@ -361,4 +443,15 @@
|
|||||||
</testResource>
|
</testResource>
|
||||||
</testResources>
|
</testResources>
|
||||||
</build>
|
</build>
|
||||||
|
|
||||||
|
<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>
|
||||||
</project>
|
</project>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<groupId>cn.skcks.docking.gb28181</groupId>
|
<groupId>cn.skcks.docking.gb28181</groupId>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>cn.skcks.docking</groupId>
|
<groupId>cn.skcks.docking</groupId>
|
||||||
<artifactId>gb28181</artifactId>
|
<artifactId>gb28181</artifactId>
|
||||||
<version>0.1.0-SNAPSHOT</version>
|
<version>0.1.0</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>zlmediakit-service</artifactId>
|
<artifactId>zlmediakit-service</artifactId>
|
||||||
|
Loading…
Reference in New Issue
Block a user