提交 0ed77227 authored 作者: zhangchuanqiang's avatar zhangchuanqiang

修改pom文件

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