Commit 8e5d540b25aff3d87a3bdd6acdafa3c6f85605ca
1 parent
28a78cc3
1.
Showing
2 changed files
with
536 additions
and
0 deletions
schedule-core/pom.xml
0 → 100644
| 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 https://maven.apache.org/xsd/maven-4.0.0.xsd"> | |
| 4 | + <modelVersion>4.0.0</modelVersion> | |
| 5 | + <parent> | |
| 6 | + <groupId>org.springframework.boot</groupId> | |
| 7 | + <artifactId>spring-boot-starter-parent</artifactId> | |
| 8 | + <version>2.1.6.RELEASE</version> | |
| 9 | + <relativePath/> <!-- lookup parent from repository --> | |
| 10 | + </parent> | |
| 11 | + <groupId>com.bsth</groupId> | |
| 12 | + <artifactId>schedule-core</artifactId> | |
| 13 | + <version>0.0.1-SNAPSHOT</version> | |
| 14 | + <name>schedule-core</name> | |
| 15 | + <description>schedule-core</description> | |
| 16 | + <dependencies> | |
| 17 | + <dependency> | |
| 18 | + <groupId>org.springframework.boot</groupId> | |
| 19 | + <artifactId>spring-boot-starter-tomcat</artifactId> | |
| 20 | + <scope>provided</scope> | |
| 21 | + </dependency> | |
| 22 | + <dependency> | |
| 23 | + <groupId>javax.servlet</groupId> | |
| 24 | + <artifactId>javax.servlet-api</artifactId> | |
| 25 | + <version>3.1.0</version> | |
| 26 | + <scope>provided</scope> | |
| 27 | + </dependency> | |
| 28 | + <dependency> | |
| 29 | + <groupId>org.springframework.boot</groupId> | |
| 30 | + <artifactId>spring-boot-starter-security</artifactId> | |
| 31 | + </dependency> | |
| 32 | + <dependency> | |
| 33 | + <groupId>org.springframework.boot</groupId> | |
| 34 | + <artifactId>spring-boot-starter-data-jpa</artifactId> | |
| 35 | + </dependency> | |
| 36 | + <dependency> | |
| 37 | + <groupId>org.springframework.boot</groupId> | |
| 38 | + <artifactId>spring-boot-starter-aop</artifactId> | |
| 39 | + </dependency> | |
| 40 | + | |
| 41 | + <dependency> | |
| 42 | + <groupId>org.springframework</groupId> | |
| 43 | + <artifactId>spring-context-support</artifactId> | |
| 44 | + </dependency> | |
| 45 | + <dependency> | |
| 46 | + <groupId>org.springframework.boot</groupId> | |
| 47 | + <artifactId>spring-boot-starter-websocket</artifactId> | |
| 48 | + </dependency> | |
| 49 | + <dependency> | |
| 50 | + <groupId>org.springframework.boot</groupId> | |
| 51 | + <artifactId>spring-boot-configuration-processor</artifactId> | |
| 52 | + <optional>true</optional> | |
| 53 | + </dependency> | |
| 54 | + <dependency> | |
| 55 | + <groupId>org.springframework.kafka</groupId> | |
| 56 | + <artifactId>spring-kafka</artifactId> | |
| 57 | + </dependency> | |
| 58 | + <dependency> | |
| 59 | + <groupId>mysql</groupId> | |
| 60 | + <artifactId>mysql-connector-java</artifactId> | |
| 61 | + <version>5.1.38</version> | |
| 62 | + </dependency> | |
| 63 | + | |
| 64 | + <dependency> | |
| 65 | + <groupId>joda-time</groupId> | |
| 66 | + <artifactId>joda-time</artifactId> | |
| 67 | + </dependency> | |
| 68 | + <dependency> | |
| 69 | + <groupId>com.alibaba</groupId> | |
| 70 | + <artifactId>fastjson</artifactId> | |
| 71 | + <version>1.2.4</version> | |
| 72 | + </dependency> | |
| 73 | + | |
| 74 | + <dependency> | |
| 75 | + <groupId>org.apache.httpcomponents</groupId> | |
| 76 | + <artifactId>httpclient</artifactId> | |
| 77 | + </dependency> | |
| 78 | + | |
| 79 | + <!-- dbcp2数据库连接池 --> | |
| 80 | + <dependency> | |
| 81 | + <groupId>org.apache.commons</groupId> | |
| 82 | + <artifactId>commons-dbcp2</artifactId> | |
| 83 | + </dependency> | |
| 84 | + | |
| 85 | + <dependency> | |
| 86 | + <groupId>org.hibernate</groupId> | |
| 87 | + <artifactId>hibernate-search-orm</artifactId> | |
| 88 | + <version>5.11.2.Final</version> | |
| 89 | + </dependency> | |
| 90 | + | |
| 91 | + <dependency> | |
| 92 | + <groupId>commons-lang</groupId> | |
| 93 | + <artifactId>commons-lang</artifactId> | |
| 94 | + <version>2.6</version> | |
| 95 | + </dependency> | |
| 96 | + <dependency> | |
| 97 | + <groupId>org.apache.commons</groupId> | |
| 98 | + <artifactId>commons-lang3</artifactId> | |
| 99 | + <version>3.4</version> | |
| 100 | + </dependency> | |
| 101 | + <dependency> | |
| 102 | + <groupId>commons-fileupload</groupId> | |
| 103 | + <artifactId>commons-fileupload</artifactId> | |
| 104 | + <version>1.2.2</version> | |
| 105 | + </dependency> | |
| 106 | + <dependency> | |
| 107 | + <groupId>commons-io</groupId> | |
| 108 | + <artifactId>commons-io</artifactId> | |
| 109 | + <version>2.4</version> | |
| 110 | + </dependency> | |
| 111 | + <dependency> | |
| 112 | + <groupId>org.codehaus.janino</groupId> | |
| 113 | + <artifactId>janino</artifactId> | |
| 114 | + </dependency> | |
| 115 | + | |
| 116 | + <dependency> | |
| 117 | + <groupId>org.apache.poi</groupId> | |
| 118 | + <artifactId>poi-ooxml</artifactId> | |
| 119 | + <version>3.13</version> | |
| 120 | + </dependency> | |
| 121 | + | |
| 122 | + <dependency> | |
| 123 | + <groupId>com.google.guava</groupId> | |
| 124 | + <artifactId>guava</artifactId> | |
| 125 | + <version>19.0</version> | |
| 126 | + </dependency> | |
| 127 | + <!-- ftp文件上传包 --> | |
| 128 | + <dependency> | |
| 129 | + <groupId>commons-net</groupId> | |
| 130 | + <artifactId>commons-net</artifactId> | |
| 131 | + <version>3.5</version> | |
| 132 | + </dependency> | |
| 133 | + <dependency> | |
| 134 | + <groupId>org.apache.commons</groupId> | |
| 135 | + <artifactId>commons-compress</artifactId> | |
| 136 | + <version>1.3</version> | |
| 137 | + </dependency> | |
| 138 | + <!-- drools 6依赖 --> | |
| 139 | + <dependency> | |
| 140 | + <groupId>org.kie</groupId> | |
| 141 | + <artifactId>kie-api</artifactId> | |
| 142 | + </dependency> | |
| 143 | + <dependency> | |
| 144 | + <groupId>org.drools</groupId> | |
| 145 | + <artifactId>drools-compiler</artifactId> | |
| 146 | + </dependency> | |
| 147 | + | |
| 148 | + <!-- springboot测试 --> | |
| 149 | + <dependency> | |
| 150 | + <groupId>org.springframework.boot</groupId> | |
| 151 | + <artifactId>spring-boot-starter-test</artifactId> | |
| 152 | + <scope>test</scope> | |
| 153 | + </dependency> | |
| 154 | + | |
| 155 | + <dependency> | |
| 156 | + <groupId>c3p0</groupId> | |
| 157 | + <artifactId>c3p0</artifactId> | |
| 158 | + <version>0.9.1.2</version> | |
| 159 | + </dependency> | |
| 160 | + | |
| 161 | + <!-- 图表 --> | |
| 162 | + <dependency> | |
| 163 | + <groupId>com.google.code.gson</groupId> | |
| 164 | + <artifactId>gson</artifactId> | |
| 165 | + <version>2.8.5</version> | |
| 166 | + </dependency> | |
| 167 | + <dependency> | |
| 168 | + <groupId>com.github.abel533</groupId> | |
| 169 | + <artifactId>ECharts</artifactId> | |
| 170 | + <version>2.1.8</version> | |
| 171 | + </dependency> | |
| 172 | + | |
| 173 | + <dependency> | |
| 174 | + <groupId>org.apache.tika</groupId> | |
| 175 | + <artifactId>tika-core</artifactId> | |
| 176 | + <version>1.7</version> | |
| 177 | + </dependency> | |
| 178 | + | |
| 179 | + <!-- pentaho kettle 依赖 --> | |
| 180 | + <dependency> | |
| 181 | + <groupId>pentaho-kettle</groupId> | |
| 182 | + <artifactId>kettle-core</artifactId> | |
| 183 | + <version>6.0.1.0-386</version> | |
| 184 | + <exclusions> | |
| 185 | + <exclusion> | |
| 186 | + <groupId>org.apache.xmlgraphics</groupId> | |
| 187 | + <artifactId>batik-js</artifactId> | |
| 188 | + </exclusion> | |
| 189 | + </exclusions> | |
| 190 | + </dependency> | |
| 191 | + <dependency> | |
| 192 | + <groupId>pentaho-kettle</groupId> | |
| 193 | + <artifactId>kettle-engine</artifactId> | |
| 194 | + <version>6.0.1.0-386</version> | |
| 195 | + </dependency> | |
| 196 | + <dependency> | |
| 197 | + <groupId>pentaho</groupId> | |
| 198 | + <artifactId>metastore</artifactId> | |
| 199 | + <version>6.0.1.0-386</version> | |
| 200 | + </dependency> | |
| 201 | + <dependency> | |
| 202 | + <groupId>org.apache.commons</groupId> | |
| 203 | + <artifactId>commons-vfs2</artifactId> | |
| 204 | + <version>2.1-20150824</version> | |
| 205 | + </dependency> | |
| 206 | + | |
| 207 | + <dependency> | |
| 208 | + <groupId>net.sourceforge.jexcelapi</groupId> | |
| 209 | + <artifactId>jxl</artifactId> | |
| 210 | + <version>2.6.12</version> | |
| 211 | + <exclusions> | |
| 212 | + <exclusion> | |
| 213 | + <groupId>log4j</groupId> | |
| 214 | + <artifactId>log4j</artifactId> | |
| 215 | + </exclusion> | |
| 216 | + </exclusions> | |
| 217 | + </dependency> | |
| 218 | + <dependency> | |
| 219 | + <groupId>rhino</groupId> | |
| 220 | + <artifactId>js</artifactId> | |
| 221 | + <version>1.7R2</version> | |
| 222 | + </dependency> | |
| 223 | + <dependency> | |
| 224 | + <groupId>javax.mail</groupId> | |
| 225 | + <artifactId>mail</artifactId> | |
| 226 | + <version>1.4.7</version> | |
| 227 | + </dependency> | |
| 228 | + | |
| 229 | + <dependency> | |
| 230 | + <groupId>com.github.axet</groupId> | |
| 231 | + <artifactId>kaptcha</artifactId> | |
| 232 | + <version>0.0.9</version> | |
| 233 | + </dependency> | |
| 234 | + | |
| 235 | + <dependency> | |
| 236 | + <groupId>commons-codec</groupId> | |
| 237 | + <artifactId>commons-codec</artifactId> | |
| 238 | + <version>1.4</version> | |
| 239 | + <scope>compile</scope> | |
| 240 | + </dependency> | |
| 241 | + <dependency> | |
| 242 | + <groupId>org.bouncycastle</groupId> | |
| 243 | + <artifactId>bcprov-jdk15on</artifactId> | |
| 244 | + <version>1.52</version> | |
| 245 | + </dependency> | |
| 246 | + <dependency> | |
| 247 | + <groupId>axis</groupId> | |
| 248 | + <artifactId>axis</artifactId> | |
| 249 | + <version>1.4</version> | |
| 250 | + </dependency> | |
| 251 | + <dependency> | |
| 252 | + <groupId>javax.xml</groupId> | |
| 253 | + <artifactId>jaxrpc-api</artifactId> | |
| 254 | + <version>1.1</version> | |
| 255 | + </dependency> | |
| 256 | + | |
| 257 | + <dependency> | |
| 258 | + <groupId>org.apache.axis2</groupId> | |
| 259 | + <artifactId>axis2-adb</artifactId> | |
| 260 | + <version>1.7.4</version> | |
| 261 | + </dependency> | |
| 262 | + <dependency> | |
| 263 | + <groupId>org.apache.axis2</groupId> | |
| 264 | + <artifactId>axis2-transport-local</artifactId> | |
| 265 | + <version>1.7.4</version> | |
| 266 | + </dependency> | |
| 267 | + <dependency> | |
| 268 | + <groupId>org.apache.axis2</groupId> | |
| 269 | + <artifactId>axis2-transport-http</artifactId> | |
| 270 | + <version>1.7.4</version> | |
| 271 | + </dependency> | |
| 272 | + | |
| 273 | + <dependency> | |
| 274 | + <groupId>org.dbunit</groupId> | |
| 275 | + <artifactId>dbunit</artifactId> | |
| 276 | + <version>2.4.9</version> | |
| 277 | + <scope>test</scope> | |
| 278 | + | |
| 279 | + <exclusions> | |
| 280 | + <exclusion> | |
| 281 | + <groupId>org.slf4j</groupId> | |
| 282 | + <artifactId>slf4j-api</artifactId> | |
| 283 | + </exclusion> | |
| 284 | + </exclusions> | |
| 285 | + </dependency> | |
| 286 | + | |
| 287 | + <dependency> | |
| 288 | + <groupId>com.h2database</groupId> | |
| 289 | + <artifactId>h2</artifactId> | |
| 290 | + <version>1.2.132</version> | |
| 291 | + <scope>test</scope> | |
| 292 | + </dependency> | |
| 293 | + | |
| 294 | + | |
| 295 | + <dependency> | |
| 296 | + <groupId>org.apache.mina</groupId> | |
| 297 | + <artifactId>mina-core</artifactId> | |
| 298 | + <version>2.0.13</version> | |
| 299 | + </dependency> | |
| 300 | + | |
| 301 | + <dependency> | |
| 302 | + <groupId>com.google.protobuf</groupId> | |
| 303 | + <artifactId>protobuf-java</artifactId> | |
| 304 | + <version>3.3.0</version> | |
| 305 | + </dependency> | |
| 306 | + | |
| 307 | + <dependency> | |
| 308 | + <groupId>com.github.stuxuhai</groupId> | |
| 309 | + <artifactId>jpinyin</artifactId> | |
| 310 | + <version>1.1.8</version> | |
| 311 | + </dependency> | |
| 312 | + | |
| 313 | + <!-- dubbo 需要的jar start --> | |
| 314 | + <dependency> | |
| 315 | + <groupId>com.alibaba</groupId> | |
| 316 | + <artifactId>dubbo</artifactId> | |
| 317 | + <!--<version>2.6.3</version>--> | |
| 318 | + <version>2.5.3</version> | |
| 319 | + <exclusions> | |
| 320 | + <exclusion> | |
| 321 | + <groupId>org.springframework</groupId> | |
| 322 | + <artifactId>spring</artifactId> | |
| 323 | + </exclusion> | |
| 324 | + <exclusion> | |
| 325 | + <groupId>log4j</groupId> | |
| 326 | + <artifactId>log4j</artifactId> | |
| 327 | + </exclusion> | |
| 328 | + </exclusions> | |
| 329 | + </dependency> | |
| 330 | + | |
| 331 | + <dependency> | |
| 332 | + <groupId>org.apache.zookeeper</groupId> | |
| 333 | + <artifactId>zookeeper</artifactId> | |
| 334 | + <version>3.4.5</version> | |
| 335 | + <exclusions> | |
| 336 | + <exclusion> | |
| 337 | + <groupId>log4j</groupId> | |
| 338 | + <artifactId>log4j</artifactId> | |
| 339 | + </exclusion> | |
| 340 | + <exclusion> | |
| 341 | + <groupId>org.slf4j</groupId> | |
| 342 | + <artifactId>slf4j-log4j12</artifactId> | |
| 343 | + </exclusion> | |
| 344 | + </exclusions> | |
| 345 | + </dependency> | |
| 346 | + | |
| 347 | + <dependency> | |
| 348 | + <groupId>com.101tec</groupId> | |
| 349 | + <artifactId>zkclient</artifactId> | |
| 350 | + <version>0.3</version> | |
| 351 | + <exclusions> | |
| 352 | + <exclusion> | |
| 353 | + <groupId>log4j</groupId> | |
| 354 | + <artifactId>log4j</artifactId> | |
| 355 | + </exclusion> | |
| 356 | + </exclusions> | |
| 357 | + </dependency> | |
| 358 | + | |
| 359 | + <!-- plan common工程依赖 --> | |
| 360 | + <dependency> | |
| 361 | + <groupId>com.bsth.control_v2</groupId> | |
| 362 | + <artifactId>plan_module-common</artifactId> | |
| 363 | + <version>1.0-SNAPSHOT</version> | |
| 364 | + </dependency> | |
| 365 | + <!-- plan common config 工程依赖 --> | |
| 366 | + <dependency> | |
| 367 | + <groupId>com.bsth.control_v2</groupId> | |
| 368 | + <artifactId>plan_module-common-config</artifactId> | |
| 369 | + <version>1.0-SNAPSHOT</version> | |
| 370 | + </dependency> | |
| 371 | + <dependency> | |
| 372 | + <groupId>org.slf4j</groupId> | |
| 373 | + <artifactId>slf4j-api</artifactId> | |
| 374 | + <version>1.7.7</version> | |
| 375 | + </dependency> | |
| 376 | + <dependency> | |
| 377 | + <groupId>ch.qos.logback</groupId> | |
| 378 | + <artifactId>logback-classic</artifactId> | |
| 379 | + <version>1.1.11</version> | |
| 380 | + </dependency> | |
| 381 | + <dependency> | |
| 382 | + <groupId>org.slf4j</groupId> | |
| 383 | + <artifactId>log4j-over-slf4j</artifactId> | |
| 384 | + <version>1.7.7</version> | |
| 385 | + </dependency> | |
| 386 | + | |
| 387 | + <dependency> | |
| 388 | + <groupId>org.projectlombok</groupId> | |
| 389 | + <artifactId>lombok</artifactId> | |
| 390 | + </dependency> | |
| 391 | + | |
| 392 | + <!-- https://mvnrepository.com/artifact/pentaho/simple-jndi --> | |
| 393 | + <dependency> | |
| 394 | + <groupId>pentaho</groupId> | |
| 395 | + <artifactId>simple-jndi</artifactId> | |
| 396 | + <version>1.0.0</version> | |
| 397 | + </dependency> | |
| 398 | + | |
| 399 | + <!-- geotool --> | |
| 400 | + <dependency> | |
| 401 | + <groupId>org.locationtech.jts</groupId> | |
| 402 | + <artifactId>jts-core</artifactId> | |
| 403 | + <version>1.16.1</version> | |
| 404 | + </dependency> | |
| 405 | + | |
| 406 | + <dependency> | |
| 407 | + <groupId>org.hibernate</groupId> | |
| 408 | + <artifactId>hibernate-spatial</artifactId> | |
| 409 | + </dependency> | |
| 410 | + | |
| 411 | + <dependency> | |
| 412 | + <groupId>org.java-websocket</groupId> | |
| 413 | + <artifactId>Java-WebSocket</artifactId> | |
| 414 | + <version>1.5.3</version> | |
| 415 | + </dependency> | |
| 416 | + | |
| 417 | + <dependency> | |
| 418 | + <groupId>org.bytedeco</groupId> | |
| 419 | + <artifactId>javacv-platform</artifactId> | |
| 420 | + <version>1.5.11</version> | |
| 421 | + </dependency> | |
| 422 | + </dependencies> | |
| 423 | + <dependencyManagement> | |
| 424 | + <dependencies> | |
| 425 | + <!-- drools 6依赖 --> | |
| 426 | + <dependency> | |
| 427 | + <groupId>org.drools</groupId> | |
| 428 | + <artifactId>drools-bom</artifactId> | |
| 429 | + <type>pom</type> | |
| 430 | + <version>6.3.0.Final</version> | |
| 431 | + <scope>import</scope> | |
| 432 | + </dependency> | |
| 433 | + </dependencies> | |
| 434 | + </dependencyManagement> | |
| 435 | + <build> | |
| 436 | + <plugins> | |
| 437 | + <!-- ProGuard 混淆插件 --> | |
| 438 | + <plugin> | |
| 439 | + <groupId>com.github.wvengen</groupId> | |
| 440 | + <artifactId>proguard-maven-plugin</artifactId> | |
| 441 | + <version>2.6.0</version> <!-- 最新版本可查看 Maven 仓库 --> | |
| 442 | + <executions> | |
| 443 | + <execution> | |
| 444 | + <phase>package</phase> <!-- 在打包阶段执行混淆 --> | |
| 445 | + <goals> | |
| 446 | + <goal>proguard</goal> | |
| 447 | + </goals> | |
| 448 | + </execution> | |
| 449 | + </executions> | |
| 450 | + <configuration> | |
| 451 | + <!-- 输入的jar包 --> | |
| 452 | + <injar>${project.build.finalName}.jar</injar> | |
| 453 | + <!-- 输出的jar包 --> | |
| 454 | + <outjar>${project.build.finalName}-obfuscated.jar</outjar> | |
| 455 | + <!-- 是否进行混淆,默认为true --> | |
| 456 | + <obfuscate>true</obfuscate> | |
| 457 | + <!-- 配置文件,通常为proguard.cfg,主要对options选项进行配置,所有的options选项都可以进行配置 --> | |
| 458 | + <proguardInclude>${project.basedir}/proguard.cfg</proguardInclude> | |
| 459 | + <!-- 额外的jar,项目编译所需的jar --> | |
| 460 | + <libs> | |
| 461 | + <lib>${java.home}/lib/rt.jar</lib> | |
| 462 | + <lib>${java.home}/lib/jce.jar</lib> | |
| 463 | + <lib>${java.home}/lib/jsse.jar</lib> | |
| 464 | + <!-- <lib>${project.build.directory}/lib/*.jar</lib>--> | |
| 465 | + </libs> | |
| 466 | + | |
| 467 | + <!-- 对输入jar进行过滤,如对META-INFO文件不处理 --> | |
| 468 | + <inLibsFilter>!META-INF/**,!META-INF/versions/**</inLibsFilter> | |
| 469 | + <!-- 输出路径配置,必须包含injar标签中填写的jar --> | |
| 470 | + <outputDirectory>${project.build.directory}</outputDirectory> | |
| 471 | + <!-- 上面使用了conf配置文件,options无需配置 --> | |
| 472 | + <putLibraryJarsInTempDir>true</putLibraryJarsInTempDir> | |
| 473 | + </configuration> | |
| 474 | + </plugin> | |
| 475 | + </plugins> | |
| 476 | + </build> | |
| 477 | + <repositories> | |
| 478 | + <!-- 阿里云仓库(延迟检查,降低优先级) --> | |
| 479 | + <repository> | |
| 480 | + <id>aliyunmaven</id> | |
| 481 | + <url>https://maven.aliyun.com/repository/central</url> | |
| 482 | + <releases> | |
| 483 | + <enabled>true</enabled> | |
| 484 | + <updatePolicy>daily</updatePolicy> <!-- 每天只检查一次 --> | |
| 485 | + </releases> | |
| 486 | + </repository> | |
| 487 | + | |
| 488 | + <!-- 中央仓库(优先检查,立即更新) --> | |
| 489 | + <repository> | |
| 490 | + <id>central</id> | |
| 491 | + <url>https://repo1.maven.org/maven2/</url> | |
| 492 | + <releases> | |
| 493 | + <enabled>true</enabled> | |
| 494 | + <updatePolicy>always</updatePolicy> <!-- 每次构建都检查 --> | |
| 495 | + </releases> | |
| 496 | + <snapshots> | |
| 497 | + <enabled>false</enabled> | |
| 498 | + </snapshots> | |
| 499 | + </repository> | |
| 500 | + </repositories> | |
| 501 | + | |
| 502 | + <pluginRepositories> | |
| 503 | + <pluginRepository> | |
| 504 | + <id>central</id> | |
| 505 | + <url>https://repo1.maven.org/maven2/</url> | |
| 506 | + <releases> | |
| 507 | + <updatePolicy>always</updatePolicy> | |
| 508 | + </releases> | |
| 509 | + </pluginRepository> | |
| 510 | + </pluginRepositories> | |
| 511 | +</project> | ... | ... |
schedule-core/proguard.cfg
0 → 100644
| 1 | +-ignorewarnings | |
| 2 | +# 保留所有类的公共构造方法 | |
| 3 | +-keep public class * { | |
| 4 | + public <init>(); | |
| 5 | +} | |
| 6 | + | |
| 7 | +# 保留指定包下的类及方法(如对外提供的 API) | |
| 8 | +-keep class com.bsth.controller.** { *; } | |
| 9 | + | |
| 10 | +# 保留带有特定注解的类(如 Spring 组件) | |
| 11 | +-keep @org.springframework.stereotype.Component class * | |
| 12 | + | |
| 13 | +# 保留序列化相关的类和方法(避免反序列化失败) | |
| 14 | +-keep class * implements java.io.Serializable { | |
| 15 | + static final long serialVersionUID; | |
| 16 | + private static final java.io.ObjectStreamField[] serialPersistentFields; | |
| 17 | + private void writeObject(java.io.ObjectOutputStream); | |
| 18 | + private void readObject(java.io.ObjectInputStream); | |
| 19 | + java.lang.Object writeReplace(); | |
| 20 | + java.lang.Object readResolve(); | |
| 21 | +} | |
| 22 | + | |
| 23 | +# 忽略第三方依赖的混淆(如引入的 Jar 包,避免破坏依赖) | |
| 24 | +-keep class org.** { *; } | |
| 25 | +-keep class com.google.** { *; } | |
| 0 | 26 | \ No newline at end of file | ... | ... |