xmagic-boot-starter-parent
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency> <groupId>tech.xmagic</groupId> <artifactId>xmagic-boot-starter-parent</artifactId> <version>1.0.8</version> </dependency>
<?xml version="1.0" encoding="UTF-8"?> <!-- /********** SpringBootStarter依赖根项目 **********/ / SpringBootStarter项目依赖该父项目 / /***********************************/ --> <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"> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>3.3.7</version> <relativePath/> </parent> <modelVersion>4.0.0</modelVersion> <groupId>tech.xmagic</groupId> <artifactId>xmagic-boot-starter-parent</artifactId> <version>1.0.8</version> <!-- <version>1.0.4-SNAPSHOT</version>--> <packaging>pom</packaging> <name>XMagic Boot Starter Parent</name> <description>Parent pom providing dependency and plugin management for starter applications built with Maven </description> <url>https://gitee.com/xmagictech/xmagic-base</url> <licenses> <license> <name>Apache License, Version 2.0</name> <url>https://www.apache.org/licenses/LICENSE-2.0</url> </license> </licenses> <developers> <developer> <name>XMagic</name> <email>wangwei.cq@126.com</email> <organization>XMagic, Inc.</organization> <organizationUrl>https://xmagic.tech</organizationUrl> </developer> </developers> <scm> <url>https://gitee.com/xmagictech/xmagic-base.git</url> </scm> <properties> <java.version>17</java.version> <encoding>UTF-8</encoding> <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.compiler.encoding>${encoding}</maven.compiler.encoding> <project.build.sourceEncoding>${encoding}</project.build.sourceEncoding> <project.reporting.outputEncoding>${encoding}</project.reporting.outputEncoding> <skipTests>true</skipTests> <versions-maven-plugin.version>2.18.0</versions-maven-plugin.version> <maven-source-plugin.version>3.3.1</maven-source-plugin.version> <maven-javadoc-plugin.version>3.11.2</maven-javadoc-plugin.version> <maven-gpg-plugin.version>3.2.7</maven-gpg-plugin.version> <central-publishing-maven-plugin.version>0.7.0</central-publishing-maven-plugin.version> <!--=====================--> <xmagic-boot-dependencies.version>1.0.8</xmagic-boot-dependencies.version> </properties> <dependencyManagement> <dependencies> <!--自定义依赖--> <dependency> <artifactId>xmagic-boot-dependencies</artifactId> <groupId>tech.xmagic</groupId> <version>${xmagic-boot-dependencies.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <distributionManagement> <repository> <id>${distributionRepositoryId}</id> <name>${distributionRepositoryId}</name> <url>${distributionRepositoryUrl}</url> </repository> <snapshotRepository> <id>${distributionSnapshotRepositoryId}</id> <name>${distributionSnapshotRepositoryId}</name> <url>${distributionSnapshotRepositoryUrl}</url> </snapshotRepository> </distributionManagement> <profiles> <profile> <id>aliyun</id> <activation> <activeByDefault>true</activeByDefault> </activation> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> <profile> <id>maven</id> <build> <plugins> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-source-plugin</artifactId> <version>${maven-source-plugin.version}</version> <executions> <execution> <id>attach-sources</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-javadoc-plugin</artifactId> <version>${maven-javadoc-plugin.version}</version> <configuration> <encoding>UTF-8</encoding> <charset>UTF-8</charset> <docencoding>UTF-8</docencoding> </configuration> <executions> <execution> <id>attach-javadocs</id> <phase>package</phase> <goals> <goal>jar</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-gpg-plugin</artifactId> <version>${maven-gpg-plugin.version}</version> <executions> <execution> <id>gpg</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>${central-publishing-maven-plugin.version}</version> <extensions>true</extensions> <configuration> <publishingServerId>central</publishingServerId> </configuration> </plugin> </plugins> </build> </profile> </profiles> </project>