<?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">
|
<parent>
|
<artifactId>train_recommend</artifactId>
|
<groupId>com.iplatform</groupId>
|
<version>1.0.0-SNAPSHOT</version>
|
</parent>
|
<modelVersion>4.0.0</modelVersion>
|
|
<artifactId>deploy-jar-template</artifactId>
|
<name>recommend-deploy-jar</name>
|
<packaging>jar</packaging>
|
|
<properties>
|
</properties>
|
|
<dependencies>
|
|
<!-- <dependency>-->
|
<!-- <groupId>com.iplatform</groupId>-->
|
<!-- <artifactId>recommend-text</artifactId>-->
|
<!-- </dependency>-->
|
|
<dependency>
|
<groupId>com.iplatform</groupId>
|
<artifactId>recommend-video</artifactId>
|
</dependency>
|
|
<!-- 为测试:启动web接口 -->
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-web</artifactId>
|
</dependency>
|
<dependency>
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-starter-freemarker</artifactId>
|
</dependency>
|
|
</dependencies>
|
|
<build>
|
<finalName>train-recommend</finalName>
|
<plugins>
|
<plugin>
|
<!--能够自动寻找springboot引导类,或者手动指定-->
|
<groupId>org.springframework.boot</groupId>
|
<artifactId>spring-boot-maven-plugin</artifactId>
|
<executions>
|
<execution>
|
<goals>
|
<goal>repackage</goal>
|
</goals>
|
</execution>
|
</executions>
|
</plugin>
|
<plugin>
|
<artifactId>maven-deploy-plugin</artifactId>
|
<executions>
|
<execution>
|
<id>default-deploy</id>
|
<phase>deploy</phase>
|
<goals>
|
<goal>deploy</goal>
|
</goals>
|
<!-- skip默认deploy插件的执行 -->
|
<configuration>
|
<skip>true</skip>
|
</configuration>
|
</execution>
|
</executions>
|
</plugin>
|
</plugins>
|
</build>
|
|
</project>
|