You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
229 lines
8.7 KiB
229 lines
8.7 KiB
<?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>org.springblade</groupId> |
|
<artifactId>BladeX-Biz</artifactId> |
|
<version>3.1.1.RELEASE</version> |
|
<packaging>pom</packaging> |
|
|
|
<properties> |
|
<bladex.project.version>3.1.1.RELEASE</bladex.project.version> |
|
|
|
<java.version>1.8</java.version> |
|
<maven.plugin.version>3.8.1</maven.plugin.version> |
|
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> |
|
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> |
|
|
|
<flowable.version>6.4.2</flowable.version> |
|
<dubbo.version>2.7.8</dubbo.version> |
|
|
|
<!-- Docker仓库服务配置 --> |
|
<docker.registry.url>192.168.0.188</docker.registry.url> |
|
<docker.username>admin</docker.username> |
|
<docker.password>admin12345</docker.password> |
|
<docker.namespace>blade</docker.namespace> |
|
<docker.fabric.skip>false</docker.fabric.skip> |
|
<docker.fabric.version>0.42.0</docker.fabric.version> |
|
</properties> |
|
|
|
<modules> |
|
<module>blade-biz-common</module> |
|
<module>blade-example</module> |
|
<module>blade-example-api</module> |
|
<module>blade-gateway</module> |
|
<module>blade-ops</module> |
|
<module>blade-service</module> |
|
<module>blade-service-api</module> |
|
</modules> |
|
|
|
<dependencyManagement> |
|
<dependencies> |
|
<dependency> |
|
<groupId>org.springblade.platform</groupId> |
|
<artifactId>blade-bom</artifactId> |
|
<version>${bladex.project.version}</version> |
|
<type>pom</type> |
|
<scope>import</scope> |
|
</dependency> |
|
<dependency> |
|
<groupId>org.springblade</groupId> |
|
<artifactId>blade-biz-common</artifactId> |
|
<version>${bladex.project.version}</version> |
|
</dependency> |
|
</dependencies> |
|
</dependencyManagement> |
|
|
|
<dependencies> |
|
<!-- Oracle --> |
|
<!--<dependency> |
|
<groupId>com.oracle</groupId> |
|
<artifactId>ojdbc7</artifactId> |
|
</dependency>--> |
|
<!-- PostgreSql --> |
|
<!--<dependency> |
|
<groupId>org.postgresql</groupId> |
|
<artifactId>postgresql</artifactId> |
|
</dependency>--> |
|
<!-- SqlServer --> |
|
<!--<dependency> |
|
<groupId>com.microsoft.sqlserver</groupId> |
|
<artifactId>mssql-jdbc</artifactId> |
|
</dependency>--> |
|
<!-- DaMeng --> |
|
<!--<dependency> |
|
<groupId>com.dameng</groupId> |
|
<artifactId>DmJdbcDriver18</artifactId> |
|
</dependency>--> |
|
<!--YashanDB--> |
|
<!--<dependency> |
|
<groupId>com.yashandb.jdbc</groupId> |
|
<artifactId>yasdb-jdbc</artifactId> |
|
</dependency>--> |
|
<!--lombok--> |
|
<dependency> |
|
<groupId>org.projectlombok</groupId> |
|
<artifactId>lombok</artifactId> |
|
<scope>provided</scope> |
|
</dependency> |
|
</dependencies> |
|
|
|
<build> |
|
<finalName>${project.name}</finalName> |
|
<resources> |
|
<resource> |
|
<directory>src/main/resources</directory> |
|
</resource> |
|
<resource> |
|
<directory>src/main/java</directory> |
|
<includes> |
|
<include>**/*.xml</include> |
|
</includes> |
|
</resource> |
|
</resources> |
|
<pluginManagement> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
<version>2.7.10</version> |
|
<configuration> |
|
<fork>true</fork> |
|
<finalName>${project.build.finalName}</finalName> |
|
</configuration> |
|
<executions> |
|
<execution> |
|
<goals> |
|
<goal>repackage</goal> |
|
</goals> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
<plugin> |
|
<groupId>io.fabric8</groupId> |
|
<artifactId>docker-maven-plugin</artifactId> |
|
<version>${docker.fabric.version}</version> |
|
<configuration> |
|
<skip>true</skip> |
|
<authConfig> |
|
<username>${docker.username}</username> |
|
<password>${docker.password}</password> |
|
</authConfig> |
|
<registry>${docker.registry.url}</registry> |
|
<images> |
|
<image> |
|
<name>${docker.namespace}/${project.build.finalName}:${project.version}</name> |
|
<alias>${project.name}</alias> |
|
<build> |
|
<dockerFile>${project.basedir}/Dockerfile</dockerFile> |
|
</build> |
|
</image> |
|
</images> |
|
<buildArgs> |
|
<JAR_FILE>${basedir}/target/${project.build.finalName}.jar</JAR_FILE> |
|
</buildArgs> |
|
</configuration> |
|
</plugin> |
|
<plugin> |
|
<groupId>org.apache.maven.plugins</groupId> |
|
<artifactId>maven-antrun-plugin</artifactId> |
|
<executions> |
|
<execution> |
|
<phase>package</phase> |
|
<goals> |
|
<goal>run</goal> |
|
</goals> |
|
<configuration> |
|
<tasks> |
|
<!--suppress UnresolvedMavenProperty --> |
|
<copy overwrite="true" |
|
tofile="${session.executionRootDirectory}/target/${project.artifactId}.jar" |
|
file="${project.build.directory}/${project.artifactId}.jar" /> |
|
</tasks> |
|
</configuration> |
|
</execution> |
|
</executions> |
|
</plugin> |
|
</plugins> |
|
</pluginManagement> |
|
<plugins> |
|
<plugin> |
|
<groupId>org.springframework.boot</groupId> |
|
<artifactId>spring-boot-maven-plugin</artifactId> |
|
</plugin> |
|
<plugin> |
|
<artifactId>maven-compiler-plugin</artifactId> |
|
<version>${maven.plugin.version}</version> |
|
<configuration> |
|
<source>${java.version}</source> |
|
<target>${java.version}</target> |
|
<encoding>UTF-8</encoding> |
|
<compilerArgs> |
|
<arg>-parameters</arg> |
|
</compilerArgs> |
|
</configuration> |
|
</plugin> |
|
</plugins> |
|
</build> |
|
|
|
<repositories> |
|
<repository> |
|
<id>aliyun-repos</id> |
|
<name>Aliyun Public Repository</name> |
|
<url>https://maven.aliyun.com/repository/public</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</repository> |
|
<repository> |
|
<id>bladex</id> |
|
<name>BladeX Release Repository</name> |
|
<url>https://center.javablade.com/api/packages/blade/maven</url> |
|
</repository> |
|
</repositories> |
|
<pluginRepositories> |
|
<pluginRepository> |
|
<id>aliyun-plugin</id> |
|
<name>Aliyun Public Plugin</name> |
|
<url>https://maven.aliyun.com/repository/public</url> |
|
<snapshots> |
|
<enabled>false</enabled> |
|
</snapshots> |
|
</pluginRepository> |
|
</pluginRepositories> |
|
|
|
<distributionManagement> |
|
<repository> |
|
<id>bladex</id> |
|
<name>BladeX Release Repository</name> |
|
<url>https://center.javablade.com/api/packages/blade/maven</url> |
|
</repository> |
|
<snapshotRepository> |
|
<id>bladex</id> |
|
<name>BladeX Snapshot Repository</name> |
|
<url>https://center.javablade.com/api/packages/blade/maven</url> |
|
</snapshotRepository> |
|
</distributionManagement> |
|
|
|
</project>
|
|
|