加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 9.22 KB
一键复制 编辑 原始数据 按行查看 历史
YuePeng 提交于 2023-12-11 23:37 . upgrade to 1.12.10
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/POM/4.0.0"
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>xyz.erupt</groupId>
<artifactId>erupt</artifactId>
<version>1.12.10</version>
<packaging>pom</packaging>
<name>erupt</name>
<description>erupt common data framework pom parent</description>
<url>https://www.erupt.xyz</url>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<erupt.groupId>xyz.erupt</erupt.groupId>
<java.version>1.8</java.version>
<spring.boot.version>2.7.10</spring.boot.version>
</properties>
<!--
在编译spring boot 等多模块项目的时候,往往出现
Non-resolvable parent POM: Could not find artifact
后面跟一串其它信息,网上大部分解决方案是修改relativePath配置项,
其实这是很不优雅的方式。这里介绍另一种解决方案。
解决办法如下,把父项目的modules里面的配置全部注释或者删除,
让后编译并打包并安装,在提示成功后,再把原来注释活删除的配置项还原即可,然后再编译即可成功。
-->
<modules>
<module>erupt-annotation</module>
<module>erupt-core</module>
<module>erupt-excel</module>
<module>erupt-toolkit</module>
<module>erupt-data/erupt-jpa</module><!-- Hibernate JPA 数据实现 -->
<module>erupt-data/erupt-mongodb</module><!-- MongoDB 数据实现 -->
<module>erupt-upms</module><!--用户权限管理-->
<module>erupt-security</module><!--API 接口安全-->
<module>erupt-admin</module>
<module>erupt-web</module><!--前端代码-->
<module>erupt-tpl</module>
<module>erupt-tpl-ui/ant-design</module>
<module>erupt-tpl-ui/element-ui</module>
<module>erupt-tpl-ui/amis</module>
<module>erupt-tpl-ui/element-plus</module>
<module>erupt-extra/erupt-job</module><!--任务调度-->
<module>erupt-extra/erupt-generator</module><!--代码生成-->
<module>erupt-extra/erupt-monitor</module><!--服务监控-->
<module>erupt-extra/erupt-magic-api</module><!-- magic-api 接口配置 -->
<module>erupt-extra/erupt-flow</module><!--流程服务-->
<!-- erupt cloud -->
<module>erupt-cloud/erupt-cloud-common</module>
<module>erupt-cloud/erupt-cloud-server</module> <!-- 主服务节点 -->
<module>erupt-cloud/erupt-cloud-node</module> <!-- 云node节点 -->
<module>erupt-cloud/erupt-cloud-node-jpa</module> <!-- 云node节点(聚合jpa) -->
<!--使用H2作为数据源的示例项目-->
<module>erupt-sample</module>
</modules>
<dependencyManagement>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>${spring.boot.version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<dependencies>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<optional>true</optional>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
<encoding>utf-8</encoding>
<verbose>true</verbose>
<fork>true</fork>
<compilerArgs>
<compilerArg>-parameters</compilerArg>
</compilerArgs>
<!--<executable>/Library/Java/JavaVirtualMachines/jdk1.8.0_231.jdk/Contents/Home/bin/javac</executable>-->
</configuration>
</plugin>
<!-- 一键更新子模块版本号 plugins -> versions -> version:set -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.7</version>
</plugin>
<!--SCM插件-->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-scm-plugin</artifactId>
<version>1.8.1</version>
</plugin>
</plugins>
</build>
<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>
<scm>
<tag>master</tag>
<url>git@github.com:erupts/erupt.git</url>
<connection>scm:git:git@github.com:erupts/erupt.git</connection>
<developerConnection>scm:git:git@github.com:erupts/erupt.git</developerConnection>
</scm>
<developers>
<developer>
<name>yuepeng</name>
<email>erupts@126.com</email>
<roles>
<role>owner</role>
</roles>
<timezone>+8</timezone>
</developer>
</developers>
<profiles>
<profile>
<id>disable-javadoc-doclint</id>
<activation>
<jdk>[1.8,)</jdk>
</activation>
<!-- java8版本导致javadoc打包编译失败时候,添加-->
<properties>
<javadoc.opts>-Xdoclint:none</javadoc.opts>
<javadocExecutable>${java.home}/../bin/javadoc</javadocExecutable>
</properties>
</profile>
<profile>
<id>release</id>
<dependencies>
<dependency>
<groupId>javax.interceptor</groupId>
<artifactId>javax.interceptor-api</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<id>attach-sources</id>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.0.0</version>
<configuration>
<additionalOptions>
<additionalOption>-Xdoclint:none</additionalOption>
</additionalOptions>
</configuration>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- GPG -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
<distributionManagement>
<snapshotRepository>
<id>erupt</id>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>erupt</id>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
</profiles>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化