|
@@ -0,0 +1,115 @@
|
|
|
+<?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>hsweb-framework</artifactId>
|
|
|
+ <groupId>org.hsweb</groupId>
|
|
|
+ <version>1.0-SNAPSHOT</version>
|
|
|
+ </parent>
|
|
|
+ <modelVersion>4.0.0</modelVersion>
|
|
|
+
|
|
|
+ <artifactId>hsweb-web-run</artifactId>
|
|
|
+ <version>${parent.version}</version>
|
|
|
+
|
|
|
+ <!--配置信息-->
|
|
|
+ <properties>
|
|
|
+ <app.name>hsweb-run</app.name>
|
|
|
+ <app.version>${project.version}</app.version>
|
|
|
+ </properties>
|
|
|
+
|
|
|
+ <!--环境配置-->
|
|
|
+ <profiles>
|
|
|
+ <profile>
|
|
|
+ <id>dev</id>
|
|
|
+ <properties>
|
|
|
+ <environment.package>develop</environment.package>
|
|
|
+ <jdbc.url>jdbc:oracle:thin:@127.0.0.1:1521:XE</jdbc.url>
|
|
|
+ <jdbc.username>cyjg</jdbc.username>
|
|
|
+ <jdbc.password>cyjg</jdbc.password>
|
|
|
+ <jdbc.driverClassName>oracle.jdbc.driver.OracleDriver</jdbc.driverClassName>
|
|
|
+ </properties>
|
|
|
+ <activation>
|
|
|
+ <activeByDefault>true</activeByDefault>
|
|
|
+ </activation>
|
|
|
+ </profile>
|
|
|
+ <profile>
|
|
|
+ <id>prod</id>
|
|
|
+ <properties>
|
|
|
+ <environment.package>product</environment.package>
|
|
|
+ <logging.path>/var/logger/hsweb/</logging.path>
|
|
|
+ <jdbc.url>jdbc:oracle:thin:@oracle:1521:XE</jdbc.url>
|
|
|
+ <jdbc.username>cyjg</jdbc.username>
|
|
|
+ <jdbc.password>cyjg</jdbc.password>
|
|
|
+ <jdbc.driverClassName>oracle.jdbc.driver.OracleDriver</jdbc.driverClassName>
|
|
|
+ </properties>
|
|
|
+ </profile>
|
|
|
+ </profiles>
|
|
|
+
|
|
|
+ <build>
|
|
|
+ <resources>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/resources</directory>
|
|
|
+ <filtering>
|
|
|
+ true
|
|
|
+ </filtering>
|
|
|
+ </resource>
|
|
|
+ <resource>
|
|
|
+ <directory>src/main/environment/${environment.package}</directory>
|
|
|
+ <filtering>
|
|
|
+ true
|
|
|
+ </filtering>
|
|
|
+ </resource>
|
|
|
+ </resources>
|
|
|
+
|
|
|
+ <plugins>
|
|
|
+ <plugin>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-maven-plugin</artifactId>
|
|
|
+ <configuration>
|
|
|
+ <mainClass>org.hsweb.web.boot.Run</mainClass>
|
|
|
+ <layout>ZIP</layout>
|
|
|
+ </configuration>
|
|
|
+ <executions>
|
|
|
+ <execution>
|
|
|
+ <goals>
|
|
|
+ <goal>repackage</goal>
|
|
|
+ </goals>
|
|
|
+ </execution>
|
|
|
+ </executions>
|
|
|
+ </plugin>
|
|
|
+ </plugins>
|
|
|
+ </build>
|
|
|
+
|
|
|
+ <dependencies>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hsweb</groupId>
|
|
|
+ <artifactId>hsweb-web-controller</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hsweb</groupId>
|
|
|
+ <artifactId>hsweb-web-service-impl-common</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.hsweb</groupId>
|
|
|
+ <artifactId>hsweb-web-dao-impl-mybatis</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-starter-freemarker</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>org.springframework.boot</groupId>
|
|
|
+ <artifactId>spring-boot-configuration-processor</artifactId>
|
|
|
+ <optional>true</optional>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>mysql</groupId>
|
|
|
+ <artifactId>mysql-connector-java</artifactId>
|
|
|
+ </dependency>
|
|
|
+ <dependency>
|
|
|
+ <groupId>com.oracle</groupId>
|
|
|
+ <artifactId>ojdbc14</artifactId>
|
|
|
+ </dependency>
|
|
|
+ </dependencies>
|
|
|
+</project>
|