Blame view

service-community/pom-cloud.xml 2.7 KB
88e030b7   王彪总   init project
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
  <?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>MicroCommunity</artifactId>
          <groupId>com.java110</groupId>
          <version>1.0-SNAPSHOT</version>
      </parent>
      <modelVersion>4.0.0</modelVersion>
  
      <artifactId>service-community</artifactId>
      <packaging>jar</packaging>
  
      <name>service-community</name>
  
      <url>http://www.example.com</url>
  
      <properties>
          <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
          <maven.compiler.source>1.8</maven.compiler.source>
          <maven.compiler.target>1.8</maven.compiler.target>
      </properties>
  
      <dependencies>
          <dependency>
              <groupId>com.java110</groupId>
              <artifactId>java110-service</artifactId>
          </dependency>
  
  
  
  
      </dependencies>
  
      <build>
          <finalName>service-community</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-interface</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.community.CommunityServiceApplicationStart</mainClass>
  	                </configuration>
  	            </plugin>
  	        </plugins>
  
      </build>
  </project>