代码拉取完成,页面将自动刷新
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.gitee.pomo</groupId>
<artifactId>toasterfx-demo</artifactId>
<version>1.0</version>
<packaging>jar</packaging>
<!--region 项目描述-->
<name>ToasterFX Demo</name>
<url>https://gitee.com/pomo/toasterfx-demo</url>
<description>ToasterFX Demo.</description>
<inceptionYear>2020</inceptionYear>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<url>https://gitee.com/pomo/toasterfx-demo</url>
<connection>scm:git:git@gitee.com:pomo/toasterfx-demo.git</connection>
<developerConnection>scm:git:git@gitee.com:pomo/toasterfx-demo.git</developerConnection>
</scm>
<developers>
<developer>
<name>Mr.Po</name>
<email>ldd_live@foxmail.com</email>
</developer>
</developers>
<!--endregion-->
<properties>
<jdk.version>8</jdk.version>
<project.encoding>UTF-8</project.encoding>
<maven.compiler.source>${jdk.version}</maven.compiler.source>
<maven.compiler.target>${jdk.version}</maven.compiler.target>
<project.build.sourceEncoding>${project.encoding}</project.build.sourceEncoding>
<project.build.resourceEncoding>${project.encoding}</project.build.resourceEncoding>
<project.reporting.outputEncoding>${project.encoding}</project.reporting.outputEncoding>
</properties>
<dependencies>
<dependency>
<groupId>com.gitee.pomo</groupId>
<artifactId>toasterfx</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>com.gitee.pomo</groupId>
<artifactId>toasterfx-resource-audio</artifactId>
<version>1.0.2</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.2.3</version>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.10</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testfx</groupId>
<artifactId>testfx-core</artifactId>
<version>4.0.16-alpha</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.testfx</groupId>
<artifactId>testfx-junit</artifactId>
<version>4.0.15-alpha</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<!--region 源文件添加许可证-->
<plugin>
<groupId>com.mycila</groupId>
<artifactId>license-maven-plugin</artifactId>
<version>4.0.rc2</version>
<configuration>
<licenseSets>
<licenseSet>
<header>com/mycila/maven/plugin/license/templates/APACHE-2.txt</header>
<excludes>
<exclude>**/README</exclude>
<exclude>**/pom.xml</exclude>
<exclude>**/.lgtm.yml</exclude>
<exclude>src/test/resources/**</exclude>
<exclude>src/main/resources/**</exclude>
</excludes>
</licenseSet>
</licenseSets>
<properties>
<owner>Mr.Po</owner>
<email>ldd_live@foxmail.com</email>
</properties>
</configuration>
<executions>
<execution>
<goals>
<goal>check</goal>
</goals>
</execution>
</executions>
</plugin>
<!--endregion-->
<!--region 运行-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>3.0.0</version>
<executions>
<execution>
<goals>
<goal>java</goal>
</goals>
</execution>
</executions>
<configuration>
<mainClass>org.pomo.toasterfx.demo.DemoApplication</mainClass>
<!--当仅存在守护线程时,退出-->
<cleanupDaemonThreads>false</cleanupDaemonThreads>
</configuration>
</plugin>
<!--endregion-->
<!--region 执行jacoco,得到测试样例覆盖率-->
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.6</version>
<executions>
<execution>
<id>default-prepare-agent</id>
<goals>
<goal>prepare-agent</goal>
</goals>
</execution>
<execution>
<id>default-report</id>
<!--将此执行加入到测试阶段-->
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
<!--打包时,要求覆盖率高于70%-->
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit>
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.70</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<!--endregion-->
</plugins>
</build>
</project>
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。