Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 24 additions & 1 deletion meta-component/bom-graalvm/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,30 @@
<name>BOM-GraalVM</name>
<description>GraalVM Component BOM</description>
<url>https://github.com/ACANX/MetaOpen</url>

<scm>
<tag>V0.4.x</tag>
<url>[email protected]:ACANX/MetaOpen.git</url>
<connection>scm:git:[email protected]:ACANX/MetaOpen.git</connection>
<developerConnection>scm:git:[email protected]:ACANX/MetaOpen.git</developerConnection>
</scm>
<organization>
<name>ACANX</name>
<url>https://acanx.com</url>
</organization>
<developers>
<developer>
<name>ACANX</name>
<email>[email protected]</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>

</properties>
Expand Down
168 changes: 168 additions & 0 deletions meta-component/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,32 @@
<name>Meta-Component</name>
<description>Meta-Component POM</description>
<url>https://github.com/ACANX/MetaOpen</url>
<inceptionYear>2025</inceptionYear>
<scm>
<tag>V0.4.x</tag>
<url>[email protected]:ACANX/MetaOpen.git</url>
<connection>scm:git:[email protected]:ACANX/MetaOpen.git</connection>
<developerConnection>scm:git:[email protected]:ACANX/MetaOpen.git</developerConnection>
</scm>
<organization>
<name>ACANX</name>
<url>https://acanx.com</url>
</organization>
<developers>
<developer>
<name>ACANX</name>
<email>[email protected]</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/>

<modules>
Expand Down Expand Up @@ -49,4 +75,146 @@
</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>D:\ProgramExt\GnuPG\bin\gpg.exe</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-Component-${revision}-Deployment</deploymentName>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.5.3</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>
25 changes: 24 additions & 1 deletion meta-component/sdk-maven-artifact/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,30 @@
<name>SDK-Maven-Artifact</name>
<description>Maven-Artifact SDK Module</description>
<url>https://github.com/ACANX/MetaOpen</url>

<scm>
<tag>V0.4.x</tag>
<url>[email protected]:ACANX/MetaOpen.git</url>
<connection>scm:git:[email protected]:ACANX/MetaOpen.git</connection>
<developerConnection>scm:git:[email protected]:ACANX/MetaOpen.git</developerConnection>
</scm>
<organization>
<name>ACANX</name>
<url>https://acanx.com</url>
</organization>
<developers>
<developer>
<name>ACANX</name>
<email>[email protected]</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>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>11</java.version>
Expand Down
6 changes: 3 additions & 3 deletions meta-model/model-maven/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
<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>
<parent>
<artifactId>meta-model</artifactId>
<groupId>com.acanx.meta</groupId>
<version>${revision}</version>
<groupId>com.acanx.meta</groupId>
<artifactId>meta-model</artifactId>
<version>${revision}</version>
</parent>

<groupId>com.acanx.meta.model</groupId>
Expand Down
Loading