demo-car/pom.xml

164 lines
6.4 KiB
XML
Raw Permalink Normal View History

2024-02-23 09:15:45 +08:00
<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>net.risesoft.demo</groupId>
<artifactId>demo-car</artifactId>
<version>1.0</version>
2024-02-26 09:40:16 +08:00
<repositories>
<repository>
<id>y9-repo</id>
<name>local private nexus</name>
<url>https://svn.youshengyun.com:9900/nexus/repository/maven-public/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<properties>
<maven.deploy.skip>false</maven.deploy.skip>
</properties>
2024-02-26 10:20:47 +08:00
<dependencies>
2024-02-23 09:15:45 +08:00
<dependency>
<groupId>net.risesoft.demo</groupId>
2024-02-26 10:20:47 +08:00
<artifactId>demo-audi</artifactId>
2024-02-23 09:15:45 +08:00
<version>1.0</version>
</dependency>
2024-02-26 10:20:47 +08:00
2024-02-23 09:15:45 +08:00
<dependency>
<groupId>net.risesoft.demo</groupId>
2024-02-26 10:20:47 +08:00
<artifactId>demo-merceds</artifactId>
2024-02-23 09:15:45 +08:00
<version>1.0</version>
</dependency>
</dependencies>
2024-02-26 09:40:16 +08:00
2024-02-23 09:15:45 +08:00
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.12.1</version>
<configuration>
2024-02-25 20:47:35 +08:00
<parameters>true</parameters>
2024-02-23 09:15:45 +08:00
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<mainClass>net.risesoft.demo.Example</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
2024-02-25 20:47:35 +08:00
<addClasspath>false</addClasspath>
2024-02-23 09:15:45 +08:00
<classpathPrefix>lib/</classpathPrefix>
</manifest>
<manifestEntries>
<Class-Path>./</Class-Path>
</manifestEntries>
</archive>
</configuration>
</plugin>
2024-02-25 20:47:35 +08:00
<!--<plugin>
2024-02-23 09:15:45 +08:00
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-dependency-plugin</artifactId>
<version>2.10</version>
<executions>
<execution>
<id>copy-dependencies</id>
<phase>package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${project.build.directory}/lib</outputDirectory>
</configuration>
</execution>
</executions>
2024-02-25 20:47:35 +08:00
</plugin>-->
2024-02-23 09:15:45 +08:00
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>3.6.0</version>
<configuration>
<archive>
<manifest>
<mainClass>net.risesoft.demo.Example</mainClass>
</manifest>
</archive>
<descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
</configuration>
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
</execution>
</executions>
</plugin>-->
<!--<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.2</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>shade</goal>
</goals>
<configuration>
<transformers>
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
<mainClass>net.risesoft.demo.Example</mainClass>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.handlers</resource>
</transformer>
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
<resource>META-INF/spring.schemas</resource>
</transformer>
</transformers>
</configuration>
</execution>
</executions>
</plugin>-->
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>3.2.3</version>
<configuration>
<mainClass>net.risesoft.demo.Example</mainClass>
</configuration>
<executions>
<execution>
<id>repackage</id>
<goals>
<goal>repackage</goal>
</goals>
</execution>
</executions>
2024-02-25 20:47:35 +08:00
<dependencies>
<dependency>
<groupId>org.springframework.boot.experimental</groupId>
<artifactId>spring-boot-thin-layout</artifactId>
<version>1.0.30.RELEASE</version>
</dependency>
</dependencies>
2024-02-23 09:15:45 +08:00
</plugin>
</plugins>
</build>
2024-02-18 20:17:49 +08:00
</project>