Commit f19ad58e authored by liaozan's avatar liaozan 🏀

Update pom.xml

parent a94fbdb1
...@@ -13,8 +13,8 @@ ...@@ -13,8 +13,8 @@
<groupId>com.schbrain.framework</groupId> <groupId>com.schbrain.framework</groupId>
<artifactId>schbrain-parent</artifactId> <artifactId>schbrain-parent</artifactId>
<packaging>pom</packaging>
<version>${revision}</version> <version>${revision}</version>
<packaging>pom</packaging>
<!-- used to replace spring's Apache Licence --> <!-- used to replace spring's Apache Licence -->
<licenses> <licenses>
...@@ -31,6 +31,17 @@ ...@@ -31,6 +31,17 @@
</developer> </developer>
</developers> </developers>
<distributionManagement>
<repository>
<id>libs-releases</id>
<url>${maven.repository.url}/maven-releases</url>
</repository>
<snapshotRepository>
<id>libs-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties> <properties>
<revision>3.0.1-SNAPSHOT</revision> <revision>3.0.1-SNAPSHOT</revision>
...@@ -255,8 +266,8 @@ ...@@ -255,8 +266,8 @@
<version>${dubbo.version}</version> <version>${dubbo.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>log4j</artifactId>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>
...@@ -318,8 +329,8 @@ ...@@ -318,8 +329,8 @@
<version>${dubbo.version}</version> <version>${dubbo.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>log4j</artifactId>
<groupId>log4j</groupId> <groupId>log4j</groupId>
<artifactId>log4j</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>org.apache.dubbo</groupId> <groupId>org.apache.dubbo</groupId>
...@@ -404,8 +415,8 @@ ...@@ -404,8 +415,8 @@
<version>${druid.version}</version> <version>${druid.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>javax.annotation-api</artifactId>
<groupId>javax.annotation</groupId> <groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
...@@ -430,8 +441,8 @@ ...@@ -430,8 +441,8 @@
<version>${aliyun-sdk-core.version}</version> <version>${aliyun-sdk-core.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion> </exclusion>
<exclusion> <exclusion>
<groupId>org.bouncycastle</groupId> <groupId>org.bouncycastle</groupId>
...@@ -445,8 +456,8 @@ ...@@ -445,8 +456,8 @@
<version>${aliyun-sdk-oss.version}</version> <version>${aliyun-sdk-oss.version}</version>
<exclusions> <exclusions>
<exclusion> <exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId> <groupId>commons-logging</groupId>
<artifactId>commons-logging</artifactId>
</exclusion> </exclusion>
</exclusions> </exclusions>
</dependency> </dependency>
...@@ -554,6 +565,48 @@ ...@@ -554,6 +565,48 @@
</dependencies> </dependencies>
</dependencyManagement> </dependencyManagement>
<repositories>
<repository>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>libs-releases</id>
<url>${maven.repository.url}/maven-releases</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>libs-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>plugin-releases</id>
<url>${maven.repository.url}/maven-releases</url>
</pluginRepository>
<pluginRepository>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
<id>plugin-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
</pluginRepository>
</pluginRepositories>
<build> <build>
<pluginManagement> <pluginManagement>
<plugins> <plugins>
...@@ -563,17 +616,17 @@ ...@@ -563,17 +616,17 @@
<executions> <executions>
<execution> <execution>
<id>repackage</id> <id>repackage</id>
<phase>package</phase>
<goals> <goals>
<goal>repackage</goal> <goal>repackage</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
<execution> <execution>
<id>buildInfo</id> <id>buildInfo</id>
<phase>compile</phase>
<goals> <goals>
<goal>build-info</goal> <goal>build-info</goal>
</goals> </goals>
<phase>compile</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
...@@ -582,13 +635,6 @@ ...@@ -582,13 +635,6 @@
<groupId>pl.project13.maven</groupId> <groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId> <artifactId>git-commit-id-plugin</artifactId>
<version>4.9.10</version> <version>4.9.10</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration> <configuration>
<verbose>false</verbose> <verbose>false</verbose>
<generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFile>true</generateGitPropertiesFile>
...@@ -598,11 +644,6 @@ ...@@ -598,11 +644,6 @@
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat> <dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
<dateFormatTimeZone>GMT+8</dateFormatTimeZone> <dateFormatTimeZone>GMT+8</dateFormatTimeZone>
</configuration> </configuration>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>5.0.0</version>
<executions> <executions>
<execution> <execution>
<goals> <goals>
...@@ -610,6 +651,11 @@ ...@@ -610,6 +651,11 @@
</goals> </goals>
</execution> </execution>
</executions> </executions>
</plugin>
<plugin>
<groupId>io.github.git-commit-id</groupId>
<artifactId>git-commit-id-maven-plugin</artifactId>
<version>5.0.0</version>
<configuration> <configuration>
<verbose>false</verbose> <verbose>false</verbose>
<generateGitPropertiesFile>true</generateGitPropertiesFile> <generateGitPropertiesFile>true</generateGitPropertiesFile>
...@@ -619,6 +665,13 @@ ...@@ -619,6 +665,13 @@
<dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat> <dateFormat>yyyy-MM-dd HH:mm:ss</dateFormat>
<dateFormatTimeZone>GMT+8</dateFormatTimeZone> <dateFormatTimeZone>GMT+8</dateFormatTimeZone>
</configuration> </configuration>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
</plugin> </plugin>
<plugin> <plugin>
<groupId>com.schbrain.maven.plugin</groupId> <groupId>com.schbrain.maven.plugin</groupId>
...@@ -627,10 +680,10 @@ ...@@ -627,10 +680,10 @@
<executions> <executions>
<execution> <execution>
<id>prepare</id> <id>prepare</id>
<phase>package</phase>
<goals> <goals>
<goal>prepare</goal> <goal>prepare</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
...@@ -643,10 +696,10 @@ ...@@ -643,10 +696,10 @@
<executions> <executions>
<execution> <execution>
<id>source</id> <id>source</id>
<phase>package</phase>
<goals> <goals>
<goal>jar-no-fork</goal> <goal>jar-no-fork</goal>
</goals> </goals>
<phase>package</phase>
</execution> </execution>
</executions> </executions>
</plugin> </plugin>
...@@ -657,10 +710,10 @@ ...@@ -657,10 +710,10 @@
<executions> <executions>
<execution> <execution>
<id>flatten</id> <id>flatten</id>
<phase>process-resources</phase>
<goals> <goals>
<goal>flatten</goal> <goal>flatten</goal>
</goals> </goals>
<phase>process-resources</phase>
<configuration> <configuration>
<updatePomFile>true</updatePomFile> <updatePomFile>true</updatePomFile>
<outputDirectory>${project.build.directory}</outputDirectory> <outputDirectory>${project.build.directory}</outputDirectory>
...@@ -675,10 +728,10 @@ ...@@ -675,10 +728,10 @@
<executions> <executions>
<execution> <execution>
<id>copy-resources</id> <id>copy-resources</id>
<phase>compile</phase>
<goals> <goals>
<goal>copy-resources</goal> <goal>copy-resources</goal>
</goals> </goals>
<phase>compile</phase>
<configuration> <configuration>
<resources> <resources>
<resource> <resource>
...@@ -717,70 +770,17 @@ ...@@ -717,70 +770,17 @@
</plugins> </plugins>
</build> </build>
<distributionManagement>
<repository>
<id>libs-releases</id>
<url>${maven.repository.url}/maven-releases</url>
</repository>
<snapshotRepository>
<id>libs-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>libs-releases</id>
<url>${maven.repository.url}/maven-releases</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>libs-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<updatePolicy>always</updatePolicy>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>plugin-releases</id>
<url>${maven.repository.url}/maven-releases</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>plugin-snapshots</id>
<url>${maven.repository.url}/maven-snapshots</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>
</pluginRepositories>
<profiles> <profiles>
<!-- 开发环境 --> <!-- 开发环境 -->
<profile> <profile>
<id>dev</id> <id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties> <properties>
<spring.profile>dev</spring.profile> <spring.profile>dev</spring.profile>
<docker.registry>registry-vpc.cn-hangzhou.aliyuncs.com/schbrain_dev</docker.registry> <docker.registry>registry-vpc.cn-hangzhou.aliyuncs.com/schbrain_dev</docker.registry>
</properties> </properties>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
</profile> </profile>
<!-- 生产环境 --> <!-- 生产环境 -->
<profile> <profile>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment