| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213 |
- <?xml version="1.0" encoding="UTF-8"?>
- <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xmlns="http://maven.apache.org/POM/4.0.0"
- xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
- <parent>
- <artifactId>nb-root</artifactId>
- <groupId>com.tuoren</groupId>
- <version>1.0</version>
- </parent>
- <modelVersion>4.0.0</modelVersion>
- <packaging>jar</packaging>
- <artifactId>nb-admin</artifactId>
- <dependencies>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>nb-im</artifactId>
- <version>${nb.version}</version>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>app-msg</artifactId>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>app-assistant</artifactId>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>app-doctor</artifactId>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>config-common</artifactId>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>web-service</artifactId>
- </dependency>
- <dependency>
- <groupId>javax.servlet</groupId>
- <artifactId>javax.servlet-api</artifactId>
- </dependency>
- <!-- OSS文件存储模块 -->
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>nb-oss</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-test</artifactId>
- </dependency>
- <dependency>
- <groupId>mysql</groupId>
- <artifactId>mysql-connector-java</artifactId>
- </dependency>
- <dependency>
- <groupId>junit</groupId>
- <artifactId>junit</artifactId>
- </dependency>
- <dependency>
- <groupId>com.tuoren</groupId>
- <artifactId>iot-service</artifactId>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-web</artifactId>
- <exclusions>
- <exclusion>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-tomcat</artifactId>
- </exclusion>
- </exclusions>
- </dependency>
- <dependency>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-starter-undertow</artifactId>
- </dependency>
- <dependency>
- <groupId>org.yaml</groupId>
- <artifactId>snakeyaml</artifactId>
- </dependency>
- </dependencies>
- <!--<build>-->
- <!--<resources>-->
- <!--<resource>-->
- <!--<directory>src/main/resources</directory>-->
- <!--<includes>-->
- <!--<!– **/* –>-->
- <!--<include>**/*.xml</include>-->
- <!--<include>**/*.yml</include>-->
- <!--</includes>-->
- <!--<filtering>true</filtering>-->
- <!--</resource>-->
- <!--</resources>-->
- <!--<plugins>-->
- <!--<plugin>-->
- <!--<groupId>org.apache.maven.plugins</groupId>-->
- <!--<artifactId>maven-compiler-plugin</artifactId>-->
- <!--<version>3.6.2</version>-->
- <!--<configuration>-->
- <!--<source>${maven.compile.source}</source>-->
- <!--<target>${maven.compile.target}</target>-->
- <!--<encoding>${project.build.sourceEncoding}</encoding>-->
- <!--</configuration>-->
- <!--</plugin>-->
- <!--<!–<plugin>–>-->
- <!--<!–<artifactId>maven-assembly-plugin</artifactId>–>-->
- <!--<!–<configuration>–>-->
- <!--<!–<archive>–>-->
- <!--<!–<manifest>–>-->
- <!--<!–<mainClass>com.nb.admin.AdminApplication</mainClass>–>-->
- <!--<!–</manifest>–>-->
- <!--<!–<manifestEntries>–>-->
- <!--<!–<Class-Path>.</Class-Path>–>-->
- <!--<!–</manifestEntries>–>-->
- <!--<!–</archive>–>-->
- <!--<!–</configuration>–>-->
- <!--<!–<executions>–>-->
- <!--<!–<execution>–>-->
- <!--<!–<id>make-assembly</id>–>-->
- <!--<!–<phase>package</phase>–>-->
- <!--<!–<goals>–>-->
- <!--<!–<goal>single</goal>–>-->
- <!--<!–</goals>–>-->
- <!--<!–<configuration>–>-->
- <!--<!–<descriptors>–>-->
- <!--<!–<descriptor>src/main/resources/assembly.xml</descriptor>–>-->
- <!--<!–</descriptors>–>-->
- <!--<!–</configuration>–>-->
- <!--<!–</execution>–>-->
- <!--<!–</executions>–>-->
- <!--<!–</plugin>–>-->
- <!--</plugins>-->
- <!--</build>-->
- <build>
- <finalName>${project.name}</finalName>
- <resources>
- <resource>
- <directory>src/main/resources</directory>
- <filtering>true</filtering>
- </resource>
- </resources>
- <!--<pluginManagement>-->
- <plugins>
- <plugin>
- <groupId>org.springframework.boot</groupId>
- <artifactId>spring-boot-maven-plugin</artifactId>
- <version>${spring-boot.version}</version>
- <configuration>
- <mainClass>com.nb.admin.AdminApplication</mainClass>
- <finalName>${project.build.finalName}</finalName>
- <layers>
- <enabled>true</enabled>
- </layers>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>repackage</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- <!--</pluginManagement>-->
- </build>
- <profiles>
- <profile>
- <id>dev</id>
- <properties>
- <!-- 环境标识,需要与配置文件的名称相对应 -->
- <profiles.active>dev</profiles.active>
- <logging.level>debug</logging.level>
- </properties>
- <activation>
- <!-- 默认环境 -->
- <activeByDefault>true</activeByDefault>
- </activation>
- </profile>
- <profile>
- <id>test</id>
- <properties>
- <profiles.active>test</profiles.active>
- <logging.level>warn</logging.level>
- </properties>
- </profile>
- <profile>
- <id>prod</id>
- <properties>
- <profiles.active>prod</profiles.active>
- <logging.level>warn</logging.level>
- </properties>
- </profile>
- </profiles>
- </project>
|