1 Star 0 Fork 45

沉重的云/xl-lighthouse

forked from xl-xueling/xl-lighthouse 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
pom.xml 13.70 KB
一键复制 编辑 原始数据 按行查看 历史
xl-xueling 提交于 2024-10-21 17:12 . feat:alarm module development.
<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.dtstep.lighthouse</groupId>
<artifactId>lighthouse-base</artifactId>
<version>${revision}</version>
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.7.18</version>
</parent>
<packaging>pom</packaging>
<name>XL-LightHouse</name>
<url>http://maven.apache.org</url>
<properties>
<revision>2.2.9</revision>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<PermGen>64m</PermGen>
<MaxPermGen>512m</MaxPermGen>
<scala.version>2.12.17</scala.version>
<spark.version>3.3.2</spark.version>
<hbase.version>2.5.3</hbase.version>
<kafka.version>2.8.2</kafka.version>
<hadoop.version>3.3.4</hadoop.version>
<zookeeper.version>3.7.1</zookeeper.version>
<ice.version>3.7.10</ice.version>
<redisson.version>3.26.1</redisson.version>
<netty.version>4.1.84.Final</netty.version>
<jedis.version>5.1.2</jedis.version>
<log4j.version>2.20.0</log4j.version>
<slf4j.version>2.0.6</slf4j.version>
<snappy.version>1.1.7.3</snappy.version>
<RoaringBitmap.version>0.9.25</RoaringBitmap.version>
<hbase.thirdparty.version>4.1.3</hbase.thirdparty.version>
<commons.lang3.version>3.12.0</commons.lang3.version>
<scope>compile</scope>
<frontend.maven.plugin.version>1.15.0</frontend.maven.plugin.version>
<!--NPM镜像库地址-->
<npm.registry.url>https://registry.npmmirror.com</npm.registry.url>
</properties>
<!-- 默认打包 -->
<profiles>
<profile>
<id>default</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<modules>
<module>lighthouse-build-configuration</module>
<module>lighthouse-common</module>
<module>lighthouse-client</module>
<module>lighthouse-shaded-client</module>
<module>lighthouse-core</module>
<module>lighthouse-ice</module>
<module>lighthouse-tasks</module>
<module>lighthouse-standalone</module>
<module>lighthouse-test</module>
<module>lighthouse-insights</module>
<module>lighthouse-assembly</module>
<module>lighthouse-upgrade</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
</profile>
<profile>
<id>release</id>
<modules>
<module>lighthouse-build-configuration</module>
<module>lighthouse-common</module>
<module>lighthouse-client</module>
<module>lighthouse-shaded-client</module>
<module>lighthouse-core</module>
<module>lighthouse-ice</module>
<module>lighthouse-tasks</module>
<module>lighthouse-standalone</module>
<module>lighthouse-test</module>
<module>lighthouse-insights</module>
<module>lighthouse-assembly</module>
<module>lighthouse-upgrade</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>3.0.0-M3</version>
<executions>
<execution>
<id>enforce-java-version</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireJavaVersion>
<version>[9,12)</version>
<message>
[ERROR] == 错误:仅允许使用 JDK 9 或 11 进行编译!当前Maven编译所使用的 JDK 信息为: ${java.vendor} Version: ${java.runtime.version}!
[ERROR] == Error: Only compilation with JDK 9 or 11 is allowed! The current JDK information used for Maven compilation is: : ${java.vendor} Version: ${java.runtime.version}!
</message>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-clean-plugin</artifactId>
<version>3.1.0</version>
<configuration>
<skip>false</skip>
<filesets>
<fileset>
<directory>${project.basedir}/light-webapps/build</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
<fileset>
<directory>${project.basedir}/light-webapps/node</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
<fileset>
<directory>${project.basedir}/light-webapps/node_modules</directory>
<includes>
<include>**/*</include>
</includes>
</fileset>
<fileset>
<directory>${project.basedir}/light-webapps</directory>
<includes>
<include>*lock*</include>
</includes>
</fileset>
</filesets>
</configuration>
</plugin>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>${frontend.maven.plugin.version}</version>
<configuration>
<workingDirectory>${project.basedir}/light-webapps</workingDirectory>
<installDirectory>${project.basedir}/light-webapps</installDirectory>
</configuration>
<executions>
<execution>
<id>install node and yarn</id>
<goals>
<goal>install-node-and-yarn</goal>
</goals>
<phase>validate</phase>
<configuration>
<nodeVersion>v18.20.2</nodeVersion>
<yarnVersion>v1.22.22</yarnVersion>
<!--使用镜像下载地址,如果出现访问404,可以将下面两行地址注释掉,使用Yarn和Node的默认地址进行下载 -->
<nodeDownloadRoot>https://npmmirror.com/mirrors/node/</nodeDownloadRoot>
<yarnDownloadRoot>https://ldp-soft-1300542249.cos.ap-nanjing.myqcloud.com/mvn/yarn/</yarnDownloadRoot>
</configuration>
</execution>
<execution>
<id>yarn install</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>validate</phase>
<configuration>
<arguments>install --registry ${npm.registry.url}</arguments>
</configuration>
</execution>
<execution>
<id>yarn run build</id>
<goals>
<goal>yarn</goal>
</goals>
<phase>validate</phase>
<configuration>
<arguments>run build</arguments>
</configuration>
</execution>
</executions>
<inherited>false</inherited>
</plugin>
</plugins>
</build>
</profile>
<!-- 发布jar包到中央仓库 -->
<profile>
<id>PublishClientToRepository</id>
<properties>
<gpg.executable>/usr/local/bin/gpg</gpg.executable>
</properties>
<modules>
<module>lighthouse-build-configuration</module>
<module>lighthouse-common</module>
<module>lighthouse-client</module>
<module>lighthouse-shaded-client</module>
</modules>
<distributionManagement>
<snapshotRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots/</url>
</snapshotRepository>
<repository>
<id>sonatype-nexus-staging</id>
<name>Nexus Release Repository</name>
<url>https://oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>
<build>
<plugins>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.7</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<phase>package</phase>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>1.6</version>
<executions>
<execution>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>1.8</source>
<target>1.8</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.1.1</version>
<configuration>
<javadocExecutable>/Library/Java/JavaVirtualMachines/jdk1.8.0_251.jdk/Contents/Home/bin/javadoc</javadocExecutable>
<additionalJOptions>
<additionalJOption>-Xdoclint:none</additionalJOption>
</additionalJOptions>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<build>
<plugins>
<!--替换revision变量-->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>flatten-maven-plugin</artifactId>
<version>1.3.0</version>
<configuration>
<embedBuildProfileDependencies>true</embedBuildProfileDependencies>
<updatePomFile>true</updatePomFile>
<flattenMode>oss</flattenMode>
</configuration>
<executions>
<execution>
<id>flatten</id>
<goals>
<goal>flatten</goal>
</goals>
<phase>process-resources</phase>
</execution>
<!-- ensure proper cleanup -->
<execution>
<id>flatten.clean</id>
<goals>
<goal>clean</goal>
</goals>
<phase>clean</phase>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>2.18.1</version>
<configuration>
<skipTests>true</skipTests>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.0</version>
<configuration>
<source>11</source>
<target>11</target>
<encoding>UTF-8</encoding>
<forceJavacCompilerUse>true</forceJavacCompilerUse>
</configuration>
</plugin>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.3.3</version>
</plugin>
</plugins>
</build>
</project>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Java
1
https://gitee.com/mytest19751225/xl-lighthouse.git
[email protected]:mytest19751225/xl-lighthouse.git
mytest19751225
xl-lighthouse
xl-lighthouse
master

搜索帮助