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 HWKINVENT-26
Browse files Browse the repository at this point in the history
  • Loading branch information
jkremser committed Apr 13, 2015
2 parents 7eb8769 + 947e71d commit 7b12632
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 61 deletions.
130 changes: 72 additions & 58 deletions ui/console/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -80,64 +80,6 @@
</executions>
</plugin>

<!-- Download node.js and related modules to install 3rd party frontend libraries -->
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.20</version>

<configuration>
<workingDirectory>target/gulp-build/</workingDirectory>
</configuration>

<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<nodeVersion>v0.10.33</nodeVersion>
<npmVersion>2.1.10</npmVersion>
</configuration>
</execution>

<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>

<execution>
<id>bower install</id>
<goals>
<goal>bower</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>

<execution>
<id>gulp build</id>
<goals>
<goal>gulp</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>build</arguments>
</configuration>
</execution>
</executions>
</plugin>

<plugin>
<artifactId>maven-war-plugin</artifactId>
<configuration>
Expand Down Expand Up @@ -201,6 +143,78 @@
</build>
</profile>

<!-- Download node.js and related modules to install 3rd party frontend libraries -->
<profile>
<id>default-build</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<hawkular.console.context>/</hawkular.console.context>
<hawkular.console.index.html.base.href>/</hawkular.console.index.html.base.href>
</properties>
<build>
<plugins>
<plugin>
<groupId>com.github.eirslett</groupId>
<artifactId>frontend-maven-plugin</artifactId>
<version>0.0.20</version>

<configuration>
<workingDirectory>target/gulp-build/</workingDirectory>
</configuration>

<executions>
<execution>
<id>install node and npm</id>
<goals>
<goal>install-node-and-npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<nodeVersion>v0.10.33</nodeVersion>
<npmVersion>2.1.10</npmVersion>
</configuration>
</execution>

<execution>
<id>npm install</id>
<goals>
<goal>npm</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>

<execution>
<id>bower install</id>
<goals>
<goal>bower</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>install</arguments>
</configuration>
</execution>

<execution>
<id>gulp build</id>
<goals>
<goal>gulp</goal>
</goals>
<phase>prepare-package</phase>
<configuration>
<arguments>build</arguments>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</profile>

<profile>
<id>link</id>
<properties>
Expand Down
4 changes: 2 additions & 2 deletions ui/console/src/main/scripts/bower.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hawkular-console",
"version": "0.1.4",
"version": "0.1.5",
"private": true,
"keywords": [
"hawtio hawkular console"
Expand All @@ -17,7 +17,7 @@
"hawtio-utilities": "2.0.21",
"hawtio-template-cache": "2.0.2",
"patternfly": "1.1.3",
"hawkular-ui-components": "^0.2.4"
"hawkular-ui-components": "^0.3.1"
},
"devDependencies": {
"hawtio-core-dts": "2.0.17"
Expand Down
2 changes: 1 addition & 1 deletion ui/console/src/main/scripts/plugins/includes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
/// limitations under the License.
///

/// <reference path="../libs/hawtio-utilities/defs.d.ts"/>
// Console code placeholder

0 comments on commit 7b12632

Please sign in to comment.