提交 db6e8817 编写于 作者: 智布道's avatar 智布道 👁

🔧 修改pom

上级 c6481a68
...@@ -160,66 +160,68 @@ ...@@ -160,66 +160,68 @@
<profile> <profile>
<id>release</id> <id>release</id>
<build> <build>
<plugins> <pluginManagement>
<plugin> <plugins>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-source-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>${maven-source.version}</version> <artifactId>maven-source-plugin</artifactId>
<inherited>true</inherited> <version>${maven-source.version}</version>
<executions> <inherited>true</inherited>
<execution> <executions>
<phase>package</phase> <execution>
<goals> <phase>package</phase>
<goal>jar-no-fork</goal> <goals>
</goals> <goal>jar-no-fork</goal>
</execution> </goals>
</executions> </execution>
</plugin> </executions>
<plugin> </plugin>
<groupId>org.codehaus.mojo</groupId> <plugin>
<artifactId>cobertura-maven-plugin</artifactId> <groupId>org.codehaus.mojo</groupId>
<version>${cobertura-version}</version> <artifactId>cobertura-maven-plugin</artifactId>
<configuration> <version>${cobertura-version}</version>
<formats> <configuration>
<format>html</format> <formats>
<format>xml</format> <format>html</format>
</formats> <format>xml</format>
<check/> </formats>
</configuration> <check/>
</plugin> </configuration>
<plugin> </plugin>
<groupId>org.jacoco</groupId> <plugin>
<artifactId>jacoco-maven-plugin</artifactId> <groupId>org.jacoco</groupId>
<version>${jacoco-version}</version> <artifactId>jacoco-maven-plugin</artifactId>
<executions> <version>${jacoco-version}</version>
<execution> <executions>
<goals> <execution>
<goal>prepare-agent</goal> <goals>
</goals> <goal>prepare-agent</goal>
</execution> </goals>
<execution> </execution>
<id>report</id> <execution>
<phase>test</phase> <id>report</id>
<goals> <phase>test</phase>
<goal>report</goal> <goals>
</goals> <goal>report</goal>
</execution> </goals>
</executions> </execution>
</plugin> </executions>
<plugin> </plugin>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-gpg-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>${maven-gpg-version}</version> <artifactId>maven-gpg-plugin</artifactId>
<executions> <version>${maven-gpg-version}</version>
<execution> <executions>
<phase>verify</phase> <execution>
<goals> <phase>verify</phase>
<goal>sign</goal> <goals>
</goals> <goal>sign</goal>
</execution> </goals>
</executions> </execution>
</plugin> </executions>
</plugins> </plugin>
</plugins>
</pluginManagement>
</build> </build>
<distributionManagement> <distributionManagement>
<snapshotRepository> <snapshotRepository>
...@@ -236,21 +238,23 @@ ...@@ -236,21 +238,23 @@
<profile> <profile>
<id>nexus</id> <id>nexus</id>
<build> <build>
<plugins> <pluginManagement>
<plugin> <plugins>
<groupId>org.apache.maven.plugins</groupId> <plugin>
<artifactId>maven-gpg-plugin</artifactId> <groupId>org.apache.maven.plugins</groupId>
<version>${maven-gpg-version}</version> <artifactId>maven-gpg-plugin</artifactId>
<executions> <version>${maven-gpg-version}</version>
<execution> <executions>
<phase>verify</phase> <execution>
<goals> <phase>verify</phase>
<goal>sign</goal> <goals>
</goals> <goal>sign</goal>
</execution> </goals>
</executions> </execution>
</plugin> </executions>
</plugins> </plugin>
</plugins>
</pluginManagement>
</build> </build>
<distributionManagement> <distributionManagement>
<repository> <repository>
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册