jar包
This commit is contained in:
parent
bc49c38776
commit
7797fed571
@ -18,11 +18,11 @@ import com.dengxq.lnglat2Geo.GeoTrans 里面的所有方法均为公有接口
|
|||||||
接口文档,参考博客: https://blog.csdn.net/deng0515001/article/details/99606156
|
接口文档,参考博客: https://blog.csdn.net/deng0515001/article/details/99606156
|
||||||
|
|
||||||
jar包maven依赖:
|
jar包maven依赖:
|
||||||
<dependency>
|
` <dependency>
|
||||||
<groupId>com.github.deng0515001</groupId>
|
<groupId>com.github.deng0515001</groupId>
|
||||||
<artifactId>lnglat2Geo</artifactId>
|
<artifactId>lnglat2Geo</artifactId>
|
||||||
<version>1.0.2</version>
|
<version>1.0.2</version>
|
||||||
</dependency>
|
</dependency>`
|
||||||
|
|
||||||
如果无法下载,可以修改仓库:https://oss.sonatype.org/service/local/repositories/releases/content
|
如果无法下载,可以修改仓库:https://oss.sonatype.org/service/local/repositories/releases/content
|
||||||
|
|
||||||
|
Binary file not shown.
71
pom.xml
71
pom.xml
@ -11,10 +11,13 @@
|
|||||||
<org.json4s.native.version>3.2.11</org.json4s.native.version>
|
<org.json4s.native.version>3.2.11</org.json4s.native.version>
|
||||||
<slf4j.log4j12.version>1.6.2</slf4j.log4j12.version>
|
<slf4j.log4j12.version>1.6.2</slf4j.log4j12.version>
|
||||||
</properties>
|
</properties>
|
||||||
<groupId>com.dengxq</groupId>
|
<groupId>com.github.deng0515001</groupId>
|
||||||
<artifactId>lnglat2Geo</artifactId>
|
<artifactId>lnglat2Geo</artifactId>
|
||||||
<version>1.0.0</version>
|
<version>1.0.2</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
<name>lnglat2Geo</name>
|
||||||
|
<description>lnglat to Geo</description>
|
||||||
|
<url>https://github.com/deng0515001/lnglat2Geo</url>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -64,6 +67,37 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</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>
|
<build>
|
||||||
<plugins>
|
<plugins>
|
||||||
@ -109,6 +143,22 @@
|
|||||||
</configuration>
|
</configuration>
|
||||||
</plugin>
|
</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>
|
<plugin>
|
||||||
<artifactId>maven-source-plugin</artifactId>
|
<artifactId>maven-source-plugin</artifactId>
|
||||||
@ -126,6 +176,23 @@
|
|||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</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>
|
</plugins>
|
||||||
|
|
||||||
<resources>
|
<resources>
|
||||||
|
14
src/main/java/com/dengxq/lnglat2Geo/test/Test.java
Normal file
14
src/main/java/com/dengxq/lnglat2Geo/test/Test.java
Normal 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;
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user