1 Star 4 Fork 5

miukoo/football

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
pom.xml 5.67 KB
一键复制 编辑 原始数据 按行查看 历史
miukoo 提交于 2022-11-29 10:07 . first commit
<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>org.example</groupId>
<artifactId>football</artifactId>
<version>1.0-SNAPSHOT</version>
<packaging>jar</packaging>
<name>football</name>
<url>http://maven.apache.org</url>
<properties>
<maven.compiler.encoding>UTF-8</maven.compiler.encoding>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
</properties>
<dependencies>
<dependency>
<groupId>javazoom</groupId>
<artifactId>jlayer</artifactId>
<version>1.0.1</version>
</dependency>
</dependencies>
<build>
<finalName>${project.artifactId}-${project.version}</finalName>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<classpathPrefix>libs/</classpathPrefix>
<!-- 你的程序的运行入口类 ************-->
<mainClass>com.madou.yy.football.Football</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<!-- 拷贝打包的资源,到打包好的环境中-->
<!--在编译阶段生成 libs内容-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>compile</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/${project.artifactId}/libs</outputDirectory>
<overWriteReleases>false</overWriteReleases>
<overWriteSnapshots>false</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<copyPom>false</copyPom>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-resources-plugin</artifactId>
<executions>
<execution>
<id>copy-resource-windows</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-resources</goal>
</goals>
<configuration>
<overwrite>true</overwrite>
<outputDirectory>${basedir}/target/${project.artifactId}</outputDirectory>
<resources>
<!--拷贝的素材(图片、声音)-->
<resource>
<directory>${basedir}/static</directory>
<targetPath>/static</targetPath>
</resource>
<!--拷贝jre ************ -->
<resource>
<directory>C:/Java/jdk1.8.0_281/jre</directory>
<targetPath>/jre</targetPath>
</resource>
</resources>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>com.akathist.maven.plugins.launch4j</groupId>
<artifactId>launch4j-maven-plugin</artifactId>
<version>2.1.2</version>
<executions>
<!-- GUI exe -->
<execution>
<id>l4j-gui</id>
<phase>package</phase>
<goals>
<goal>launch4j</goal>
</goals>
<configuration>
<headerType>gui</headerType>
<outfile>${basedir}/target/${project.artifactId}/${project.artifactId}.exe</outfile>
<jar>${basedir}/target/${project.artifactId}-${project.version}.jar</jar>
<errTitle>App Err</errTitle>
<downloadUrl>http://boom.gjsm.cn/doc/index.html</downloadUrl>
<supportUrl>http://boom.gjsm.cn/doc/index.html</supportUrl>
<classPath>
<!-- 你的程序的运行入口类 ************-->
<mainClass>com.madou.yy.football.Football</mainClass>
</classPath>
<stayAlive>true</stayAlive>
<singleInstance>
<mutexName>MadouJava4Yang</mutexName>
<windowTitle>Madou Java For Yang</windowTitle>
</singleInstance>
<jre>
<!-- exe默认查找的jre路径 ************-->
<path>jre</path>
<runtimeBits>64/32</runtimeBits>
<initialHeapSize>128</initialHeapSize>
<maxHeapSize>2048</maxHeapSize>
<opts>-Dfile.encoding=UTF8</opts>
</jre>
<versionInfo>
<fileVersion>1.0.0.0</fileVersion>
<txtFileVersion>1.0.0.0</txtFileVersion>
<fileDescription>Madou</fileDescription>
<copyright>Madou</copyright>
<productVersion>1.0.0.0</productVersion>
<txtProductVersion>1.0.0.0</txtProductVersion>
<productName>MadouJava4Yang</productName>
<internalName>MadouJava4Yang</internalName>
<originalFilename>MadouJava4Yang.exe</originalFilename>
<language>SIMPLIFIED_CHINESE</language>
</versionInfo>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/miukoo/football.git
[email protected]:miukoo/football.git
miukoo
football
football
master

搜索帮助