Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add sofa-version-maven-plugin for SOFABoot starters. #157

Merged
merged 2 commits into from
Jul 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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>