use scm-ui as overlay war, if livereload property was not set

This commit is contained in:
Sebastian Sdorra
2018-09-06 14:44:01 +02:00
parent 51529f3186
commit 9c80da5838
2 changed files with 37 additions and 12 deletions

View File

@@ -515,7 +515,7 @@
</systemProperty>
<systemProperty>
<name>sonia.scm.ui.proxy</name>
<value>http://localhost:3000</value>
<value>${livereload.proxy}</value>
</systemProperty>
</systemProperties>
<webApp>
@@ -546,7 +546,42 @@
</properties>
<profiles>
<profile>
<id>livereload</id>
<activation>
<property>
<name>livereload</name>
</property>
</activation>
<properties>
<livereload.proxy>http://localhost:3000</livereload.proxy>
</properties>
</profile>
<profile>
<id>ui-overlay</id>
<activation>
<property>
<name>!livereload</name>
</property>
</activation>
<dependencies>
<dependency>
<groupId>sonia.scm</groupId>
<artifactId>scm-ui</artifactId>
<version>2.0.0-SNAPSHOT</version>
<type>war</type>
</dependency>
</dependencies>
</profile>
<profile>
<id>release</id>

View File

@@ -1,10 +0,0 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Title</title>
</head>
<body>
</body>
</html>