This commit is contained in:
dengxingqi [邓兴启] 2019-09-03 18:19:33 +08:00
parent bc49c38776
commit 7797fed571
4 changed files with 85 additions and 4 deletions

View File

@ -18,11 +18,11 @@ import com.dengxq.lnglat2Geo.GeoTrans 里面的所有方法均为公有接口
接口文档,参考博客: https://blog.csdn.net/deng0515001/article/details/99606156
jar包maven依赖
<dependency>
` <dependency>
<groupId>com.github.deng0515001</groupId>
<artifactId>lnglat2Geo</artifactId>
<version>1.0.2</version>
</dependency>
</dependency>`
如果无法下载可以修改仓库https://oss.sonatype.org/service/local/repositories/releases/content

Binary file not shown.

71
pom.xml
View File

@ -11,10 +11,13 @@
<org.json4s.native.version>3.2.11</org.json4s.native.version>
<slf4j.log4j12.version>1.6.2</slf4j.log4j12.version>
</properties>
<groupId>com.dengxq</groupId>
<groupId>com.github.deng0515001</groupId>
<artifactId>lnglat2Geo</artifactId>
<version>1.0.0</version>
<version>1.0.2</version>
<packaging>jar</packaging>
<name>lnglat2Geo</name>
<description>lnglat to Geo</description>
<url>https://github.com/deng0515001/lnglat2Geo</url>
<dependencies>
<dependency>
@ -64,6 +67,37 @@
</dependency>
</dependencies>
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://github.com/deng0515001/lnglat2Geo</url>
<connection>https://github.com/deng0515001/lnglat2Geo.git</connection>
<developerConnection>https://github.com/deng0515001/lnglat2Geo</developerConnection>
</scm>
<developers>
<developer>
<name>deng0515001</name>
<email>451408963@qq.com</email>
<url>https://github.com/deng0515001/lnglat2Geo</url>
</developer>
</developers>
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-staging</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
<build>
<plugins>
@ -109,6 +143,22 @@
</configuration>
</plugin>
<!-- 签名插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>signArtifact</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 要将源码放上去,需要加入这个插件 -->
<plugin>
<artifactId>maven-source-plugin</artifactId>
@ -126,6 +176,23 @@
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<aggregate>true</aggregate>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
<resources>

View File

@ -0,0 +1,14 @@
package com.dengxq.lnglat2Geo.test;
public class Test {
/**
* test
* @param a a
* @param b b
* @return int
*/
static int test(int a, int b){
return a+b;
}
}