95 lines
3.2 KiB
XML
95 lines
3.2 KiB
XML
<?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/maven-v4_0_0.xsd">
|
|
<modelVersion>4.0.0</modelVersion>
|
|
<groupId>com.codechecker</groupId>
|
|
<artifactId>code-checker</artifactId>
|
|
<version>1.0.0</version>
|
|
<build>
|
|
<finalName>code-checker</finalName>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-compiler-plugin</artifactId>
|
|
<version>3.13.0</version>
|
|
</plugin>
|
|
<plugin>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.6.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer>
|
|
<mainClass>com.codechecker.CodeCheckMain</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
<filters>
|
|
<filter>
|
|
<artifact>*:*</artifact>
|
|
<excludes>
|
|
<exclude>META-INF/*.SF</exclude>
|
|
<exclude>META-INF/*.DSA</exclude>
|
|
<exclude>META-INF/*.RSA</exclude>
|
|
</excludes>
|
|
</filter>
|
|
</filters>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<profiles>
|
|
<profile>
|
|
<id>deploy-nexus</id>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<artifactId>maven-deploy-plugin</artifactId>
|
|
<version>3.1.2</version>
|
|
<executions>
|
|
<execution>
|
|
<id>default-deploy</id>
|
|
<phase>deploy</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
<execution>
|
|
<id>deploy-to-nexus</id>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>deploy</goal>
|
|
</goals>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
<distributionManagement>
|
|
<repository>
|
|
<id>${nexus.repository.id}</id>
|
|
<url>${nexus.repository.url}</url>
|
|
</repository>
|
|
<snapshotRepository>
|
|
<id>${nexus.repository.id}</id>
|
|
<url>${nexus.snapshots.repository.url}</url>
|
|
</snapshotRepository>
|
|
</distributionManagement>
|
|
</profile>
|
|
</profiles>
|
|
<properties>
|
|
<javaparser.version>3.25.10</javaparser.version>
|
|
<maven.compiler.source>11</maven.compiler.source>
|
|
<nexus.deploy.enabled>false</nexus.deploy.enabled>
|
|
<maven.compiler.target>11</maven.compiler.target>
|
|
<nexus.repository.id>fantaibao-fantaibao-maven-repository</nexus.repository.id>
|
|
<nexus.snapshots.repository.url>${nexus.repository.url}</nexus.snapshots.repository.url>
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
<nexus.repository.url>http://192.168.3.25:18081/nexus/repository/maven-releases/</nexus.repository.url>
|
|
</properties>
|
|
</project>
|