jump-kernel
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>com.gitee.roow</groupId>
<artifactId>jump-kernel</artifactId>
<version>1.0.5</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.gitee.roow</groupId>
<artifactId>jump-kernel</artifactId>
<version>1.0.5</version>
<packaging>pom</packaging>
<!--项目说明:这里作为聚合工程的父工程 -->
<name>jump-kernel</name>
<description>spring-boot核心飞跃开发</description>
<!-- 继承说明:这里继承SpringBoot提供的父工程 -->
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.6.4</version>
<relativePath/>
</parent>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
<!-- 项目版本号 -->
<jump.core.version>1.0.5</jump.core.version>
<jump.satoken.version>1.0.0</jump.satoken.version>
</properties>
<!-- 模块说明:这里声明多个子模块 -->
<modules>
<module>jump-core-spring-boot-starter</module>
<!--
<module>jump-dynamic-datasource-spring-boot-starter</module>
<module>jump-satoken-spring-boot-starter</module>
<module>jump-system-spring-boot-starter</module>
-->
</modules>
<!-- 依赖声明 -->
<dependencies>
<!-- spring-web依赖 -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-web</artifactId>
</dependency>
<!-- mybatis-plus的join联表查询 -->
<dependency>
<groupId>com.github.yulichang</groupId>
<artifactId>mybatis-plus-join</artifactId>
<version>1.2.4</version>
</dependency>
<!-- lombok -->
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
</dependency>
</dependencies>
<!-- 开源许可证 -->
<licenses>
<license>
<name>The Apache Software License, Version 2.0</name>
<url>http://www.apache.org/licenses/LICENSE-2.0.txt</url>
<distribution>repo</distribution>
</license>
</licenses>
<!-- 开发者信息 -->
<developers>
<developer>
<name>room</name>
<email>554246706@qq.com</email>
</developer>
</developers>
<!-- 开源地址 -->
<scm>
<connection>https://gitee.com/roow/jump-kernel.git</connection>
<developerConnection>https://gitee.com/roow/jump-kernel.git</developerConnection>
<url>https://gitee.com/roow/jump-kernel</url>
</scm>
<!-- 打包配置 -->
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<build>
<plugins>
<!-- 项目源码打包jar插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<configuration>
<attach>true</attach>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 生成doc-jar插件 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<configuration>
<encoding>UTF-8</encoding>
<charset>UTF-8</charset>
<docencoding>UTF-8</docencoding>
<!-- 防止不规范的java-doc注释导致打包失败 -->
<additionalOptions>-Xdoclint:none</additionalOptions>
<additionalJOption>-Xdoclint:none</additionalJOption>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 指定maven编译的jdk版本 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.8</source>
<target>1.8</target>
<encoding>UTF-8</encoding>
<compilerArgument>-Xlint:unchecked</compilerArgument>
</configuration>
</plugin>
<!-- 打包jar时使用pgp4秘钥加密-防止jar被人窜改 -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.0.1</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- 将组件部署到OSSRH插件 -->
<!--
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>jump-kernel</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
-->
<!-- 打包防止反编译插件 -->
<!--
<plugin>
<groupId>net.roseboye</groupId>
<artifactId>classfinal-maven-plugin</artifactId>
<version>1.2.1</version>
配置
<configuration>
#表示启动jar时不需要密码
<password>#</password>
加密的包名<多个包用逗号分开>
<packages>com.jump.core</packages>
忽略的包名
<excludes>org.spring</excludes>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>classFinal</goal>
</goals>
</execution>
</executions>
</plugin>
-->
</plugins>
<resources>
<!-- 加载java下的XML文件 -->
<resource>
<directory>src/main/java</directory>
<includes>
<include>**/*.xml</include>
</includes>
</resource>
<!-- 加载resources下的资源文件 -->
<resource>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
</resources>
</build>
<!-- snapshot快照版和release正式版的仓库地址 -->
<distributionManagement>
<snapshotRepository>
<!-- 此处id与setting.xml中的<server>服务id保持一致 -->
<id>jump-kernel</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<!-- 此处id与setting.xml中的<server>服务id保持一致 -->
<id>jump-kernel</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>