parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>io.github.air-iot</groupId> <artifactId>parent</artifactId> <version>4.3.13</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <project xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd" xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <modelVersion>4.0.0</modelVersion> <groupId>io.github.air-iot</groupId> <artifactId>parent</artifactId> <version>4.3.13</version> <packaging>pom</packaging> <name>sdk</name> <description>AIRIOT 物联网平台二次开发 SDK</description> <url>https://github.com/air-iot/sdk-java</url> <licenses> <license> <name>The Apache Software License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0.txt</url> <distribution>repo</distribution> </license> </licenses> <developers> <developer> <id>chenpc</id> <name>chenpengchao</name> <email>p310r9e@dingtalk.com</email> <roles> <role>Committer</role> </roles> </developer> </developers> <modules> <module>sdk-driver-starter</module> <module>sdk-client-api</module> <module>sdk-dependencies</module> <module>sdk-flow-plugin-starter</module> <module>sdk-client-http-starter</module> <module>sdk-algorithm-starter</module> <module>sdk-flow-extension-starter</module> <module>sdk-logger-starter</module> <module>sdk-encrypt-starter</module> <module>sdk-datarelay-starter</module> <module>sdk-boot-config-starter</module> </modules> <scm> <connection>git@github.com/air-iot/sdk-java.git</connection> <developerConnection>git@github.com/air-iot/sdk-java.git</developerConnection> <tag>master</tag> <url>git@github.com/air-iot/sdk-java.git</url> </scm> <distributionManagement> <repository> <id>central</id> <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> </repository> <snapshotRepository> <id>central</id> <url>https://s01.oss.sonatype.org/content/repositories/snapshots</url> </snapshotRepository> </distributionManagement> <properties> <maven-javadoc-plugin.version>3.5.0</maven-javadoc-plugin.version> <java.version>1.8</java.version> <spring-boot.version>2.7.8</spring-boot.version> <grpc.version>1.53.0</grpc.version> <maven-jar-plugin>3.2.0</maven-jar-plugin> <maven-gpg-plugin.version>3.0.1</maven-gpg-plugin.version> <maven-surefire-plugin.version>2.22.2</maven-surefire-plugin.version> <maven.compiler.target>8</maven.compiler.target> <maven.compiler.version>3.8.1</maven.compiler.version> <maven-source-plugin.version>2.2.1</maven-source-plugin.version> <spring-cloud.version>2021.0.7</spring-cloud.version> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <revision>4.3.13</revision> <protoc.version>3.19.4</protoc.version> <maven-flatten-plugin.version>1.2.7</maven-flatten-plugin.version> <maven.compiler.source>8</maven.compiler.source> </properties> <dependencyManagement> <dependencies> <dependency> <groupId>com.google.guava</groupId> <artifactId>guava</artifactId> <version>32.0.1-jre</version> </dependency> <dependency> <groupId>com.google.code.gson</groupId> <artifactId>gson</artifactId> <version>2.11.0</version> </dependency> <dependency> <groupId>com.lmax</groupId> <artifactId>disruptor</artifactId> <version>4.0.0</version> </dependency> <dependency> <groupId>commons-pool</groupId> <artifactId>commons-pool</artifactId> <version>1.6</version> </dependency> <dependency> <groupId>commons-codec</groupId> <artifactId>commons-codec</artifactId> <version>1.15</version> </dependency> <dependency> <groupId>org.yaml</groupId> <artifactId>snakeyaml</artifactId> <version>1.33</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${spring-boot.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <build> <extensions> <extension> <groupId>kr.motd.maven</groupId> <artifactId>os-maven-plugin</artifactId> <version>1.7.1</version> </extension> </extensions> <pluginManagement> <plugins> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <version>0.6.1</version> </plugin> <plugin> <artifactId>maven-compiler-plugin</artifactId> <version>${maven.compiler.version}</version> </plugin> <plugin> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> </plugin> </plugins> </pluginManagement> <plugins> <plugin> <artifactId>maven-compiler-plugin</artifactId> <configuration> <source>${java.version}</source> <target>${java.version}</target> <encoding>${project.build.sourceEncoding}</encoding> </configuration> </plugin> <plugin> <groupId>org.xolstice.maven.plugins</groupId> <artifactId>protobuf-maven-plugin</artifactId> <executions> <execution> <goals> <goal>compile</goal> <goal>test-compile</goal> <goal>compile-custom</goal> <goal>test-compile-custom</goal> </goals> </execution> </executions> <configuration> <protocArtifact>com.google.protobuf:protoc:${protoc.version}:exe:${os.detected.classifier}</protocArtifact> <pluginId>grpc-java</pluginId> <pluginArtifact>io.grpc:protoc-gen-grpc-java:${grpc.version}:exe:${os.detected.classifier}</pluginArtifact> </configuration> </plugin> <plugin> <groupId>org.codehaus.mojo</groupId> <artifactId>flatten-maven-plugin</artifactId> <version>${maven-flatten-plugin.version}</version> <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> <configuration> <updatePomFile>true</updatePomFile> <flattenMode>resolveCiFriendliesOnly</flattenMode> </configuration> </plugin> </plugins> </build> <profiles> <profile> <id>release</id> <build> <plugins> <plugin> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <goals> <goal>jar-no-fork</goal> </goals> </execution> </executions> <configuration> <excludes> <exclude>bootstrap*.properties</exclude> <exclude>application*.properties</exclude> <exclude>bootstrap*.yml</exclude> <exclude>bootstrap*.yaml</exclude> <exclude>application*.yml</exclude> <exclude>application*.yaml</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-jar-plugin</artifactId> <version>${maven-jar-plugin}</version> <configuration> <excludes> <exclude>application-*.properties</exclude> <exclude>application-*.yaml</exclude> <exclude>application-*.yml</exclude> </excludes> </configuration> </plugin> <plugin> <artifactId>maven-javadoc-plugin</artifactId> <executions> <execution> <id>attach-javadocs</id> <goals> <goal>jar</goal> </goals> </execution> </executions> <configuration> <encoding>${project.build.sourceEncoding}</encoding> <failOnError>false</failOnError> </configuration> </plugin> <plugin> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>sign-artifacts</id> <phase>verify</phase> <goals> <goal>sign</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.sonatype.central</groupId> <artifactId>central-publishing-maven-plugin</artifactId> <version>0.5.0</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> <waitForPublishCompletion>true</waitForPublishCompletion> <autoPublish>true</autoPublish> <waitUntil>published</waitUntil> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>