1 Star 1 Fork 2

灵狐/二次开发范例:Fox-Edge-Server-Demo

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 10.77 KB
一键复制 编辑 原始数据 按行查看 历史
灵狐 提交于 2024-10-19 11:22 . 更新版本号
<?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">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.fox-tech</groupId>
<artifactId>fox-edge-server-demo</artifactId>
<version>${revision}</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
<description>fox-edge-server-demo</description>
<url>https://www.fox-tech.cn</url>
<properties>
<!-- fox-edge-server version -->
<revision>1.2.0</revision>
<fox-edge-server.version>1.2.0</fox-edge-server.version>
<!-- java version -->
<java.version>1.8</java.version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<!-- maven plugin version -->
<maven.compiler.source>${java.version}</maven.compiler.source>
<maven.compiler.target>${java.version}</maven.compiler.target>
<maven.compiler.compilerVersion>${java.version}</maven.compiler.compilerVersion>
<maven-flatten.version>1.2.2</maven-flatten.version>
<maven-jar-plugin.version>3.1.1</maven-jar-plugin.version>
<!-- spring version -->
<springframework.version>5.3.20</springframework.version>
<spring-data-redis.version>2.6.4</spring-data-redis.version>
<spring-boot.version>2.6.8</spring-boot.version>
<spring-cloud.version>2021.0.2</spring-cloud.version>
<spring-cloud-alibaba.version>2021.1</spring-cloud-alibaba.version>
<!-- graalvm version -->
<graalvm.version>21.1.0</graalvm.version>
<!-- nashorn version -->
<nashorn.version>15.0</nashorn.version>
<!-- other version -->
<apache.commons.version>3.12.0</apache.commons.version>
<mysql-connector.version>8.0.29</mysql-connector.version>
<mybatis-plus.version>3.5.0</mybatis-plus.version>
<redis.clients.version>3.7.1</redis.clients.version>
<jna.version>5.10.0</jna.version>
<jackson.version>2.9.0</jackson.version>
<lombok.version>1.18.28</lombok.version>
<mica-mqtt.version>2.1.2</mica-mqtt.version>
<californium-coap.version>3.9.1</californium-coap.version>
<mysql-connector.version>8.0.29</mysql-connector.version>
<mybatis-plus.version>3.5.0</mybatis-plus.version>
<cn.hutool.version>5.8.3</cn.hutool.version>
<log4j.version>1.3.8.RELEASE</log4j.version>
</properties>
<modules>
<module>fox-edge-server-iot-cloud</module>
<module>fox-edge-server-channel</module>
<module>fox-edge-server-device</module>
<module>fox-edge-server-protocol</module>
</modules>
<!-- 依赖声明 -->
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-dependencies</artifactId>
<version>${spring-cloud.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring-boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<developers>
<developer>
<name>hupengwu</name>
<email>5389408@qq.com</email>
</developer>
</developers>
<scm>
<connection>scm:git:git@gitee.com/fierce_wolf/fox-edge-server</connection>
<developerConnection>scm:git:git@gitee.com/fierce_wolf/fox-edge-server.git</developerConnection>
<url>git@gitee.com/fierce_wolf/fox-edge-server.git</url>
</scm>
<repositories>
<!--阿里云主仓库,代理了 maven central 和 jcenter 仓库-->
<repository>
<id>aliyun</id>
<name>aliyun</name>
<url>https://maven.aliyun.com/repository/public</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
<releases>
<enabled>true</enabled>
</releases>
</repository>
<!-- 拉取快照版本的 mica-net -->
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
<snapshots>
<enabled>true</enabled>
</snapshots>
<releases>
<enabled>false</enabled>
</releases>
</repository>
<!-- 加密工具 -->
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
<build>
<plugins>
<!-- MAVEN的编译配置:\.mvn\wrapper\maven-wrapper.properties和这边的配置,都要3.8.1版本,不要意味追求新版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>${project.build.sourceEncoding}</encoding>
</configuration>
</plugin>
<!-- 源码信息的生成:中央仓库要求必须生成javadoc文档 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 源码信息的生成:中央仓库要求必须生成javadoc文档 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.9.1</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- flatten的官方配置:它的作用是开源项目中去掉一些不必要的对外信息 -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${maven-flatten.version}</version>
<configuration>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
<pomElements>
<properties>remove</properties>
<repositories>remove</repositories>
</pomElements>
</configuration>
<executions>
<execution>
<id>flatten</id>
<phase>process-resources</phase>
<goals>
<goal>flatten</goal>
</goals>
</execution>
<execution>
<id>flatten.clean</id>
<phase>clean</phase>
<goals>
<goal>clean</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<licenses>
<license>
<name>Apache License 2.0</name>
<url>https://www.apache.org/licenses</url>
</license>
</licenses>
<profiles>
<profile>
<id>snapshot</id>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
<profile>
<id>release</id>
<build>
<plugins>
<!-- Source -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.2.0</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG签名:发布到中央仓库的时候,是需要GPG签名的 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
<configuration>
<gpgArguments>
<arg>--pinentry-mode</arg>
<arg>loopback</arg>
</gpgArguments>
</configuration>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>oss</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>oss</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/fierce_wolf/fox-edge-server-demo.git
git@gitee.com:fierce_wolf/fox-edge-server-demo.git
fierce_wolf
fox-edge-server-demo
二次开发范例:Fox-Edge-Server-Demo
master

搜索帮助