|
|
@@ -1,285 +0,0 @@
|
|
|
-<?xml version="1.0"?>
|
|
|
-<project
|
|
|
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
|
|
|
- xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
|
|
|
- <modelVersion>4.0.0</modelVersion>
|
|
|
- <parent>
|
|
|
- <groupId>com.uas.sso</groupId>
|
|
|
- <artifactId>sso-parent</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </parent>
|
|
|
- <artifactId>sso-server</artifactId>
|
|
|
- <packaging>war</packaging>
|
|
|
- <dependencies>
|
|
|
- <dependency>
|
|
|
- <groupId>junit</groupId>
|
|
|
- <artifactId>junit</artifactId>
|
|
|
- <scope>test</scope>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- spring boot -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-actuator</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-jpa</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-web</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-security</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework</groupId>
|
|
|
- <artifactId>spring-tx</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- Redis session -->
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-starter-data-redis</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.springframework.session</groupId>
|
|
|
- <artifactId>spring-session</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>mysql</groupId>
|
|
|
- <artifactId>mysql-connector-java</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>druid</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>fastjson</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.message</groupId>
|
|
|
- <artifactId>message-mail-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.message</groupId>
|
|
|
- <artifactId>message-sms-api</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.account</groupId>
|
|
|
- <artifactId>sso-core</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <artifactId>sso-core</artifactId>
|
|
|
- <groupId>com.uas.account</groupId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.sso</groupId>
|
|
|
- <artifactId>sso-common</artifactId>
|
|
|
- <version>0.0.1-SNAPSHOT</version>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <!-- dubbo -->
|
|
|
- <dependency>
|
|
|
- <groupId>com.alibaba</groupId>
|
|
|
- <artifactId>dubbo</artifactId>
|
|
|
- <exclusions>
|
|
|
- <exclusion>
|
|
|
- <groupId>javax.servlet</groupId>
|
|
|
- <artifactId>javax.servlet-api</artifactId>
|
|
|
- </exclusion>
|
|
|
- <exclusion>
|
|
|
- <groupId>org.apache.httpcomponents</groupId>
|
|
|
- <artifactId>httpcore</artifactId>
|
|
|
- </exclusion>
|
|
|
- </exclusions>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.zookeeper</groupId>
|
|
|
- <artifactId>zookeeper</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.github.sgroschupf</groupId>
|
|
|
- <artifactId>zkclient</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>com.uas.dfs</groupId>
|
|
|
- <artifactId>dfs-api</artifactId>
|
|
|
- </dependency>
|
|
|
-
|
|
|
- <dependency>
|
|
|
- <groupId>com.belerweb</groupId>
|
|
|
- <artifactId>pinyin4j</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>commons-fileupload</groupId>
|
|
|
- <artifactId>commons-fileupload</artifactId>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.httpcomponents</groupId>
|
|
|
- <artifactId>httpmime</artifactId>
|
|
|
- <version>4.4</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.httpcomponents</groupId>
|
|
|
- <artifactId>httpcore</artifactId>
|
|
|
- <version>4.4.5</version>
|
|
|
- </dependency>
|
|
|
- <dependency>
|
|
|
- <groupId>org.apache.httpcomponents</groupId>
|
|
|
- <artifactId>httpclient</artifactId>
|
|
|
- <version>4.4</version>
|
|
|
- </dependency>
|
|
|
- </dependencies>
|
|
|
-
|
|
|
- <build>
|
|
|
- <plugins>
|
|
|
- <!-- 在maven生命周期validate阶段生成timestamp -->
|
|
|
- <plugin>
|
|
|
- <groupId>org.codehaus.mojo</groupId>
|
|
|
- <artifactId>buildnumber-maven-plugin</artifactId>
|
|
|
- <version>1.3</version>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <phase>validate</phase>
|
|
|
- <goals>
|
|
|
- <goal>create-timestamp</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- <configuration>
|
|
|
- <format>{0,date,yyyy-MM-dd HH:mm:ss}</format>
|
|
|
- <items>
|
|
|
- <item>timestamp</item>
|
|
|
- </items>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-compiler-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <source>1.7</source>
|
|
|
- <target>1.7</target>
|
|
|
- <compilerArguments>
|
|
|
- <verbose />
|
|
|
- <bootclasspath>${java.home}\lib\rt.jar;${java.home}\lib\jce.jar</bootclasspath>
|
|
|
- </compilerArguments>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <artifactId>maven-resources-plugin</artifactId>
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>copy-resources</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <goals>
|
|
|
- <goal>copy-resources</goal>
|
|
|
- </goals>
|
|
|
- <configuration>
|
|
|
- <outputDirectory>${project.build.directory}/minify</outputDirectory>
|
|
|
- <overwrite>false</overwrite>
|
|
|
- <resources>
|
|
|
- <resource>
|
|
|
- <directory>${basedir}/src/main/webapp</directory>
|
|
|
- </resource>
|
|
|
- </resources>
|
|
|
- </configuration>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>com.uas.plugins</groupId>
|
|
|
- <artifactId>static-maven-plugin</artifactId>
|
|
|
- <version>0.0.2-SNAPSHOT</version>
|
|
|
- <!-- 静态资源分离 -->
|
|
|
- <executions>
|
|
|
- <execution>
|
|
|
- <id>default-static</id>
|
|
|
- <phase>prepare-package</phase>
|
|
|
- <configuration>
|
|
|
- <staticUrl>static</staticUrl>
|
|
|
- <webappDir>${project.build.directory}/minify</webappDir>
|
|
|
- <sourceDir>/</sourceDir>
|
|
|
- <targetDir>${project.build.directory}/statics</targetDir>
|
|
|
- <staticDir>/</staticDir>
|
|
|
- <sourceIncludes>
|
|
|
- <sourceInclude>resources/js/**/*.js</sourceInclude>
|
|
|
- <sourceInclude>WEB-INF/views/**/*.html</sourceInclude>
|
|
|
- </sourceIncludes>
|
|
|
- <!-- http://static.ubtoc.com/css/index.css?_v=1450321871828 -->
|
|
|
- <versionSuffix>
|
|
|
- <suffix>?_v=${timestamp}</suffix>
|
|
|
- <exclude>**/lib/**/*</exclude>
|
|
|
- </versionSuffix>
|
|
|
- </configuration>
|
|
|
- <goals>
|
|
|
- <goal>static</goal>
|
|
|
- </goals>
|
|
|
- </execution>
|
|
|
- </executions>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.apache.maven.plugins</groupId>
|
|
|
- <artifactId>maven-war-plugin</artifactId>
|
|
|
- <configuration>
|
|
|
- <webResources>
|
|
|
- <resource>
|
|
|
- <directory>${project.build.directory}/statics</directory>
|
|
|
- </resource>
|
|
|
- <resource>
|
|
|
- <directory>${project.build.directory}/minify</directory>
|
|
|
- </resource>
|
|
|
- </webResources>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- <plugin>
|
|
|
- <groupId>org.springframework.boot</groupId>
|
|
|
- <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- <pluginManagement>
|
|
|
- <plugins>
|
|
|
- <plugin>
|
|
|
- <groupId>org.eclipse.m2e</groupId>
|
|
|
- <artifactId>lifecycle-mapping</artifactId>
|
|
|
- <version>1.0.0</version>
|
|
|
- <configuration>
|
|
|
- <lifecycleMappingMetadata>
|
|
|
- <pluginExecutions>
|
|
|
- <pluginExecution>
|
|
|
- <pluginExecutionFilter>
|
|
|
- <groupId>
|
|
|
- org.codehaus.mojo
|
|
|
- </groupId>
|
|
|
- <artifactId>
|
|
|
- buildnumber-maven-plugin
|
|
|
- </artifactId>
|
|
|
- <versionRange>
|
|
|
- [1.3,)
|
|
|
- </versionRange>
|
|
|
- <goals>
|
|
|
- <goal>
|
|
|
- create-timestamp
|
|
|
- </goal>
|
|
|
- </goals>
|
|
|
- </pluginExecutionFilter>
|
|
|
- <action>
|
|
|
- <ignore></ignore>
|
|
|
- </action>
|
|
|
- </pluginExecution>
|
|
|
- </pluginExecutions>
|
|
|
- </lifecycleMappingMetadata>
|
|
|
- </configuration>
|
|
|
- </plugin>
|
|
|
- </plugins>
|
|
|
- </pluginManagement>
|
|
|
- </build>
|
|
|
-</project>
|