Let's start with the eclipse configuration.
Download eclipse neon.
In workspace preferences check "Refresh using native hooks or pooling"
Open Eclipse Marketplace and find jbosstools
Let's configure maven to build angular appliaction
Create pom.xml in client folder
Add new module to main pom.xml
Run maven to build project
We need only JBoss AS, Wildfly & EAP Server Tools
Create New Maven Project
Add new remote archetype catalog
Select javaee-bce-archetype
Specify Archetype parameters
Add some sample data
Add load script to persistence.xml
Add new WildFly server to eclipse and run the application
Create file .ember-cli
In .embel-cli set path where npm will copy transpiled JavaScript files.
run npm install command to build application
Run ng serve command
Application is available at url http://localhost:4200/ but not at http://localhost:8080/workshops/index.html so let's fix this. Open index.html file in vs code change base tag and remove ember-cli-live-reload.js
Edit app.component.ts file
This archetype will create simple JEE application with sample entity and REST endpoint.
In pom.xml add maven-war-plugin and set path to directory where npm will copy javascript files
In META-INF create file load-script.sql
Add load script to persistence.xml
In .embel-cli set path where npm will copy transpiled JavaScript files.
e:\ws\ng2\ng2-pom\client>npm install
> client@0.0.0 postinstall e:\ws\ng2\ng2-pom\client
> typings install
├── es6-shim (ambient)
├── angular-protractor (ambient dev)
├── jasmine (ambient dev)
└── selenium-webdriver (ambient dev)
balanced-match@0.4.1 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync\node_modules\matcher-collection\node_modules\minimatch\node_modules\brace-expansion\node_modules\balanced-match -> node_modules\balanced-match
concat-map@0.0.1 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync\node_modules\matcher-collection\node_modules\minimatch\node_modules\brace-expansion\node_modules\concat-map -> node_modules\concat-map
brace-expansion@1.1.5 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync\node_modules\matcher-collection\node_modules\minimatch\node_modules\brace-expansion -> node_modules\brace-expansion
minimatch@3.0.2 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync\node_modules\matcher-collection\node_modules\minimatch -> node_modules\minimatch
matcher-collection@1.0.2 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync\node_modules\matcher-collection -> node_modules\matcher-collection
object-assign@4.1.0 node_modules\angular-cli\node_modules\ember-cli\node_modules\inquirer\node_modules\figures\node_modules\object-assign -> node_modules\object-assign
walk-sync@0.2.6 node_modules\angular-cli\node_modules\ember-cli\node_modules\tree-sync\node_modules\walk-sync -> node_modules\walk-sync
client@0.0.0 e:\ws\ng2\ng2-pom\client
+-- angular-cli@1.0.0-beta.8
| +-- ember-cli@2.5.0
| | +-- exists-sync@0.0.3
| | `-- through@2.3.8
| +-- typescript@1.8.10
| `-- typings@0.8.1
| +-- any-promise@1.3.0
| +-- archy@1.0.0
| +-- bluebird@3.4.1
| +-- columnify@1.5.4
| | +-- strip-ansi@3.0.1
| | | `-- ansi-regex@2.0.0
| | `-- wcwidth@1.0.1
| | `-- defaults@1.0.3
| | `-- clone@1.0.2
| +-- listify@1.0.0
| +-- minimist@1.2.0
| +-- typings-core@0.3.1
| | +-- array-uniq@1.0.3
| | +-- configstore@2.0.0
| | | +-- dot-prop@2.4.0
| | | | `-- is-obj@1.0.1
| | | +-- os-tmpdir@1.0.1
| | | +-- osenv@0.1.3
| | | | `-- os-homedir@1.0.1
| | | +-- uuid@2.0.2
| | | +-- write-file-atomic@1.1.4
| | | | +-- imurmurhash@0.1.4
| | | | `-- slide@1.1.6
| | | `-- xdg-basedir@2.0.0
| | | `-- os-homedir@1.0.1
| | +-- debug@2.2.0
| | | `-- ms@0.7.1
| | +-- detect-indent@4.0.0
| | | `-- repeating@2.0.1
| | | `-- is-finite@1.0.1
| | | `-- number-is-nan@1.0.0
| | +-- graceful-fs@4.1.4
| | +-- has@1.0.1
| | | `-- function-bind@1.1.0
| | +-- invariant@2.2.1
| | | `-- loose-envify@1.2.0
| | | `-- js-tokens@1.0.3
| | +-- is-absolute@0.2.5
| | | +-- is-relative@0.2.1
| | | | `-- is-unc-path@0.1.1
| | | | `-- unc-path-regex@0.1.2
| | | `-- is-windows@0.1.1
| | +-- lockfile@1.0.1
| | +-- make-error-cause@1.1.1
| | | `-- make-error@1.1.1
| | +-- mkdirp@0.5.1
| | | `-- minimist@0.0.8
| | +-- object.pick@1.1.2
| | | `-- isobject@2.1.0
| | | `-- isarray@1.0.0
| | +-- parse-json@2.2.0
| | | `-- error-ex@1.3.0
| | | `-- is-arrayish@0.2.1
| | +-- popsicle@5.0.1
| | | +-- arrify@1.0.1
| | | +-- concat-stream@1.5.1
| | | | +-- inherits@2.0.1
| | | | +-- readable-stream@2.0.6
| | | | | +-- core-util-is@1.0.2
| | | | | +-- isarray@1.0.0
| | | | | +-- process-nextick-args@1.0.7
| | | | | +-- string_decoder@0.10.31
| | | | | `-- util-deprecate@1.0.2
| | | | `-- typedarray@0.0.6
| | | +-- form-data@0.2.0
| | | | +-- async@0.9.2
| | | | +-- combined-stream@0.0.7
| | | | | `-- delayed-stream@0.0.5
| | | | `-- mime-types@2.0.14
| | | | `-- mime-db@1.12.0
| | | +-- methods@1.1.2
| | | `-- tough-cookie@2.2.2
| | +-- popsicle-proxy-agent@1.0.0
| | | +-- http-proxy-agent@1.0.0
| | | | +-- agent-base@2.0.1
| | | | | `-- semver@5.0.3
| | | | `-- extend@3.0.0
| | | `-- https-proxy-agent@1.0.0
| | | +-- agent-base@2.0.1
| | | | `-- semver@5.0.3
| | | `-- extend@3.0.0
| | +-- popsicle-retry@2.0.0
| | +-- popsicle-status@1.0.2
| | +-- promise-finally@2.2.1
| | +-- rc@1.1.6
| | | +-- deep-extend@0.4.1
| | | +-- ini@1.3.4
| | | `-- strip-json-comments@1.0.4
| | +-- rimraf@2.5.2
| | +-- sort-keys@1.1.2
| | | `-- is-plain-obj@1.1.0
| | +-- string-template@1.0.0
| | +-- strip-bom@2.0.0
| | | `-- is-utf8@0.2.1
| | +-- thenify@3.2.0
| | +-- throat@2.0.2
| | +-- touch@1.0.0
| | | `-- nopt@1.0.10
| | | `-- abbrev@1.0.9
| | `-- zip-object@0.1.0
| +-- update-notifier@0.6.3
| | +-- boxen@0.3.1
| | | +-- filled-array@1.1.0
| | | +-- repeating@2.0.1
| | | | `-- is-finite@1.0.1
| | | | `-- number-is-nan@1.0.0
| | | +-- string-width@1.0.1
| | | | +-- code-point-at@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | +-- is-fullwidth-code-point@1.0.0
| | | | | `-- number-is-nan@1.0.0
| | | | `-- strip-ansi@3.0.1
| | | | `-- ansi-regex@2.0.0
| | | `-- widest-line@1.0.0
| | +-- configstore@2.0.0
| | | +-- dot-prop@2.4.0
| | | | `-- is-obj@1.0.1
| | | +-- graceful-fs@4.1.4
| | | +-- mkdirp@0.5.1
| | | | `-- minimist@0.0.8
| | | +-- os-tmpdir@1.0.1
| | | +-- osenv@0.1.3
| | | | `-- os-homedir@1.0.1
| | | +-- uuid@2.0.2
| | | +-- write-file-atomic@1.1.4
| | | | +-- imurmurhash@0.1.4
| | | | `-- slide@1.1.6
| | | `-- xdg-basedir@2.0.0
| | | `-- os-homedir@1.0.1
| | +-- is-npm@1.0.0
| | +-- latest-version@2.0.0
| | | `-- package-json@2.3.2
| | | +-- got@5.6.0
| | | | +-- create-error-class@3.0.2
| | | | | `-- capture-stack-trace@1.0.0
| | | | +-- duplexer2@0.1.4
| | | | +-- is-plain-obj@1.1.0
| | | | +-- is-redirect@1.0.0
| | | | +-- is-retry-allowed@1.0.0
| | | | +-- is-stream@1.1.0
| | | | +-- lowercase-keys@1.0.0
| | | | +-- node-status-codes@1.0.0
| | | | +-- parse-json@2.2.0
| | | | | `-- error-ex@1.3.0
| | | | | `-- is-arrayish@0.2.1
| | | | +-- pinkie-promise@2.0.1
| | | | | `-- pinkie@2.0.4
| | | | +-- read-all-stream@3.1.0
| | | | +-- readable-stream@2.1.4
| | | | | +-- buffer-shims@1.0.0
| | | | | +-- core-util-is@1.0.2
| | | | | +-- inherits@2.0.1
| | | | | +-- isarray@1.0.0
| | | | | +-- process-nextick-args@1.0.7
| | | | | +-- string_decoder@0.10.31
| | | | | `-- util-deprecate@1.0.2
| | | | +-- timed-out@2.0.0
| | | | +-- unzip-response@1.0.0
| | | | `-- url-parse-lax@1.0.0
| | | | `-- prepend-http@1.0.4
| | | +-- rc@1.1.6
| | | | +-- deep-extend@0.4.1
| | | | +-- ini@1.3.4
| | | | `-- strip-json-comments@1.0.4
| | | +-- registry-url@3.1.0
| | | `-- semver@5.1.0
| | `-- semver-diff@2.1.0
| | `-- semver@5.1.0
| +-- wordwrap@1.0.0
| `-- xtend@4.0.1
`-- protractor@3.3.0
`-- request@2.67.0
`-- http-signature@1.1.1
`-- sshpk@1.8.3
+-- ecc-jsbn@0.1.1
+-- jodid25519@1.0.2
+-- jsbn@0.1.0
`-- tweetnacl@0.13.3
npm WARN optional Skipping failed optional dependency /karma/chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.12
e:\ws\ng2\ng2-pom\client>ng serve
(node:9580) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
Livereload server on http://localhost:49152
Serving on http://localhost:4200/
Application is available at url http://localhost:4200/ but not at http://localhost:8080/workshops/index.html so let's fix this. Open index.html file in vs code change base tag and remove ember-cli-live-reload.js
Edit app.component.html file
{{title}}:
<table border="1">
<tr>
<th>Id</th>
<th>Price</th>
</tr>
<tr *ngFor="let item of items">
<td>{{item['confirmation-id']}}</td>
<td>{{item.price}}</td>
</tr>
</table>
import { Component, OnInit } from '@angular/core';
import { HTTP_PROVIDERS, Response, Http } from '@angular/http';
import { Observable } from 'rxjs/Observable';
import 'rxjs/add/operator/map';
@Component({
moduleId: module.id,
selector: 'app-root',
templateUrl: 'app.component.html',
styleUrls: ['app.component.css'],
providers: [HTTP_PROVIDERS]
})
export class AppComponent implements OnInit {
title = 'Prices';
items;
constructor (private http: Http) {}
ngOnInit() {
this.getItems();
}
getItems() {
this.http.get('resources/registrations/')
.map(response => {
return response.json();
})
.subscribe(items => this.items = items)
;
}
private extractData(res: Response) {
let body = res.json();
return body.data || { };
}
private handleError (error: any) {
// In a real world app, we might use a remote logging infrastructure
// We'd also dig deeper into the error to get a better message
let errMsg = (error.message) ? error.message :
error.status ? `${error.status} - ${error.statusText}` : 'Server error';
console.error(errMsg); // log to console instead
return Observable.throw(errMsg);
}
}
Final result should look like thisLet's configure maven to build angular appliaction
Create pom.xml in client folder
<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.jdn</groupId>
<artifactId>client</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.1.1</version>
<executions>
<execution>
<id>some-execution</id>
<phase>compile</phase>
<goals>
<goal>exec</goal>
</goals>
</execution>
</executions>
<configuration>
<executable>ng</executable>
<arguments>
<argument>build</argument>
<argument>-prod</argument>
</arguments>
</configuration>
</plugin>
</plugins>
</build>
</project>
Add new module to main pom.xml
<?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.jdn</groupId>
<artifactId>ng2-pom</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
<module>client</module>
<module>workshops</module>
<module>workshops-st</module>
</modules>
</project>
Run maven to build project
e:\ws\ng2\ng2-pom>e:\programowanie\maven\bin\mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] client
[INFO] ng2
[INFO] ng2-st
[INFO] ng2-pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building client 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/plugins/maven-install-plugin/2.4/maven-install-plugin-2.4.pom (7 KB at 8.5 KB/sec)
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:exec (some-execution) @ client ---
[INFO] '"ng build -prod"' is not recognized as an internal or external command,
[INFO] operable program or batch file.
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] client ............................................. FAILURE [ 1.696 s]
[INFO] ng2 ................................................ SKIPPED
[INFO] ng2-st ............................................. SKIPPED
[INFO] ng2-pom ............................................ SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 1.918 s
[INFO] Finished at: 2016-07-03T17:42:10+02:00
[INFO] Final Memory: 7M/104M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.1.1:exec (some-execution) on project client: Result of cmd.exe /X /C ""ng build -prod"" execution is: '1'. -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
e:\ws\ng2\ng2-pom>e:\programowanie\maven\bin\mvn install
[INFO] Scanning for projects...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Build Order:
[INFO]
[INFO] client
[INFO] ng2
[INFO] ng2-st
[INFO] ng2-pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building client 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- exec-maven-plugin:1.1.1:exec (some-execution) @ client ---
[INFO] (node:4748) fs: re-evaluating native module sources is not supported. If you are using the graceful-fs module, please update it to a more recent version.
[INFO]
[INFO] Running without elevated rights. Running Ember CLI "as Administrator" increases performance significantly.
[INFO] See ember-cli.com/user-guide/#windows for details.
[INFO]
[INFO] Built project successfully. Stored in "../workshops/src/main/angular".
[INFO] File sizes:
[INFO] - app.component.css: 0 B
[INFO] - main.js: 844.99 KB (179.68 KB gzipped)
[INFO] - system-config.js: 1.66 KB (538 B gzipped)
[INFO] - es6-shim.js: 131.74 KB (30.4 KB gzipped)
[INFO] - Reflect.js: 36.91 KB (5.29 KB gzipped)
[INFO] - system.src.js: 159.57 KB (38.99 KB gzipped)
[INFO] - zone.js: 52.72 KB (11.37 KB gzipped)
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ client ---
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.pom (3 KB at 3.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.pom (2 KB at 15.0 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-components/1.1.7/plexus-components-1.1.7.pom (5 KB at 68.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus/1.0.8/plexus-1.0.8.pom (8 KB at 98.1 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom (8 KB at 81.5 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar
Downloading: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-digest/1.0/plexus-digest-1.0.jar (12 KB at 84.5 KB/sec)
Downloaded: https://repo.maven.apache.org/maven2/org/codehaus/plexus/plexus-utils/3.0.5/plexus-utils-3.0.5.jar (226 KB at 1000.2 KB/sec)
[INFO] Installing E:\ws\ng2\ng2-pom\client\pom.xml to C:\Users\Andrzej\.m2\repository\org\jdn\client\0.0.1-SNAPSHOT\client-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ng2 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ng2 ---
[WARNING] Using platform encoding (Cp1250 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 2 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ng2 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1250, i.e. build is platform dependent!
[INFO] Compiling 6 source files to E:\ws\ng2\ng2-pom\workshops\target\classes
[WARNING] /E:/ws/ng2/ng2-pom/workshops/src/main/java/com/airhacks/workshops/business/registrations/boundary/Registrations.java: E:\ws\ng2\ng2-pom\workshops\src\main\java\com\airhacks\workshops\busines
s\registrations\boundary\Registrations.java uses unchecked or unsafe operations.
[WARNING] /E:/ws/ng2/ng2-pom/workshops/src/main/java/com/airhacks/workshops/business/registrations/boundary/Registrations.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ng2 ---
[WARNING] Using platform encoding (Cp1250 actually) to copy filtered resources, i.e. build is platform dependent!
[INFO] Copying 1 resource
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ng2 ---
[INFO] Changes detected - recompiling the module!
[WARNING] File encoding has not been set, using platform encoding Cp1250, i.e. build is platform dependent!
[INFO] Compiling 6 source files to E:\ws\ng2\ng2-pom\workshops\target\test-classes
[WARNING] /E:/ws/ng2/ng2-pom/workshops/src/test/java/com/airhacks/workshops/business/registrations/entity/RegistrationTest.java: Some input files use unchecked or unsafe operations.
[WARNING] /E:/ws/ng2/ng2-pom/workshops/src/test/java/com/airhacks/workshops/business/registrations/entity/RegistrationTest.java: Recompile with -Xlint:unchecked for details.
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ng2 ---
[INFO] Surefire report directory: E:\ws\ng2\ng2-pom\workshops\target\surefire-reports
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.pom (3 KB at 28.7 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.12.4/surefire-providers-2.12.4.pom
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-providers/2.12.4/surefire-providers-2.12.4.pom (3 KB at 31.4 KB/sec)
Downloading: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.jar
Downloaded: https://repo.maven.apache.org/maven2/org/apache/maven/surefire/surefire-junit4/2.12.4/surefire-junit4-2.12.4.jar (37 KB at 424.2 KB/sec)
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.airhacks.workshops.business.registrations.boundary.RegistrationsTest
Tests run: 3, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.577 sec
Running com.airhacks.workshops.business.registrations.control.VatCalculatorTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.002 sec
Running com.airhacks.workshops.business.registrations.entity.RegistrationTest
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.004 sec
Results :
Tests run: 7, Failures: 0, Errors: 0, Skipped: 0
[INFO]
[INFO] --- maven-war-plugin:2.6:war (default-war) @ ng2 ---
[INFO] Packaging webapp
[INFO] Assembling webapp [ng2] in [E:\ws\ng2\ng2-pom\workshops\target\workshops]
[INFO] Processing war project
[INFO] Copying webapp webResources [E:\ws\ng2\ng2-pom\workshops\src/main/angular] to [E:\ws\ng2\ng2-pom\workshops\target\workshops]
[INFO] Copying webapp resources [E:\ws\ng2\ng2-pom\workshops\src\main\webapp]
[INFO] Webapp assembled in [147 msecs]
[INFO] Building war: E:\ws\ng2\ng2-pom\workshops\target\workshops.war
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ng2 ---
[INFO] Installing E:\ws\ng2\ng2-pom\workshops\target\workshops.war to C:\Users\Andrzej\.m2\repository\org\jdn\ng2\0.0.1-SNAPSHOT\ng2-0.0.1-SNAPSHOT.war
[INFO] Installing E:\ws\ng2\ng2-pom\workshops\pom.xml to C:\Users\Andrzej\.m2\repository\org\jdn\ng2\0.0.1-SNAPSHOT\ng2-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ng2-st 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ ng2-st ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\ws\ng2\ng2-pom\workshops-st\src\main\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ ng2-st ---
[INFO] No sources to compile
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ ng2-st ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory E:\ws\ng2\ng2-pom\workshops-st\src\test\resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ ng2-st ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 2 source files to E:\ws\ng2\ng2-pom\workshops-st\target\test-classes
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ ng2-st ---
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ ng2-st ---
[INFO] Building jar: E:\ws\ng2\ng2-pom\workshops-st\target\ng2-st-0.0.1-SNAPSHOT.jar
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ng2-st ---
[INFO] Installing E:\ws\ng2\ng2-pom\workshops-st\target\ng2-st-0.0.1-SNAPSHOT.jar to C:\Users\Andrzej\.m2\repository\org\jdn\ng2-st\0.0.1-SNAPSHOT\ng2-st-0.0.1-SNAPSHOT.jar
[INFO] Installing E:\ws\ng2\ng2-pom\workshops-st\pom.xml to C:\Users\Andrzej\.m2\repository\org\jdn\ng2-st\0.0.1-SNAPSHOT\ng2-st-0.0.1-SNAPSHOT.pom
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building ng2-pom 0.0.1-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-install-plugin:2.4:install (default-install) @ ng2-pom ---
[INFO] Installing e:\ws\ng2\ng2-pom\pom.xml to C:\Users\Andrzej\.m2\repository\org\jdn\ng2-pom\0.0.1-SNAPSHOT\ng2-pom-0.0.1-SNAPSHOT.pom
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] client ............................................. SUCCESS [ 27.767 s]
[INFO] ng2 ................................................ SUCCESS [ 6.487 s]
[INFO] ng2-st ............................................. SUCCESS [ 0.911 s]
[INFO] ng2-pom ............................................ SUCCESS [ 0.050 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 35.345 s
[INFO] Finished at: 2016-07-03T17:44:25+02:00
[INFO] Final Memory: 29M/163M
[INFO] ------------------------------------------------------------------------
No comments:
Post a Comment