-
-
Notifications
You must be signed in to change notification settings - Fork 479
/
pom.xml
233 lines (218 loc) · 9.22 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
<?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.15</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.18</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>[email protected]:erupts/erupt.git</url>
<connection>scm:git:[email protected]:erupts/erupt.git</connection>
<developerConnection>scm:git:[email protected]:erupts/erupt.git</developerConnection>
</scm>
<developers>
<developer>
<name>YuePeng</name>
<email>[email protected]</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>