加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 10.08 KB
一键复制 编辑 原始数据 按行查看 历史
huangxingguang 提交于 2020-10-09 23:28 . 1.0.3
<?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">
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.1.0.RELEASE</version>
<relativePath/>
</parent>
<modelVersion>4.0.0</modelVersion>
<groupId>org.starxg</groupId>
<artifactId>m3u8-download</artifactId>
<version>1.0.3</version>
<url>http://www.asow.cn/</url>
<properties>
<java.version>11</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<fx.version>14.0.2.1</fx.version>
<commons-io.version>2.6</commons-io.version>
<fastjson.version>1.2.73</fastjson.version>
<bcprov-jdk16.version>1.46</bcprov-jdk16.version>
<okhttp.version>3.14.9</okhttp.version>
<proguard-base.version>6.2.2</proguard-base.version>
<lombok.version>1.18.12</lombok.version>
<mapstruct-processor.version>1.3.0.Final</mapstruct-processor.version>
<proguard-maven-plugin.version>2.3.0</proguard-maven-plugin.version>
<!--跳过测试-->
<maven.test.skip>true</maven.test.skip>
</properties>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
<dependency>
<groupId>org.mapstruct</groupId>
<artifactId>mapstruct-processor</artifactId>
<version>${mapstruct-processor.version}</version>
</dependency>
<dependency>
<groupId>org.openjfx</groupId>
<artifactId>javafx-fxml</artifactId>
<version>${fx.version}</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>${commons-io.version}</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
</dependency>
<dependency>
<groupId>com.alibaba</groupId>
<artifactId>fastjson</artifactId>
<version>${fastjson.version}</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk16</artifactId>
<version>${bcprov-jdk16.version}</version>
</dependency>
<dependency>
<groupId>com.squareup.okhttp3</groupId>
<artifactId>okhttp</artifactId>
<version>${okhttp.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}-original</finalName>
<resources>
<resource>
<filtering>true</filtering>
<directory>src/main/resources</directory>
<includes>
<include>**/*.yml</include>
<include>**/*.properties</include>
<include>**/*.xml</include>
<include>**/*.fxml</include>
<include>**/*.css</include>
</includes>
</resource>
</resources>
<plugins>
<!--compiler-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<release>${java.version}</release>
<source>${java.version}</source>
<target>${java.version}</target>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
</configuration>
</plugin>
<!--source-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<configuration>
<useDefaultDelimiters>false</useDefaultDelimiters>
<delimiters>
<delimiter>${*}</delimiter>
</delimiters>
<encoding>UTF-8</encoding>
</configuration>
</plugin>
<!--pack-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<!-- 指定入口函数 -->
<mainClass>com.starxg.m3u8.M3U8Application</mainClass>
<!-- 是否添加依赖的jar路径配置 -->
<addClasspath>true</addClasspath>
<!-- 依赖的jar包存放位置,和生成的jar放在同一级目录下 -->
<classpathPrefix>libs/</classpathPrefix>
</manifest>
</archive>
</configuration>
</plugin>
<!--libs-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<configuration>
<excludeGroupIds>org.openjfx,org.mapstruct</excludeGroupIds>
<includeScope>compile</includeScope>
</configuration>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/libs</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<!-- <excludeArtifactIds>javafx-web</excludeArtifactIds>-->
</configuration>
</execution>
</executions>
</plugin>
<!--代码混淆-->
<plugin>
<groupId>com.github.wvengen</groupId>
<artifactId>proguard-maven-plugin</artifactId>
<version>${proguard-maven-plugin.version}</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>proguard</goal>
</goals>
</execution>
</executions>
<configuration>
<proguardVersion>6.2.2</proguardVersion>
<injar>${project.artifactId}-${project.version}-original.jar</injar>
<outjar>${project.artifactId}-${project.version}.jar</outjar>
<inFilter>!META-INF/maven/**,!module-info.class</inFilter>
<obfuscate>true</obfuscate>
<proguardInclude>${project.basedir}/proguard.cfg</proguardInclude>
<libs>
<lib>${java.home}/lib/jrt-fs.jar</lib>
<lib>${java.home}/jmods/java.base.jmod</lib>
<lib>${java.home}/jmods/java.compiler.jmod</lib>
<lib>${java.home}/jmods/java.datatransfer.jmod</lib>
<lib>${java.home}/jmods/java.desktop.jmod</lib>
<lib>${java.home}/jmods/java.instrument.jmod</lib>
<lib>${java.home}/jmods/java.logging.jmod</lib>
<lib>${java.home}/jmods/java.management.jmod</lib>
<lib>${java.home}/jmods/java.management.rmi.jmod</lib>
<lib>${java.home}/jmods/java.naming.jmod</lib>
<lib>${java.home}/jmods/java.prefs.jmod</lib>
<lib>${java.home}/jmods/java.rmi.jmod</lib>
<lib>${java.home}/jmods/java.scripting.jmod</lib>
<lib>${java.home}/jmods/java.security.jgss.jmod</lib>
<lib>${java.home}/jmods/java.security.sasl.jmod</lib>
<lib>${java.home}/jmods/java.smartcardio.jmod</lib>
<lib>${java.home}/jmods/java.sql.jmod</lib>
<lib>${java.home}/jmods/java.sql.rowset.jmod</lib>
<lib>${java.home}/jmods/java.xml.crypto.jmod</lib>
<lib>${java.home}/jmods/java.xml.jmod</lib>
<lib>${java.home}/jmods/jdk.accessibility.jmod</lib>
<!--<lib>${java.home}/jmods/jdk.aot.jmod</lib>-->
<lib>${java.home}/jmods/jdk.attach.jmod</lib>
<lib>${java.home}/jmods/jdk.charsets.jmod</lib>
<lib>${java.home}/jmods/jdk.compiler.jmod</lib>
<lib>${java.home}/jmods/jdk.crypto.cryptoki.jmod</lib>
<lib>${java.home}/jmods/jdk.crypto.ec.jmod</lib>
<!--<lib>${java.home}/jmods/jdk.crypto.mscapi.jmod</lib>-->
<lib>${java.home}/jmods/jdk.dynalink.jmod</lib>
<lib>${java.home}/jmods/jdk.editpad.jmod</lib>
<!--<lib>${java.home}/jmods/jdk.hotspot.agent.jmod</lib>-->
<lib>${java.home}/jmods/jdk.httpserver.jmod</lib>
<lib>${java.home}/jmods/jdk.internal.ed.jmod</lib>
<lib>${java.home}/jmods/jdk.internal.jvmstat.jmod</lib>
<lib>${java.home}/jmods/jdk.internal.le.jmod</lib>
<lib>${java.home}/jmods/jdk.internal.opt.jmod</lib>
<!--<lib>${java.home}/jmods/jdk.internal.vm.ci.jmod</lib>-->
<!--<lib>${java.home}/jmods/jdk.internal.vm.compiler.jmod</lib>-->
<!--<lib>${java.home}/jmods/jdk.internal.vm.compiler.management.jmod</lib>-->
<lib>${java.home}/jmods/jdk.jartool.jmod</lib>
<lib>${java.home}/jmods/jdk.javadoc.jmod</lib>
<lib>${java.home}/jmods/jdk.jcmd.jmod</lib>
<lib>${java.home}/jmods/jdk.jconsole.jmod</lib>
<lib>${java.home}/jmods/jdk.jdeps.jmod</lib>
<lib>${java.home}/jmods/jdk.jdi.jmod</lib>
<lib>${java.home}/jmods/jdk.jdwp.agent.jmod</lib>
<lib>${java.home}/jmods/jdk.jlink.jmod</lib>
<lib>${java.home}/jmods/jdk.jshell.jmod</lib>
<lib>${java.home}/jmods/jdk.jsobject.jmod</lib>
<!--<lib>${java.home}/jmods/jdk.jstatd.jmod</lib>-->
<lib>${java.home}/jmods/jdk.localedata.jmod</lib>
<lib>${java.home}/jmods/jdk.management.agent.jmod</lib>
<lib>${java.home}/jmods/jdk.management.jmod</lib>
<lib>${java.home}/jmods/jdk.naming.dns.jmod</lib>
<lib>${java.home}/jmods/jdk.naming.rmi.jmod</lib>
<lib>${java.home}/jmods/jdk.net.jmod</lib>
<lib>${java.home}/jmods/jdk.pack.jmod</lib>
<lib>${java.home}/jmods/jdk.rmic.jmod</lib>
<lib>${java.home}/jmods/jdk.scripting.nashorn.jmod</lib>
<lib>${java.home}/jmods/jdk.scripting.nashorn.shell.jmod</lib>
<lib>${java.home}/jmods/jdk.sctp.jmod</lib>
<lib>${java.home}/jmods/jdk.security.auth.jmod</lib>
<lib>${java.home}/jmods/jdk.security.jgss.jmod</lib>
<lib>${java.home}/jmods/jdk.unsupported.jmod</lib>
<lib>${java.home}/jmods/jdk.xml.dom.jmod</lib>
<lib>${java.home}/jmods/jdk.zipfs.jmod</lib>
</libs>
</configuration>
<dependencies>
<dependency>
<groupId>net.sf.proguard</groupId>
<artifactId>proguard-base</artifactId>
<version>${proguard-base.version}</version>
<scope>runtime</scope>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化