提交 8d557ee1 authored 作者: jianglw's avatar jianglw

Merge remote-tracking branch 'origin/master'

......@@ -231,26 +231,14 @@
</dependencies>
<!-- <build>-->
<!-- <plugins>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-compiler-plugin</artifactId>-->
<!-- <version>3.1</version>-->
<!-- <configuration>-->
<!-- <source>${java.version}</source>-->
<!-- <target>${java.version}</target>-->
<!-- <encoding>${project.build.sourceEncoding}</encoding>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- </plugins>-->
<!-- </build>-->
<build>
<plugins>
<!--打包配置-->
<!--<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
</plugin>-->
<plugin>
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
......@@ -284,39 +272,39 @@
</nonFilteredFileExtensions>
</configuration>
</plugin>
<!-- Maven插件实现自动化docker部署-->
<!-- <plugin>-->
<!-- <groupId>com.spotify</groupId>-->
<!-- <artifactId>docker-maven-plugin</artifactId>-->
<!-- <version>1.2.2</version>-->
<!-- &lt;!&ndash;将插件绑定在某个phase执行&ndash;&gt;-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>build-image</id>-->
<!-- &lt;!&ndash;将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build&ndash;&gt;-->
<!-- <phase>install</phase>-->
<!-- <goals>-->
<!-- <goal>build</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!-- <configuration>-->
<!-- &lt;!&ndash;指定生成的镜像名&ndash;&gt;-->
<!-- <imageName>${project.artifactId}</imageName>-->
<!-- &lt;!&ndash;指定标签&ndash;&gt;-->
<!-- <imageTags>-->
<!-- <imageTag>latest</imageTag>-->
<!-- </imageTags>-->
<!-- &lt;!&ndash; 指定 Dockerfile 路径&ndash;&gt;-->
<!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
<!-- &lt;!&ndash;指定远程 docker api地址&ndash;&gt;-->
<!-- <dockerHost>${docker-host}</dockerHost>-->
<!-- &lt;!&ndash; 指定tls证书的目录(注意:118和华为云需要tls证书,其他不需要)&ndash;&gt;-->
<!-- <dockerCertPath>${docker-tls}</dockerCertPath>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!--Maven插件实现自动化docker部署-->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>1.2.2</version>
<!--将插件绑定在某个phase执行-->
<executions>
<execution>
<id>build-image</id>
<!--将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build-->
<phase>package</phase>
<goals>
<!--<goal>build</goal>-->
</goals>
</execution>
</executions>
<configuration>
<!--指定生成的镜像名-->
<imageName>${project.artifactId}</imageName>
<!--指定标签-->
<imageTags>
<imageTag>latest</imageTag>
</imageTags>
<!-- 指定 Dockerfile 路径-->
<dockerDirectory>${project.basedir}</dockerDirectory>
<!--指定远程 docker api地址-->
<dockerHost>${docker-host}</dockerHost>
<!-- 指定tls证书的目录(注意:118和华为云需要tls证书,其他不需要)-->
<dockerCertPath>${docker-tls}</dockerCertPath>
</configuration>
</plugin>
</plugins>
<resources>
<!-- 指定通用的资源文件目录 -->
......@@ -335,6 +323,7 @@
</resource>
</resources>
</build>
<distributionManagement>
<snapshotRepository>
<id>maven-hrhx</id>
......@@ -345,35 +334,17 @@
<repositories>
<repository>
<id>snapshots</id>
<name>maven-snapshots</name>
<url>http://192.168.2.103:8081/repository/maven-snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>release</id>
<name>maven-release</name>
<id>maven-public</id>
<name>maven-public</name>
<url>http://192.168.2.103:8081/repository/maven-public/</url>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>public</id>
<name>aliyun nexus</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<releases>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</repository>
</repositories>
</project>
......@@ -54,11 +54,11 @@
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
<dependency>
<!--<dependency>
<groupId>com.oracle</groupId>
<artifactId>ojdbc8</artifactId>
<version>11.2.0.1.0</version>
</dependency>
</dependency>-->
<!-- 核心模块-->
<dependency>
<groupId>com.ruoyi</groupId>
......@@ -66,14 +66,14 @@
</dependency>
<!-- 定时任务-->
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-quartz</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-mqtt</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-quartz</artifactId>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>com.ruoyi</groupId>-->
<!-- <artifactId>ruoyi-mqtt</artifactId>-->
<!-- </dependency>-->
<dependency>
<groupId>com.ruoyi</groupId>
<artifactId>topology</artifactId>
......@@ -103,15 +103,15 @@
</execution>
</executions>
</plugin>
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-war-plugin</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <configuration>-->
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
<!-- <warName>${project.artifactId}</warName>-->
<!-- </configuration>-->
<!-- </plugin>-->
<!-- <plugin>-->
<!-- <groupId>org.apache.maven.plugins</groupId>-->
<!-- <artifactId>maven-war-plugin</artifactId>-->
<!-- <version>3.1.0</version>-->
<!-- <configuration>-->
<!-- <failOnMissingWebXml>false</failOnMissingWebXml>-->
<!-- <warName>${project.artifactId}</warName>-->
<!-- </configuration>-->
<!-- </plugin>-->
</plugins>
<finalName>${project.artifactId}</finalName>
</build>
......
......@@ -28,22 +28,22 @@
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
</dependency>
<!-- <dependency>-->
<!-- <groupId>org.reflections</groupId>-->
<!-- <artifactId>reflections</artifactId>-->
<!-- <version>0.9.12</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.reflections</groupId>-->
<!-- <artifactId>reflections</artifactId>-->
<!-- <version>0.9.12</version>-->
<!-- </dependency>-->
<!-- spring security 安全认证 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-security</artifactId>
</dependency>
<!--安全模块-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.security.oauth.boot</groupId>-->
<!-- <artifactId>spring-security-oauth2-autoconfigure</artifactId>-->
<!-- <version>2.1.2.RELEASE</version>-->
<!-- </dependency>-->
<!-- <dependency>-->
<!-- <groupId>org.springframework.security.oauth.boot</groupId>-->
<!-- <artifactId>spring-security-oauth2-autoconfigure</artifactId>-->
<!-- <version>2.1.2.RELEASE</version>-->
<!-- </dependency>-->
<!-- pagehelper 分页插件 -->
<dependency>
<groupId>com.github.pagehelper</groupId>
......@@ -109,7 +109,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- websocket-->
<!--websocket-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
......@@ -137,13 +137,13 @@
<artifactId>snakeyaml</artifactId>
<version>1.25</version>
</dependency>
<!-- 共享服务端-->
<!-- 共享服务端-->
<dependency>
<groupId>com.hrhx</groupId>
<artifactId>shareserverconconnector</artifactId>
<version>[1.0,)</version>
</dependency>
<!-- influxdb-->
<!-- influxdb-->
<dependency>
<groupId>com.influxdb</groupId>
<artifactId>influxdb-client-java</artifactId>
......@@ -154,7 +154,7 @@
<artifactId>commons-jexl3</artifactId>
<version>3.1</version>
</dependency>
<!-- mybatis-plus-->
<!-- mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
......@@ -172,14 +172,4 @@
<version>2.1.0</version>
</dependency>
</dependencies>
<repositories>
<repository>
<id>release</id>
<name>maven-release</name>
<url>http://47.96.144.195:8081/repository/maven-public/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
</project>
......@@ -8,11 +8,9 @@
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>topology</artifactId>
<version>3.3.0-SNAPSHOT</version>
<description>
topologyWeb服务入口
</description>
<description>topologyWeb服务入口</description>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
......@@ -68,7 +66,7 @@
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
</dependency>
<!-- websocket-->
<!--websocket-->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-websocket</artifactId>
......@@ -96,7 +94,7 @@
<artifactId>shareserverconconnector</artifactId>
<version>[1.0,)</version>
</dependency>
<!-- influxdb-->
<!--influxdb-->
<dependency>
<groupId>com.influxdb</groupId>
<artifactId>influxdb-client-java</artifactId>
......@@ -107,7 +105,7 @@
<artifactId>commons-jexl3</artifactId>
<version>3.1</version>
</dependency>
<!-- mybatis-plus-->
<!--mybatis-plus-->
<dependency>
<groupId>com.baomidou</groupId>
<artifactId>mybatis-plus-boot-starter</artifactId>
......@@ -132,42 +130,13 @@
<version>0.10.2</version>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>maven-hrhx</id>
<name>maven-release</name>
<url>http://47.96.144.195:7081/repository/maven-releases/</url>
</repository>
<snapshotRepository>
<id>maven-hrhx</id>
<name>maven-snapshots</name>
<url>http://47.96.144.195:7081/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
<repositories>
<repository>
<id>snapshots</id>
<name>maven-snapshots</name>
<url>http://47.96.144.195:8081/repository/maven-snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
<repository>
<id>release</id>
<name>maven-release</name>
<url>http://47.96.144.195:8081/repository/maven-public/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<!--打包配置-->
<plugin>
<!-- <groupId>org.springframework.boot</groupId>-->
<!-- <artifactId>spring-boot-maven-plugin</artifactId>-->
<!--<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>-->
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
......@@ -201,39 +170,39 @@
</nonFilteredFileExtensions>
</configuration>
</plugin>
<!-- Maven插件实现自动化docker部署-->
<!-- <plugin>-->
<!-- <groupId>com.spotify</groupId>-->
<!-- <artifactId>docker-maven-plugin</artifactId>-->
<!-- <version>1.2.2</version>-->
<!--Maven插件实现自动化docker部署-->
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<version>1.2.2</version>
<!-- &lt;!&ndash;将插件绑定在某个phase执行&ndash;&gt;-->
<!-- <executions>-->
<!-- <execution>-->
<!-- <id>build-image</id>-->
<!-- &lt;!&ndash;将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build&ndash;&gt;-->
<!-- <phase>install</phase>-->
<!-- <goals>-->
<!-- <goal>build</goal>-->
<!-- </goals>-->
<!-- </execution>-->
<!-- </executions>-->
<!--将插件绑定在某个phase执行-->
<executions>
<execution>
<id>build-image</id>
<!--将插件绑定在package这个phase上。也就是说,用户只需执行mvn package ,就会自动执行mvn docker:build-->
<phase>package</phase>
<goals>
<!--<goal>build</goal>-->
</goals>
</execution>
</executions>
<!-- <configuration>-->
<!-- &lt;!&ndash;指定生成的镜像名&ndash;&gt;-->
<!-- <imageName>${project.artifactId}</imageName>-->
<!-- &lt;!&ndash;指定标签&ndash;&gt;-->
<!-- <imageTags>-->
<!-- <imageTag>latest</imageTag>-->
<!-- </imageTags>-->
<!-- &lt;!&ndash; 指定 Dockerfile 路径&ndash;&gt;-->
<!-- <dockerDirectory>${project.basedir}</dockerDirectory>-->
<!-- &lt;!&ndash;指定远程 docker api地址&ndash;&gt;-->
<!-- <dockerHost>${docker-host}</dockerHost>-->
<!-- &lt;!&ndash; 指定tls证书的目录(注意:118和华为云需要tls证书,其他不需要)&ndash;&gt;-->
<!-- <dockerCertPath>${docker-tls}</dockerCertPath>-->
<!-- </configuration>-->
<!-- </plugin>-->
<configuration>
<!--指定生成的镜像名-->
<imageName>${project.artifactId}</imageName>
<!--指定标签-->
<imageTags>
<imageTag>latest</imageTag>
</imageTags>
<!-- 指定 Dockerfile 路径-->
<dockerDirectory>${project.basedir}</dockerDirectory>
<!--指定远程 docker api地址-->
<dockerHost>${docker-host}</dockerHost>
<!-- 指定tls证书的目录(注意:118和华为云需要tls证书,其他不需要)-->
<dockerCertPath>${docker-tls}</dockerCertPath>
</configuration>
</plugin>
</plugins>
<resources>
<!-- 指定通用的资源文件目录 -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论