|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" |
| 3 | + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 4 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 5 | + <modelVersion>4.0.0</modelVersion> |
| 6 | + <parent> |
| 7 | + <groupId>org.springframework.boot</groupId> |
| 8 | + <artifactId>spring-boot-starter-parent</artifactId> |
| 9 | + <version>2.2.13.RELEASE</version> |
| 10 | + <relativePath/> |
| 11 | + </parent> |
| 12 | + |
| 13 | + <groupId>com.fizzgate</groupId> |
| 14 | + <artifactId>fizz-simple-cache-plugin</artifactId> |
| 15 | + <version>1.0</version> |
| 16 | + |
| 17 | + <properties> |
| 18 | + <java.version>1.8</java.version> |
| 19 | + <spring-framework.version>5.2.18.RELEASE</spring-framework.version> |
| 20 | + <spring-session-bom.version>Dragonfruit-SR3</spring-session-bom.version> |
| 21 | + <reactor-bom.version>Dysprosium-SR25</reactor-bom.version> |
| 22 | + <lettuce.version>5.3.7.RELEASE</lettuce.version> |
| 23 | + <netty.version>4.1.70.Final</netty.version> |
| 24 | + <httpcore.version>4.4.14</httpcore.version> |
| 25 | + <log4j2.version>2.14.1</log4j2.version> |
| 26 | + <slf4j.version>1.7.32</slf4j.version> |
| 27 | + <commons-lang3.version>3.12.0</commons-lang3.version> |
| 28 | + <lombok.version>1.18.22</lombok.version> |
| 29 | + <apache.dubbo.version>2.7.5</apache.dubbo.version> |
| 30 | + <grpc.version>1.16.1</grpc.version> |
| 31 | + <mockito.version>3.4.6</mockito.version> |
| 32 | + <curator.version>4.0.1</curator.version> |
| 33 | + <zookeeper.version>3.5.9</zookeeper.version> |
| 34 | + <commons-codec.version>1.15</commons-codec.version> |
| 35 | + <commons-pool2.version>2.11.1</commons-pool2.version> |
| 36 | + <gson.version>2.8.8</gson.version> |
| 37 | + </properties> |
| 38 | + |
| 39 | + <repositories> |
| 40 | + <!--<repository> |
| 41 | + <id>spring-snapshots</id> |
| 42 | + <name>Spring Snapshots</name> |
| 43 | + <url>https://repo.spring.io/snapshot</url> |
| 44 | + <snapshots> |
| 45 | + <enabled>true</enabled> |
| 46 | + </snapshots> |
| 47 | + </repository> |
| 48 | + <repository> |
| 49 | + <id>spring-milestones</id> |
| 50 | + <name>Spring Milestones</name> |
| 51 | + <url>https://repo.spring.io/milestone</url> |
| 52 | + <snapshots> |
| 53 | + <enabled>false</enabled> |
| 54 | + </snapshots> |
| 55 | + </repository>--> |
| 56 | + </repositories> |
| 57 | + |
| 58 | + <dependencyManagement></dependencyManagement> |
| 59 | + |
| 60 | + <dependencies> |
| 61 | + <dependency> |
| 62 | + <groupId>com.fizzgate</groupId> |
| 63 | + <artifactId>fizz-spring-boot-starter</artifactId> |
| 64 | + <version>2.3.4-beta2</version> |
| 65 | + </dependency> |
| 66 | + </dependencies> |
| 67 | + |
| 68 | + <url>https://github.com/wehotel/fizz-gateway-community</url> |
| 69 | + |
| 70 | + <scm> |
| 71 | + <url>https://github.com/wehotel/fizz-gateway-community</url> |
| 72 | + <connection>scm:git:https://github.com/wehotel/fizz-gateway-community.git</connection> |
| 73 | + <developerConnection>scm:git:https://github.com/wehotel/fizz-gateway-community.git</developerConnection> |
| 74 | + <tag>HEAD</tag> |
| 75 | + </scm> |
| 76 | + |
| 77 | + <developers> |
| 78 | + <developer> |
| 79 | + <id>fizzteam</id> |
| 80 | + <name>fizzteam</name> |
| 81 | + <email>fizzteam@fizzgate.com</email> |
| 82 | + <url>https://www.fizzgate.com</url> |
| 83 | + <timezone>+8</timezone> |
| 84 | + </developer> |
| 85 | + </developers> |
| 86 | + |
| 87 | + <licenses> |
| 88 | + <license> |
| 89 | + <name>GNU General Public License, Version 3 or any later</name> |
| 90 | + <url>https://www.gnu.org/licenses/</url> |
| 91 | + </license> |
| 92 | + </licenses> |
| 93 | + |
| 94 | + <profiles> |
| 95 | + <!-- mvn clean deploy -P release --> |
| 96 | + <profile> |
| 97 | + <id>release</id> |
| 98 | + <build> |
| 99 | + <plugins> |
| 100 | + <plugin> |
| 101 | + <groupId>org.apache.maven.plugins</groupId> |
| 102 | + <artifactId>maven-deploy-plugin</artifactId> |
| 103 | + <version>${maven-deploy-plugin.version}</version> |
| 104 | + </plugin> |
| 105 | + <plugin> |
| 106 | + <groupId>org.apache.maven.plugins</groupId> |
| 107 | + <artifactId>maven-source-plugin</artifactId> |
| 108 | + <version>${maven-source-plugin.version}</version> |
| 109 | + <executions> |
| 110 | + <execution> |
| 111 | + <id>attach-sources</id> |
| 112 | + <phase>package</phase> |
| 113 | + <goals> |
| 114 | + <goal>jar-no-fork</goal> |
| 115 | + </goals> |
| 116 | + </execution> |
| 117 | + </executions> |
| 118 | + </plugin> |
| 119 | + <plugin> |
| 120 | + <groupId>org.apache.maven.plugins</groupId> |
| 121 | + <artifactId>maven-javadoc-plugin</artifactId> |
| 122 | + <version>${maven-javadoc-plugin.version}</version> |
| 123 | + <configuration> |
| 124 | + <show>package</show> |
| 125 | + <tags> |
| 126 | + <tag> |
| 127 | + <name>date</name> |
| 128 | + </tag> |
| 129 | + </tags> |
| 130 | + </configuration> |
| 131 | + <executions> |
| 132 | + <execution> |
| 133 | + <id>attach-javadocs</id> |
| 134 | + <phase>package</phase> |
| 135 | + <goals> |
| 136 | + <goal>jar</goal> |
| 137 | + </goals> |
| 138 | + <configuration> |
| 139 | + <doclint>none</doclint> |
| 140 | + </configuration> |
| 141 | + </execution> |
| 142 | + </executions> |
| 143 | + </plugin> |
| 144 | + <plugin> |
| 145 | + <groupId>org.apache.maven.plugins</groupId> |
| 146 | + <artifactId>maven-gpg-plugin</artifactId> |
| 147 | + <version>1.6</version> |
| 148 | + <configuration> |
| 149 | + <gpgArguments> |
| 150 | + <arg>--pinentry-mode</arg> |
| 151 | + <arg>loopback</arg> |
| 152 | + </gpgArguments> |
| 153 | + </configuration> |
| 154 | + <executions> |
| 155 | + <execution> |
| 156 | + <id>ossrh</id> |
| 157 | + <phase>verify</phase> |
| 158 | + <goals> |
| 159 | + <goal>sign</goal> |
| 160 | + </goals> |
| 161 | + </execution> |
| 162 | + </executions> |
| 163 | + </plugin> |
| 164 | + <plugin> |
| 165 | + <groupId>org.sonatype.plugins</groupId> |
| 166 | + <artifactId>nexus-staging-maven-plugin</artifactId> |
| 167 | + <version>1.6.8</version> |
| 168 | + <extensions>true</extensions> |
| 169 | + <configuration> |
| 170 | + <serverId>sonatype-release</serverId> |
| 171 | + <nexusUrl>https://s01.oss.sonatype.org/</nexusUrl> |
| 172 | + <autoReleaseAfterClose>true</autoReleaseAfterClose> |
| 173 | + </configuration> |
| 174 | + </plugin> |
| 175 | + </plugins> |
| 176 | + </build> |
| 177 | + <distributionManagement> |
| 178 | + <snapshotRepository> |
| 179 | + <id>sonatype-snapshots</id> |
| 180 | + <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> |
| 181 | + </snapshotRepository> |
| 182 | + <repository> |
| 183 | + <id>sonatype-release</id> |
| 184 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 185 | + </repository> |
| 186 | + </distributionManagement> |
| 187 | + </profile> |
| 188 | + </profiles> |
| 189 | + |
| 190 | + <build> |
| 191 | + <plugins> |
| 192 | + <plugin> |
| 193 | + <groupId>org.apache.maven.plugins</groupId> |
| 194 | + <artifactId>maven-source-plugin</artifactId> |
| 195 | + <version>3.2.1</version> |
| 196 | + <configuration> |
| 197 | + <attach>true</attach> |
| 198 | + </configuration> |
| 199 | + <executions> |
| 200 | + <execution> |
| 201 | + <phase>compile</phase> |
| 202 | + <goals> |
| 203 | + <goal>jar</goal> |
| 204 | + </goals> |
| 205 | + </execution> |
| 206 | + </executions> |
| 207 | + </plugin> |
| 208 | + <plugin> |
| 209 | + <groupId>org.apache.maven.plugins</groupId> |
| 210 | + <artifactId>maven-jar-plugin</artifactId> |
| 211 | + <configuration> |
| 212 | + <excludes> |
| 213 | + <exclude>*.properties</exclude> |
| 214 | + <exclude>*.xml</exclude> |
| 215 | + <exclude>*.yml</exclude> |
| 216 | + <!-- 配置类、启动类等,不打进插件 jar --> |
| 217 | + <!--<exclude>we/plugin/demo/DemoApiConfig**</exclude> |
| 218 | + <exclude>we/plugin/demo/Main**</exclude>--> |
| 219 | + </excludes> |
| 220 | + </configuration> |
| 221 | + </plugin> |
| 222 | + <!--<plugin> |
| 223 | + <groupId>org.springframework.boot</groupId> |
| 224 | + <artifactId>spring-boot-maven-plugin</artifactId> |
| 225 | + <executions> |
| 226 | + <execution> |
| 227 | + <id>repackage</id> |
| 228 | + <configuration> |
| 229 | + <classifier>exec</classifier> |
| 230 | + </configuration> |
| 231 | + </execution> |
| 232 | + </executions> |
| 233 | + </plugin>--> |
| 234 | + </plugins> |
| 235 | + </build> |
| 236 | +</project> |
0 commit comments