1.上github搜素jetlinks
2.找到源代码,并且下载到本地。
3.项目下载完成之后,还需要另外下载三个核心依赖模块。在github找到jetlinks。
4.点击进去下载,下载完成之后,你会发现里面有三个文件夹是空白的,先不用理会,把它复制到jetlinks-commnity目录下,并且在pom.xml添加jetlinks模块。
5.pom.xml代码依赖
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>org.jetlinks.community</groupId>
<artifactId>jetlinks-community</artifactId>
<version>2.2.0-SNAPSHOT</version>
<modules>
<module>jetlinks-components</module>
<module>jetlinks-manager</module>
<module>jetlinks-standalone</module>
<module>jetlinks</module>
</modules>
<packaging>pom</packaging>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.build.locales>zh_CN</project.build.locales>
<spring.boot.version>2.7.18</spring.boot.version>
<java.version>1.8</java.version>
<project.build.jdk>${java.version}</project.build.jdk>
<!-- 基础通用模块依赖,快照版本表示正在持续迭代.发布后将同步到maven中央仓库 -->
<!-- https://github.com/hs-web/hsweb-framework -->
<hsweb.framework.version>4.0.17-SNAPSHOT</hsweb.framework.version>
<!-- https://github.com/hs-web/hsweb-easy-orm -->
<easyorm.version>4.1.2-SNAPSHOT</easyorm.version>
<!-- https://github.com/jetlinks/jetlinks -->
<jetlinks.version>1.2.2-SNAPSHOT</jetlinks.version>
<!-- https://github.com/hs-web/reactor-excel -->
<reactor.excel.version>1.0.6-SNAPSHOT</reactor.excel.version>
<!-- https://github.com/jetlinks/reactor-ql -->
<reactor.ql.version>1.0.16</reactor.ql.version>
<!-- https://github.com/jetlinks/jetlinks-plugin -->
<jetlinks.plugin.version>1.0.1</jetlinks.plugin.version>
<!-- 第三方依赖版本 -->
<r2dbc.version>Borca-SR2</r2dbc.version>
<hsweb.expands.version>3.0.2</hsweb.expands.version>
<netty.version>4.1.104.Final</netty.version>
<elasticsearch.version>7.17.13</elasticsearch.version>
<californium.version>3.7.0</californium.version>
<fastjson.version>1.2.83</fastjson.version>
<reactor.version>2020.0.38</reactor.version>
<vertx.version>4.3.8</vertx.version>
<log4j.version>2.18.0</log4j.version>
<logback.version>1.2.11</logback.version>
<springdoc.version>1.6.11</springdoc.version>
<jackson.version>2.14.3</jackson.version>
<gson.version>2.9.1</gson.version>
<opentelemetry.version>1.26.0</opentelemetry.version>
<swagger.version>2.2.8</swagger.version>
<jna.version>5.12.1</jna.version>
<aliyun.sdk.core>4.5.2</aliyun.sdk.core>
<jsonata.version>2.4.1</jsonata.version>
<spring.cloud.version>2021.0.3</spring.cloud.version>
<fst.version>2.57</fst.version>
<grpc.version>1.53.0</grpc.version>
<rsocket.version>1.1.4</rsocket.version>
<micrometer.version>1.11.8</micrometer.version>
</properties>
<profiles>
<profile>
<id>build</id>
<repositories>
<repository>
<id>maven-central</id>
<name>central</name>
<url>https://repo1.maven.org/maven2/</url>
</repository>
</repositories>
</profile>
</profiles>
<build>
<finalName>${project.artifactId}</finalName>
<resources>
<resource>
<directory>src/main/resources</directory>
<filtering>true</filtering>
</resource>
</resources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-install-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${spring.boot.version}</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${project.build.jdk}</source>
<target>${project.build.jdk}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<version>0.8.7</version>
<executions>
<execution>
<goals>
<goal>prepare-agent</goal>
</goals>
<configuration>
<propertyName>jacocoArgLine</propertyName>
</configuration>
</execution>
<execution>
<id>report</id>
<phase>test</phase>
<goals>
<goal>report</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.4</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.codehaus.gmavenplus</groupId>
<artifactId>gmavenplus-plugin</artifactId>
<version>1.6.1</version>
<executions>
<execution>
<goals>
<goal>addTestSources</goal>
<goal>compile</goal>
<goal>compileTests</goal>
</goals>
</execution>
</executions>
<dependencies>
<dependency>
标签:
笔记
本文转载自: https://blog.csdn.net/qq_36973384/article/details/136807893
版权归原作者 心之所想,行则将至 所有, 如有侵权,请联系我们删除。
版权归原作者 心之所想,行则将至 所有, 如有侵权,请联系我们删除。