meta-open
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.acanx.meta</groupId>
<artifactId>meta-open</artifactId>
<version>0.6.1</version>
</dependency><?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>com.acanx.meta</groupId>
<artifactId>meta-open</artifactId>
<version>0.6.1</version>
<packaging>pom</packaging>
<name>Meta-Open</name>
<description>Meta Open POM</description>
<url>https://github.com/ACANX/MetaOpen</url>
<inceptionYear>2025</inceptionYear>
<scm>
<tag>V0.6.x</tag>
<url>git@github.com:ACANX/MetaOpen.git</url>
<connection>scm:git:git@github.com:ACANX/MetaOpen.git</connection>
<developerConnection>scm:git:git@github.com:ACANX/MetaOpen.git</developerConnection>
</scm>
<organization>
<name>ACANX</name>
<url>https://acanx.com</url>
</organization>
<developers>
<developer>
<name>ACANX</name>
<email>acanx@qq.com</email>
<organization>ACANX</organization>
</developer>
</developers>
<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>
<properties>
<revision>0.6.1</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>21</java.version>
<maven.compiler.release>21</maven.compiler.release>
<maven-compiler-plugin.version>3.14.1</maven-compiler-plugin.version>
<maven-deploy-plugin.version>3.1.4</maven-deploy-plugin.version>
<maven-surefire-plugin.version>3.5.4</maven-surefire-plugin.version>
<maven-source-plugin.version>3.4.0</maven-source-plugin.version>
<maven-javadoc-plugin.version>3.12.0</maven-javadoc-plugin.version>
<maven-gpg-plugin.version>3.2.8</maven-gpg-plugin.version>
<flatten-maven-plugin.version>1.7.3</flatten-maven-plugin.version>
<central-publishing-maven-plugin.version>0.9.0</central-publishing-maven-plugin.version>
<sonar.organization>acanx</sonar.organization>
<autil.version>0.4.3</autil.version>
<jackson.version>2.20.1</jackson.version>
<fastjson2.version>2.0.60</fastjson2.version>
<lombok.version>1.18.42</lombok.version>
<junit-jupiter.version>6.0.1</junit-jupiter.version>
</properties>
<modules>
<module>meta-model</module>
<module>meta-component</module>
<module>meta-bom</module>
<!-- <module>meta-sdk</module> -->
<module>os-dependencies</module>
</modules>
<dependencies/>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>com.acanx.meta</groupId>
<artifactId>os-dependencies</artifactId>
<version>0.6.1</version>
<type>pom</type>
<scope>import</scope>
</dependency>
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter-api</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.junit.platform</groupId>
<artifactId>junit-platform-commons</artifactId>
<version>${junit-jupiter.version}</version>
<scope>test</scope>
</dependency>
</dependencies>
</dependencyManagement>
<repositories>
<repository>
<id>sonatype-snapshots</id>
<name>Sonatype Snapshot Repository</name>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
<releases>
<enabled>false</enabled> <!-- 如果不需RELEASE版本,可禁用 -->
</releases>
<snapshots>
<enabled>true</enabled> <!-- 启用SNAPSHOT版本下载 -->
<updatePolicy>always</updatePolicy> <!-- 可选:每次构建都检查更新 -->
</snapshots>
</repository>
</repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</build>
<profiles>
<!-- 发布到 Maven中央仓库 -->
<profile>
<id>sonatype-oss-release</id>
<!-- 设为默认profile 开始 -->
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>${maven-compiler-plugin.version}</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>${flatten-maven-plugin.version}</version>
<configuration>
<!-- 是否更新pom文件,此处还有更高级的用法-->
<updatePomFile>true</updatePomFile>
<flattenMode>resolveCiFriendliesOnly</flattenMode>
</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>
<!-- 生成Source jar文件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
</plugin>
<!-- 生成Javadoc,关闭doclint,避免注解检查不通过 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin.version}</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
<configuration>
<!-- <additionalparam>-Xdoclint:none</additionalparam> -->
<!-- <aggregate>true</aggregate> -->
<charset>${project.build.sourceEncoding}</charset>
<!-- utf-8读取文件 -->
<encoding>${project.build.sourceEncoding}</encoding>
<!-- utf-8进行编码代码 -->
<docencoding>${project.build.sourceEncoding}</docencoding>
<!-- utf-8进行编码文档 -->
</configuration>
</execution>
</executions>
</plugin>
<!-- Maven GPG插件用于使用以下配置对组件进行签名 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<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>
<configuration>
<executable>gpg</executable>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-deploy-plugin</artifactId>
<version>${maven-deploy-plugin.version}</version>
</plugin>
<!-- 正式版/SNAPSHOT发布使用central-publishing-maven-plugin插件-->
<plugin>
<groupId>org.sonatype.central</groupId>
<artifactId>central-publishing-maven-plugin</artifactId>
<version>${central-publishing-maven-plugin.version}</version>
<extensions>true</extensions>
<configuration>
<publishingServerId>sonatype-nexus-snapshots</publishingServerId>
<autoPublish>true</autoPublish>
<centralBaseUrl>https://central.sonatype.com</centralBaseUrl>
<deploymentName>Meta-Open-0.6.1-Deployment</deploymentName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven-surefire-plugin.version}</version>
</plugin>
</plugins>
</build>
<!-- repository、snapshotRepository中的id一定要与Maven的setting.xml文件中的server节点下的id 保持一一对应! -->
<distributionManagement>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<url>https://central.sonatype.com/repository/maven-snapshots/</url>
</snapshotRepository>
</distributionManagement>
</profile>
</profiles>
</project>