rest的向导工程

pom.xml 3.7KB

    <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-rest-libs</artifactId> <version>3.0-SNAPSHOT</version> </parent> <artifactId>ipu-rest-demo</artifactId> <packaging>jar</packaging> <name>ipu-rest-demo</name> <url>http://maven.apache.org</url> <repositories> <!-- 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> <!-- AFI私服,内网私服 --> <repository> <id>aif_group</id> <url>http://10.11.20.81:8080/nexus/content/groups/aif_group/</url> </repository> <repository> <id>msgframe</id> <name>msgframe</name> <url>http://10.11.20.81:8080/nexus/content/repositories/msgframe/</url> </repository> </repositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <msgframe>2.0.0</msgframe> </properties> <dependencies> <dependency> <groupId>junit</groupId> <artifactId>junit</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>javax.servlet</groupId> <artifactId>javax.servlet-api</artifactId> <scope>provided</scope> </dependency> <!-- 由于重写了spring的部分类,需要置前引入,提高优先级 --> <dependency> <groupId>com.ai.ipu.server</groupId> <artifactId>ipu-restful</artifactId> </dependency> <!-- spring监听,admin-client会引入actuator --> <dependency> <groupId>de.codecentric</groupId> <artifactId>spring-boot-admin-starter-client</artifactId> </dependency> <dependency> <groupId>com.ai.wade</groupId> <artifactId>wade-data</artifactId> </dependency> <dependency> <groupId>com.ai.ipu</groupId> <artifactId>ipu-server-web</artifactId> </dependency> <dependency> <groupId>com.alibaba</groupId> <artifactId>dubbo</artifactId> </dependency> <dependency> <groupId>com.github.sgroschupf</groupId> <artifactId>zkclient</artifactId> </dependency> <dependency> <groupId>com.netflix.curator</groupId> <artifactId>curator-framework</artifactId> </dependency> <!-- msgframe相关依赖 --> <dependency> <groupId>msgframe</groupId> <artifactId>msgframe-client</artifactId> <version>${msgframe}</version> </dependency> <dependency> <groupId>msgframe</groupId> <artifactId>msgframe-common</artifactId> <version>${msgframe}</version> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <executions> <execution> <goals> <goal>repackage</goal> <goal>build-info</goal> </goals> </execution> </executions> <configuration> <mainClass>com.ai.ipu.server.demo.IpuRestDemoStart</mainClass> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>1.8</source> <target>1.8</target> <encoding>UTF-8</encoding> <!-- 这里添加本地jar --> <compilerArguments> <bootclasspath>${JAVA_HOME}/jre/lib/rt.jar</bootclasspath> <extdirs>${project.basedir}/libs</extdirs> </compilerArguments> </configuration> </plugin> </plugins> <finalName>${project.artifactId}</finalName> </build> </project>