mirror of
https://gitee.com/nutz/nutzboot.git
synced 2024-12-04 20:58:22 +08:00
63 lines
2.1 KiB
XML
63 lines
2.1 KiB
XML
<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>
|
|
<parent>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-demo-simple</artifactId>
|
|
<version>2.2-SNAPSHOT</version>
|
|
</parent>
|
|
<artifactId>nutzboot-demo-simple-eureka-client</artifactId>
|
|
<dependencies>
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-starter-nutz-mvc</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-starter-jetty</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-starter-hystrix</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-starter-hystrix-dashboard</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.nutz</groupId>
|
|
<artifactId>nutzboot-starter-swagger</artifactId>
|
|
</dependency>
|
|
<dependency>
|
|
<groupId>org.slf4j</groupId>
|
|
<artifactId>slf4j-log4j12</artifactId>
|
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
|
<plugins>
|
|
<plugin>
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
<artifactId>maven-shade-plugin</artifactId>
|
|
<version>3.0.0</version>
|
|
<executions>
|
|
<execution>
|
|
<phase>package</phase>
|
|
<goals>
|
|
<goal>shade</goal>
|
|
</goals>
|
|
<configuration>
|
|
<transformers>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ServicesResourceTransformer" />
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.AppendingTransformer">
|
|
<resource>META-INF/nutz/org.nutz.boot.starter.NbStarter</resource>
|
|
</transformer>
|
|
<transformer implementation="org.apache.maven.plugins.shade.resource.ManifestResourceTransformer">
|
|
<mainClass>io.nutz.demo.simple.MainLauncher</mainClass>
|
|
</transformer>
|
|
</transformers>
|
|
</configuration>
|
|
</execution>
|
|
</executions>
|
|
</plugin>
|
|
</plugins>
|
|
</build>
|
|
</project> |