rest的向导工程

pom.xml 3.0KB

    <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.1-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> </repositories> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <start-class>com.ai.ipu.server.demo.IpuRestDemoStart</start-class> <msgframe>1.9.2</msgframe> <jms>1.1</jms> </properties> <dependencies> <!-- dubbo相关依赖 --> <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>com.ai.aif.msgframe</groupId> <artifactId>msgframe-client</artifactId> <version>${msgframe}</version> </dependency> <dependency> <groupId>javax.jms</groupId> <artifactId>jms</artifactId> <version>${jms}</version> </dependency> </dependencies> <build> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${compiler-version}</source> <target>${compiler-version}</target> <encoding>${encoding}</encoding> <!-- 通过此方法添加本地jar --> <compilerArguments> <bootclasspath>${JAVA_HOME}/jre/lib/rt.jar</bootclasspath> <extdirs>${project.basedir}/libs</extdirs> </compilerArguments> </configuration> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <configuration> <skip>true</skip> </configuration> </plugin> <!-- 比spring-boot-dependencies中多了build-info --> <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>${start-class}</mainClass> </configuration> </plugin> </plugins> <finalName>${project.artifactId}</finalName> </build> </project>