From a76cec91cf4adf1feede5dda61d97d2bbf18266a Mon Sep 17 00:00:00 2001
From: wuxw <928255095@qq.com>
Date: 星期四, 11 七月 2019 20:27:20 +0800
Subject: [PATCH] 加入服务绑定功能
---
OrderService/pom.xml | 111 ++++++++++++++++++++++++++++++++++++-------------------
1 files changed, 73 insertions(+), 38 deletions(-)
diff --git a/OrderService/pom.xml b/OrderService/pom.xml
index e331c93..24d2ae2 100644
--- a/OrderService/pom.xml
+++ b/OrderService/pom.xml
@@ -1,3 +1,5 @@
+<?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>
@@ -8,17 +10,18 @@
<modelVersion>4.0.0</modelVersion>
<artifactId>OrderService</artifactId>
- <packaging>jar</packaging>
- <name>OrderService</name>
+ <name>CenterService</name>
+ <!-- FIXME change it to the project's website -->
<url>http://maven.apache.org</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+ <maven.compiler.source>1.7</maven.compiler.source>
+ <maven.compiler.target>1.7</maven.compiler.target>
</properties>
<dependencies>
-
<dependency>
<groupId>com.java110</groupId>
<artifactId>java110-service</artifactId>
@@ -34,44 +37,76 @@
<artifactId>java110-config</artifactId>
<scope>provided</scope>
</dependency>
+
+ <dependency>
+ <groupId>com.java110</groupId>
+ <artifactId>java110-logAgent</artifactId>
+ </dependency>
+
+ <dependency>
+ <groupId>junit</groupId>
+ <artifactId>junit</artifactId>
+ <version>4.11</version>
+ <scope>test</scope>
+ </dependency>
</dependencies>
<build>
<finalName>OrderService</finalName>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-dependency-plugin</artifactId>
- <version>2.10</version>
- <executions>
- <execution>
- <id>unpack</id>
- <phase>generate-resources</phase>
- <goals>
- <goal>unpack</goal>
- </goals>
- <configuration>
- <artifactItems>
- <artifactItem>
- <groupId>com.java110</groupId>
- <artifactId>java110-config</artifactId>
- <version>${microcommunity.version}</version>
- <type>jar</type>
- <overWrite>true</overWrite>
- <outputDirectory>${project.build.directory}/classes</outputDirectory>
- </artifactItem>
- </artifactItems>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <configuration>
- <mainClass>com.java110.order.AppSpringBootApplication</mainClass>
- </configuration>
- </plugin>
- </plugins>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-dependency-plugin</artifactId>
+ <version>2.10</version>
+ <executions>
+ <execution>
+ <id>unpack</id>
+ <phase>generate-resources</phase>
+ <goals>
+ <goal>unpack</goal>
+ </goals>
+ <configuration>
+ <artifactItems>
+ <artifactItem>
+ <groupId>com.java110</groupId>
+ <artifactId>java110-config</artifactId>
+ <version>${microcommunity.version}</version>
+ <type>jar</type>
+ <overWrite>true</overWrite>
+ <outputDirectory>${project.build.directory}/classes</outputDirectory>
+ </artifactItem>
+ </artifactItems>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
+ <plugin>
+ <groupId>org.springframework.boot</groupId>
+ <artifactId>spring-boot-maven-plugin</artifactId>
+ <configuration>
+ <mainClass>com.java110.order.OrderServiceApplicationStart</mainClass>
+ </configuration>
+ </plugin>
+ <plugin>
+ <groupId>org.apache.maven.plugins</groupId>
+ <artifactId>maven-javadoc-plugin</artifactId>
+ <version>2.10.4</version>
+ <configuration>
+ <aggregate>true</aggregate>
+ <reportOutputDirectory>../javadocs</reportOutputDirectory>
+ <destDir>security-javadoc</destDir>
+ <javadocExecutable>${java.home}bin/javadoc</javadocExecutable>
+ <tags>
+ <tag>
+ <name>Description</name>
+ <placement>a</placement>
+ <head>鍔熻兘鎻忚堪:</head>
+ </tag>
+ </tags>
+ </configuration>
+ </plugin>
+ </plugins>
</build>
+
+
</project>
--
Gitblit v1.8.0