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>arthas-agent-attach</module>
<module>arthas-spring-boot-starter</module>
<module>tunnel-server</module>
<module>testcase</module>
<module>site</module>
<module>packaging</module>
@ -228,13 +229,27 @@
<profiles>
<profile>
<id>jdk8</id>
<!-- ci test -->
<id>jdk12</id>
<activation>
<jdk>[1.8,)</jdk>
<jdk>[12,)</jdk>
<property>
<name>JAVA8_HOME</name>
</property>
</activation>
<modules>
<module>tunnel-server</module>
</modules>
<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>
<!-- git commit info -->
@ -270,34 +285,6 @@
<injectAllReactorProjects>true</injectAllReactorProjects>
</configuration>
</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>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>

Loading…
Cancel
Save