Skip to content

Commit

Permalink
上传到maven中央仓库
Browse files Browse the repository at this point in the history
  • Loading branch information
18940818955 committed Dec 6, 2019
1 parent 01f5b37 commit 311993b
Showing 1 changed file with 9 additions and 63 deletions.
72 changes: 9 additions & 63 deletions mysql-migrate/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
</parent>
<groupId>cn.codeforfun</groupId>
<artifactId>mysql-migrate</artifactId>
<version>0.0.1-SNAPSHOT</version>
<version>0.0.1</version>
<name>${project.groupId}:${project.artifactId}</name>
<description>MySQL Migrate</description>
<description>MySQL Migrate Tools</description>
<url>https://github.com/qq253498229/mysql-migrate-tool</url>

<properties>
Expand Down Expand Up @@ -66,60 +66,14 @@
</dependencies>

<profiles>
<profile>
<id>local</id>
<repositories>
<repository>
<id>local</id>
<url>http://localhost:8081/repository/maven-public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>local</id>
<url>http://localhost:8081/repository/maven-public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>internal</id>
<repositories>
<repository>
<id>internal</id>
<url>http://192.168.112.62:8081/repository/maven-public/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>internal</id>
<url>http://192.168.112.62:8081/repository/maven-public/</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>aliyun</id>
<repositories>
<repository>
<id>aliyun</id>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>aliyun</id>
<url>http://maven.aliyun.com/nexus/content/repositories/central/</url>
</pluginRepository>
</pluginRepositories>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.1.0</version>
<version>2.2.1</version>
<executions>
<execution>
<phase>package</phase>
Expand All @@ -129,31 +83,23 @@
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<version>2.9.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<doclint>none</doclint>
</configuration>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<configuration>
<useAgent>false</useAgent>
</configuration>
<executions>
<execution>
<phase>verify</phase>
Expand All @@ -167,11 +113,11 @@
</build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
<id>ossrh</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>oss</id>
<id>ossrh</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
Expand All @@ -186,8 +132,8 @@
</licenses>

<scm>
<connection>scm:git:https://github.com/qq253498229/mysql-migrate-tool.git</connection>
<developerConnection>scm:git:git@github.com:qq253498229/mysql-migrate-tool.git</developerConnection>
<connection>scm:git:git://github.com/qq253498229/mysql-migrate-tool.git</connection>
<developerConnection>scm:git:ssh://github.com:qq253498229/mysql-migrate-tool.git</developerConnection>
<url>https://github.com/qq253498229/mysql-migrate-tool/tree/master</url>
</scm>

Expand Down

0 comments on commit 311993b

Please sign in to comment.