Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Merge branch 'master' into mazz/integration-assembly
Browse files Browse the repository at this point in the history
  • Loading branch information
jmazzitelli committed Feb 18, 2015
2 parents d8feaa9 + a85e936 commit 033ac3f
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 10 deletions.
23 changes: 15 additions & 8 deletions ui/console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@
<name>hawkular-console</name>
<packaging>war</packaging>

<properties>
<hawkular.console.context>/hawkular-console</hawkular.console.context>
</properties>

<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -120,6 +124,14 @@
<artifactId>maven-war-plugin</artifactId>
<configuration>
<webResources>
<resource>
<directory>src/main/webapp</directory>
<includes>
<include>index.html</include>
<include>WEB-INF/*</include>
</includes>
<filtering>true</filtering>
</resource>
<resource>
<directory>target</directory>
<includes>
Expand All @@ -138,9 +150,9 @@
<profiles>
<profile>
<id>dev</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<hawkular.console.context>/</hawkular.console.context>
</properties>
<build>
<plugins>
<plugin>
Expand All @@ -163,10 +175,5 @@
</plugins>
</build>
</profile>
<!-- This profile doesn't do anything, other than cause the above 'development' profile not to be activated when
we are performing a release -->
<profile>
<id>release</id>
</profile>
</profiles>
</project>
2 changes: 1 addition & 1 deletion ui/console/src/main/webapp/WEB-INF/jboss-web.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,5 @@
-->

<jboss-web>
<context-root>hawkular-console</context-root>
<context-root>${hawkular.console.context}</context-root>
</jboss-web>
2 changes: 1 addition & 1 deletion ui/console/src/main/webapp/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

<head>
<title>hawkular-console</title>
<base href='/'></base>
<base href='${hawkular.console.context}'></base>
<meta charset="UTF8">


Expand Down

0 comments on commit 033ac3f

Please sign in to comment.