rest的向导工程

pom.xml 4.6KB

    <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>com.ai.ipu.server</groupId> <artifactId>ipu-assembly-parent</artifactId> <version>3.3-SNAPSHOT</version> </parent> <artifactId>ipu-rest-scaffold</artifactId> <packaging>jar</packaging> <name>ipu-rest-scaffold</name> <repositories> <!-- 阿里私服 --> <repository> <id>ali</id> <url>http://maven.aliyun.com/nexus/content/groups/public</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> <checksumPolicy>fail</checksumPolicy> </snapshots> </repository> <!-- IPU仓库 --> <repository> <id>ipu</id> <name>ipu repository</name> <url>http://114.215.100.48:9090/nexus/content/groups/public/</url> <releases> <enabled>true</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </repository> </repositories> <properties> <start-class>com.ai.ipu.server.RestScaffoldStart</start-class> <ipu>3.3-SNAPSHOT</ipu> <ipu-rest>3.3-SNAPSHOT</ipu-rest> <org.springframework.boot>2.3.1.RELEASE</org.springframework.boot> <!--<docker-registry-server>192.168.128.77:5000</docker-registry-server> <docker-registry-username>ipu</docker-registry-username> <docker-registry-password>ipuipu</docker-registry-password>--> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.ai.ipu.server</groupId> <artifactId>ipu-dependencies</artifactId> <version>${ipu}</version> <type>pom</type> <scope>import</scope> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${org.springframework.boot}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>com.ai.ipu.server</groupId> <artifactId>ipu-restful</artifactId> </dependency> <dependency> <groupId>com.ai.ipu</groupId> <artifactId>ipu-sql-mgmt</artifactId> <scope>provided</scope> </dependency> <dependency> <groupId>com.ai.ipu.server</groupId> <artifactId>ipu-portal</artifactId> <version>3.1-SNAPSHOT</version> </dependency> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <!-- Spring引入 --> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-redis</artifactId> </dependency> </dependencies> <build> <plugins> <!-- ==========应用包和依赖包分离的打包方法================ --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-resources-plugin</artifactId> </plugin> <!-- 复制依赖包 --> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-assembly-plugin</artifactId> </plugin> <!-- 添加docker镜像功能 --> <plugin> <groupId>com.spotify</groupId> <artifactId>dockerfile-maven-plugin</artifactId> </plugin> </plugins> </build> </project>