2024-08-21 12:20:40 +03:00
|
|
|
<?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>
|
|
|
|
|
<parent>
|
|
|
|
|
<groupId>ru.micord.ervu</groupId>
|
|
|
|
|
<artifactId>dashboard</artifactId>
|
2024-09-24 11:51:22 +03:00
|
|
|
<version>1.5.0-SNAPSHOT</version>
|
2024-08-21 12:20:40 +03:00
|
|
|
</parent>
|
|
|
|
|
|
|
|
|
|
<groupId>ru.micord.ervu.dashboard</groupId>
|
|
|
|
|
<artifactId>distribution</artifactId>
|
|
|
|
|
<packaging>ear</packaging>
|
|
|
|
|
|
|
|
|
|
<properties>
|
|
|
|
|
<backendContext>/dashboard</backendContext>
|
|
|
|
|
</properties>
|
|
|
|
|
|
|
|
|
|
<dependencies>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ru.micord.ervu.dashboard</groupId>
|
|
|
|
|
<artifactId>backend</artifactId>
|
|
|
|
|
<type>war</type>
|
|
|
|
|
</dependency>
|
|
|
|
|
<dependency>
|
|
|
|
|
<groupId>ru.micord.ervu.dashboard</groupId>
|
|
|
|
|
<artifactId>frontend</artifactId>
|
|
|
|
|
<type>war</type>
|
|
|
|
|
</dependency>
|
|
|
|
|
</dependencies>
|
|
|
|
|
|
|
|
|
|
<build>
|
|
|
|
|
<plugins>
|
|
|
|
|
<plugin>
|
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
|
<artifactId>maven-ear-plugin</artifactId>
|
|
|
|
|
<version>3.2.0</version>
|
|
|
|
|
<configuration>
|
|
|
|
|
<modules>
|
|
|
|
|
<webModule>
|
|
|
|
|
<groupId>ru.micord.ervu.dashboard</groupId>
|
|
|
|
|
<artifactId>frontend</artifactId>
|
|
|
|
|
<contextRoot>/</contextRoot>
|
|
|
|
|
<bundleFileName>frontend.war</bundleFileName>
|
|
|
|
|
</webModule>
|
|
|
|
|
<webModule>
|
|
|
|
|
<groupId>ru.micord.ervu.dashboard</groupId>
|
|
|
|
|
<artifactId>backend</artifactId>
|
|
|
|
|
<contextRoot>${backendContext}</contextRoot>
|
|
|
|
|
<bundleFileName>dashboard.war</bundleFileName>
|
|
|
|
|
</webModule>
|
|
|
|
|
</modules>
|
|
|
|
|
</configuration>
|
|
|
|
|
</plugin>
|
|
|
|
|
</plugins>
|
|
|
|
|
<finalName>${project.parent.artifactId}</finalName>
|
|
|
|
|
</build>
|
|
|
|
|
|
|
|
|
|
<profiles>
|
|
|
|
|
<profile>
|
|
|
|
|
<id>enable-version-in-url</id>
|
|
|
|
|
<properties>
|
|
|
|
|
<backendContext>/dashboard-${project.version}</backendContext>
|
|
|
|
|
</properties>
|
|
|
|
|
</profile>
|
|
|
|
|
</profiles>
|
|
|
|
|
</project>
|