|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>org.fitframework</groupId> |
| 7 | + <artifactId>parent</artifactId> |
| 8 | + <version>3.5.0-M2</version> |
| 9 | + <packaging>pom</packaging> |
| 10 | + |
| 11 | + <description>FIT Framework</description> |
| 12 | + <url>https://github.com/ModelEngine-Group/fit-framework</url> |
| 13 | + |
| 14 | + <licenses> |
| 15 | + <license> |
| 16 | + <name>MIT License</name> |
| 17 | + <url>https://opensource.org/licenses/MIT</url> |
| 18 | + <distribution>repo</distribution> |
| 19 | + </license> |
| 20 | + </licenses> |
| 21 | + |
| 22 | + <developers> |
| 23 | + <developer> |
| 24 | + <name>Ji Yujie</name> |
| 25 | + |
| 26 | + <roles> |
| 27 | + <role>Maintainer</role> |
| 28 | + </roles> |
| 29 | + </developer> |
| 30 | + <developer> |
| 31 | + <name>Song Yongtan</name> |
| 32 | + <email>271667068.qq.com</email> |
| 33 | + <roles> |
| 34 | + <role>Maintainer</role> |
| 35 | + </roles> |
| 36 | + </developer> |
| 37 | + </developers> |
| 38 | + |
| 39 | + <scm> |
| 40 | + <connection>scm:git:git://github.com/ModelEngine-Group/fit-framework.git</connection> |
| 41 | + <developerConnection>scm:git:ssh://github.com/ModelEngine-Group/fit-framework.git</developerConnection> |
| 42 | + <url>https://github.com/ModelEngine-Group/fit-framework</url> |
| 43 | + </scm> |
| 44 | + |
| 45 | + <modules> |
| 46 | + <module>framework</module> |
| 47 | + </modules> |
| 48 | + |
| 49 | + <properties> |
| 50 | + <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
| 51 | + <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
| 52 | + <java.version>17</java.version> |
| 53 | + |
| 54 | + <!-- FIT version --> |
| 55 | + <fit.version>3.5.0-M2</fit.version> |
| 56 | + |
| 57 | + <!-- Jacoco version --> |
| 58 | + <jacoco.version>0.8.10</jacoco.version> |
| 59 | + |
| 60 | + <!-- Maven plugin versions --> |
| 61 | + <maven.antrun.version>3.1.0</maven.antrun.version> |
| 62 | + <maven.compiler.version>3.11.0</maven.compiler.version> |
| 63 | + <maven.dependency.version>3.6.0</maven.dependency.version> |
| 64 | + <maven.jar.version>3.3.0</maven.jar.version> |
| 65 | + <maven.surefire.version>3.1.2</maven.surefire.version> |
| 66 | + <maven.source.version>3.3.0</maven.source.version> |
| 67 | + </properties> |
| 68 | + |
| 69 | + <build> |
| 70 | + <plugins> |
| 71 | + <plugin> |
| 72 | + <groupId>org.apache.maven.plugins</groupId> |
| 73 | + <artifactId>maven-compiler-plugin</artifactId> |
| 74 | + <version>${maven.compiler.version}</version> |
| 75 | + <configuration> |
| 76 | + <source>${java.version}</source> |
| 77 | + <target>${java.version}</target> |
| 78 | + <encoding>${project.build.sourceEncoding}</encoding> |
| 79 | + <showWarnings>true</showWarnings> |
| 80 | + <showDeprecation>true</showDeprecation> |
| 81 | + <compilerArgs> |
| 82 | + <arg>-parameters</arg> |
| 83 | + </compilerArgs> |
| 84 | + </configuration> |
| 85 | + </plugin> |
| 86 | + <plugin> |
| 87 | + <groupId>org.apache.maven.plugins</groupId> |
| 88 | + <artifactId>maven-source-plugin</artifactId> |
| 89 | + <version>${maven.source.version}</version> |
| 90 | + <executions> |
| 91 | + <execution> |
| 92 | + <id>attach-sources</id> |
| 93 | + <goals> |
| 94 | + <goal>jar-no-fork</goal> |
| 95 | + </goals> |
| 96 | + </execution> |
| 97 | + </executions> |
| 98 | + </plugin> |
| 99 | + <plugin> |
| 100 | + <groupId>org.apache.maven.plugins</groupId> |
| 101 | + <artifactId>maven-surefire-plugin</artifactId> |
| 102 | + <version>${maven.surefire.version}</version> |
| 103 | + </plugin> |
| 104 | + <plugin> |
| 105 | + <groupId>org.jacoco</groupId> |
| 106 | + <artifactId>jacoco-maven-plugin</artifactId> |
| 107 | + <version>${jacoco.version}</version> |
| 108 | + <executions> |
| 109 | + <!--生成jacoco.exec--> |
| 110 | + <execution> |
| 111 | + <id>jacoco-initialize</id> |
| 112 | + <goals> |
| 113 | + <goal>prepare-agent</goal> |
| 114 | + </goals> |
| 115 | + </execution> |
| 116 | + <!--配置jacoco的插件,用于生成 html报告--> |
| 117 | + <execution> |
| 118 | + <id>default-report</id> |
| 119 | + <goals> |
| 120 | + <goal>report</goal> |
| 121 | + </goals> |
| 122 | + <configuration> |
| 123 | + <includes> |
| 124 | + <include>modelengine/*</include> |
| 125 | + </includes> |
| 126 | + </configuration> |
| 127 | + </execution> |
| 128 | + </executions> |
| 129 | + </plugin> |
| 130 | + <plugin> |
| 131 | + <groupId>org.sonatype.central</groupId> |
| 132 | + <artifactId>central-publishing-maven-plugin</artifactId> |
| 133 | + <version>0.7.0</version> |
| 134 | + <extensions>true</extensions> |
| 135 | + <configuration> |
| 136 | + <publishingServerId>central</publishingServerId> |
| 137 | + </configuration> |
| 138 | + </plugin> |
| 139 | + </plugins> |
| 140 | + </build> |
| 141 | +</project> |
0 commit comments