example-web
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>io.leopard.archetype</groupId>
<artifactId>example-web</artifactId>
<version>0.9.20</version>
</dependency><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>io.leopard.archetype</groupId> <artifactId>example</artifactId> <version>0.9.20</version> </parent> <artifactId>example-web</artifactId> <name>Web模块</name> <dependencies> <dependency> <groupId>io.leopard.boot</groupId> <artifactId>leopard-boot-web</artifactId> </dependency> <dependency> <groupId>io.leopard.boot</groupId> <artifactId>leopard-boot-test</artifactId> </dependency> <dependency> <groupId>io.leopard.boot</groupId> <artifactId>leopard-boot-jetty</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>commons-io</groupId> <artifactId>commons-io</artifactId> </dependency> <dependency> <groupId>io.leopard.archetype</groupId> <artifactId>example-service</artifactId> <version>0.9.20</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <configuration> <!--fork : 如果没有该项配置,devtools不会起作用,即应用不会restart --> <fork>true</fork> <addResources>true</addResources> <mainClass>io.leopard.archetype.example.web.Application</mainClass> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </project>