exec git-commit-id-plugin when full profile activation

pull/2303/head^2
hengyunabc 2 years ago
parent ef510173b6
commit 3e5749127c

@ -70,6 +70,7 @@
<module>boot</module> <module>boot</module>
<module>arthas-agent-attach</module> <module>arthas-agent-attach</module>
<module>arthas-spring-boot-starter</module> <module>arthas-spring-boot-starter</module>
<module>tunnel-server</module>
<module>testcase</module> <module>testcase</module>
<module>site</module> <module>site</module>
<module>packaging</module> <module>packaging</module>
@ -228,13 +229,27 @@
<profiles> <profiles>
<profile> <profile>
<id>jdk8</id> <!-- ci test -->
<id>jdk12</id>
<activation> <activation>
<jdk>[1.8,)</jdk> <jdk>[12,)</jdk>
<property>
<name>JAVA8_HOME</name>
</property>
</activation> </activation>
<modules> <dependencies>
<module>tunnel-server</module> <dependency>
</modules> <groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>${JAVA8_HOME}/lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<id>full</id>
<build> <build>
<plugins> <plugins>
<!-- git commit info --> <!-- git commit info -->
@ -270,34 +285,6 @@
<injectAllReactorProjects>true</injectAllReactorProjects> <injectAllReactorProjects>true</injectAllReactorProjects>
</configuration> </configuration>
</plugin> </plugin>
</plugins>
</build>
</profile>
<profile>
<!-- ci test -->
<id>jdk12</id>
<activation>
<jdk>[12,)</jdk>
<property>
<name>JAVA8_HOME</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>com.sun</groupId>
<artifactId>tools</artifactId>
<version>1.6.0</version>
<scope>system</scope>
<systemPath>${JAVA8_HOME}/lib/tools.jar</systemPath>
</dependency>
</dependencies>
</profile>
<profile>
<id>full</id>
<build>
<plugins>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId> <artifactId>maven-javadoc-plugin</artifactId>

Loading…
Cancel
Save