加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 4.21 KB
一键复制 编辑 原始数据 按行查看 历史
Wands 提交于 2021-02-22 17:18 . shell release v1.5.0
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.code4everything</groupId>
<artifactId>wetool</artifactId>
<version>${wetool.version}</version>
<properties>
<java.veresion>11</java.veresion>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<wetool.version>1.5.0</wetool.version>
<zxing.version>3.3.2</zxing.version>
<junit.version>4.13.1</junit.version>
<lombok.version>1.18.16</lombok.version>
</properties>
<!--私有仓库-->
<repositories>
<repository>
<id>ease-maven</id>
<url>https://gitee.com/code4everything/repository/raw/master/maven</url>
</repository>
</repositories>
<!--本地仓库-->
<distributionManagement>
<repository>
<id>ease-maven</id>
<url>file:${user.home}/.m2/repository</url>
</repository>
</distributionManagement>
<!--添加编译参数:-D javafx.platform=win|mac|linux-->
<dependencies>
<dependency>
<groupId>org.code4everything</groupId>
<artifactId>wetool-plugin-support</artifactId>
<version>${wetool.version}</version>
</dependency>
<!--二维码-->
<dependency>
<groupId>com.google.zxing</groupId>
<artifactId>core</artifactId>
<version>${zxing.version}</version>
</dependency>
<!--单元测试-->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer
implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>org.code4everything.wetool.WeApplication11</mainClass>
</transformer>
</transformers>
<artifactSet>
</artifactSet>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
<annotationProcessorPaths>
<path>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>${lombok.version}</version>
</path>
</annotationProcessorPaths>
<source>11</source>
<target>11</target>
</configuration>
</plugin>
<plugin>
<groupId>org.openjfx</groupId>
<artifactId>javafx-maven-plugin</artifactId>
<version>0.0.3</version>
<configuration>
<mainClass>org.code4everything.wetool.WeApplication</mainClass>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化