|
@@ -4,150 +4,91 @@
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
|
|
<groupId>cn.rankin</groupId>
|
|
|
- <artifactId>rankin</artifactId>
|
|
|
+ <artifactId>rankin-user-service</artifactId>
|
|
|
<version>0.0.1-SNAPSHOT</version>
|
|
|
- <packaging>pom</packaging>
|
|
|
+ <packaging>jar</packaging>
|
|
|
|
|
|
- <name>${project.artifactId}</name>
|
|
|
- <description>Distribute Project Based On Spring Cloud</description>
|
|
|
+ <name>rankin-user-service</name>
|
|
|
+ <description>User Service For Spring Cloud</description>
|
|
|
|
|
|
<parent>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-parent</artifactId>
|
|
|
- <version>1.5.8.RELEASE</version>
|
|
|
- <relativePath/> <!-- lookup parent from repository -->
|
|
|
+ <groupId>cn.rankin</groupId>
|
|
|
+ <artifactId>rankin</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
+ <relativePath>../pom.xml</relativePath>
|
|
|
</parent>
|
|
|
|
|
|
<properties>
|
|
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
|
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
|
|
|
<java.version>1.8</java.version>
|
|
|
+ <spring-cloud.version>Dalston.SR4</spring-cloud.version>
|
|
|
</properties>
|
|
|
|
|
|
- <modules>
|
|
|
- <module>rankin-eureka-service</module>
|
|
|
- <module>rankin-config-service</module>
|
|
|
- <module>rankin-product-service</module>
|
|
|
- <module>rankin-user-service</module>
|
|
|
- <module>rankin-resource-service</module>
|
|
|
- <module>rankin-trade-service</module>
|
|
|
- <module>rankin-cms-web</module>
|
|
|
- <module>rankin-api-web</module>
|
|
|
- <module>rankin-common-utils</module>
|
|
|
- <module>rankin-data-api</module>
|
|
|
- <module>rankin-task</module>
|
|
|
- </modules>
|
|
|
-
|
|
|
<dependencies>
|
|
|
<dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter</artifactId>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-config</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-eureka</artifactId>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
<groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-test</artifactId>
|
|
|
- <scope>test</scope>
|
|
|
+ <artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- <version>1.2.38</version>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
- <groupId>org.apache.commons</groupId>
|
|
|
- <artifactId>commons-lang3</artifactId>
|
|
|
- <version>3.7</version>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-starter-feign</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>cn.rankin</groupId>
|
|
|
+ <artifactId>rankin-common-utils</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
-
|
|
|
<dependency>
|
|
|
- <groupId>org.projectlombok</groupId>
|
|
|
- <artifactId>lombok</artifactId>
|
|
|
- <version>1.16.16</version>
|
|
|
+ <groupId>cn.rankin</groupId>
|
|
|
+ <artifactId>rankin-data-api</artifactId>
|
|
|
+ <version>0.0.1-SNAPSHOT</version>
|
|
|
</dependency>
|
|
|
+
|
|
|
</dependencies>
|
|
|
|
|
|
- <!-- 插件配置 -->
|
|
|
+ <dependencyManagement>
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.cloud</groupId>
|
|
|
+ <artifactId>spring-cloud-dependencies</artifactId>
|
|
|
+ <version>${spring-cloud.version}</version>
|
|
|
+ <type>pom</type>
|
|
|
+ <scope>import</scope>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+ </dependencyManagement>
|
|
|
+
|
|
|
<build>
|
|
|
+ <finalName>${project.name}</finalName>
|
|
|
<plugins>
|
|
|
- <!-- compiler插件, 设定JDK版本 -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <version>3.3</version>
|
|
|
- <configuration>
|
|
|
- <source>${java.version}</source>
|
|
|
- <target>${java.version}</target>
|
|
|
- <encoding>UTF-8</encoding>
|
|
|
- <showWarnings>true</showWarnings>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <!-- source插件, 上传源码 -->
|
|
|
<plugin>
|
|
|
- <artifactId>maven-source-plugin</artifactId>
|
|
|
- <version>2.4</version>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
<configuration>
|
|
|
- <attach>true</attach>
|
|
|
+ <outputDirectory>../target</outputDirectory>
|
|
|
</configuration>
|
|
|
<executions>
|
|
|
<execution>
|
|
|
- <phase>compile</phase>
|
|
|
<goals>
|
|
|
- <goal>jar</goal>
|
|
|
+ <goal>repackage</goal>
|
|
|
</goals>
|
|
|
</execution>
|
|
|
</executions>
|
|
|
</plugin>
|
|
|
</plugins>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- <version>1.5.7.RELEASE</version>
|
|
|
- <configuration>
|
|
|
- <outputDirectory>./target</outputDirectory>
|
|
|
- </configuration>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <goals>
|
|
|
- <goal>repackage</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
-
|
|
|
- </pluginManagement>
|
|
|
- <finalName>${project.name}</finalName>
|
|
|
</build>
|
|
|
|
|
|
- <repositories>
|
|
|
- <repository>
|
|
|
- <id>nexus</id>
|
|
|
- <url>http://192.168.1.96:8081/nexus/content/groups/public/</url>
|
|
|
- <layout>default</layout>
|
|
|
- <releases>
|
|
|
- <enabled>true</enabled>
|
|
|
- </releases>
|
|
|
- <snapshots>
|
|
|
- <enabled>true</enabled>
|
|
|
- </snapshots>
|
|
|
- </repository>
|
|
|
- </repositories>
|
|
|
- <distributionManagement>
|
|
|
- <repository>
|
|
|
- <id>nexus-releases</id>
|
|
|
- <name>Releases</name>
|
|
|
- <url>http://192.168.1.96:8081/nexus/content/repositories/releases/</url>
|
|
|
- </repository>
|
|
|
- <snapshotRepository>
|
|
|
- <id>nexus-snapshots</id>
|
|
|
- <name>Snapshots</name>
|
|
|
- <url>http://192.168.1.96:8081/nexus/content/repositories/snapshots/</url>
|
|
|
- </snapshotRepository>
|
|
|
- </distributionManagement>
|
|
|
-
|
|
|
</project>
|