Skip to content

Commit

Permalink
Add sofa-version-maven-plugin for SOFABoot starters. (#157)
Browse files Browse the repository at this point in the history
Add sofa-version-maven-plugin for SOFABoot starters. (#157)
  • Loading branch information
caojie09 authored and guanchao-yang committed Jul 28, 2018
1 parent c1a658a commit 158e53d
Show file tree
Hide file tree
Showing 4 changed files with 69 additions and 5 deletions.
24 changes: 24 additions & 0 deletions healthcheck-sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,4 +80,28 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-version-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<dotGitDirectory>../.git</dotGitDirectory>
<defaultPropertiesFileEntries>
<Doc-Url>http://www.sofastack.tech/sofa-boot/docs/Home</Doc-Url>
</defaultPropertiesFileEntries>
</configuration>
<executions>
<execution>
<goals>
<goal>gen</goal>
<goal>write</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
7 changes: 2 additions & 5 deletions infra-sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -153,21 +153,18 @@
<version>2.3</version>
<scope>test</scope>
</dependency>
<!-- 日志测试模块使用 end -->
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-version-maven-plugin</artifactId>
<version>1.0.0</version>
<version>1.0.1</version>
<configuration>
<!-- 指向工程的 .git 目录,默认值 ${project.basedir}/.git,不满足要求的需要自己指向 .git 文件 -->
<dotGitDirectory>../.git</dotGitDirectory>
<defaultPropertiesFileEntries>
<!-- 可以自定义 key 和 value-->
<Doc-Url>https://github.com/alipay/sofa-boot</Doc-Url>
<Doc-Url>http://www.sofastack.tech/sofa-boot/docs/Home</Doc-Url>
</defaultPropertiesFileEntries>
</configuration>
<executions>
Expand Down
24 changes: 24 additions & 0 deletions isle-sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,28 @@
<scope>test</scope>
</dependency>
</dependencies>

<build>
<plugins>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-version-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<dotGitDirectory>../.git</dotGitDirectory>
<defaultPropertiesFileEntries>
<Doc-Url>http://www.sofastack.tech/sofa-boot/docs/Home</Doc-Url>
</defaultPropertiesFileEntries>
</configuration>
<executions>
<execution>
<goals>
<goal>gen</goal>
<goal>write</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
19 changes: 19 additions & 0 deletions runtime-sofa-boot-starter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,25 @@
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-version-maven-plugin</artifactId>
<version>1.0.1</version>
<configuration>
<dotGitDirectory>../.git</dotGitDirectory>
<defaultPropertiesFileEntries>
<Doc-Url>http://www.sofastack.tech/sofa-boot/docs/Home</Doc-Url>
</defaultPropertiesFileEntries>
</configuration>
<executions>
<execution>
<goals>
<goal>gen</goal>
<goal>write</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>

0 comments on commit 158e53d

Please sign in to comment.