Skip to content

Commit dd7d6a3

Browse files
committed
Merge branch 'release/3.7'
2 parents cbbf524 + b39da5f commit dd7d6a3

2 files changed

Lines changed: 39 additions & 5 deletions

File tree

README.md

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -27,24 +27,30 @@ few instructions here: [Codenvy setup to demo applications using Docker: Java EE
2727

2828
### Deploy in Wildfly 8 ###
2929

30-
* Copy the file javaee7-angular-3.4.war from target directory to your Wildfly installation folder
30+
* Copy the file javaee7-angular.war from target directory to your Wildfly installation folder
3131
`standalone/deployments`
3232

3333
* You can also deploy the app, using Maven Wildfly Plugin with the following command: `mvn wildfly:deploy`.
3434
You need to have Wildfly running.
3535

36-
* Start Wildfly 8 and go to http://localhost:8080/javaee7-angular-3.6/ (http://localhost:8080/javaee7-angular-3.6/)
36+
* Start Wildfly 8 and go to http://localhost:8080/javaee7-angular/ (http://localhost:8080/javaee7-angular/)
3737

3838
### Deploy in Glassfish 4.1 ###
3939

4040
* Open Admin Console (http://localhost:8484/)
4141

4242
* Go to menu "Application"
4343

44-
* In the button "Deploy..." select the file javaee7-angular-3.6.war
44+
* In the button "Deploy..." select the file javaee7-angular.war
4545

46-
* Go to http://localhost:8080/javaee7-angular-3.6/ (http://localhost:8080/javaee7-angular-3.6/)
46+
* Go to http://localhost:8080/javaee7-angular/ (http://localhost:8080/javaee7-angular/)
47+
48+
### Deploy in Embedded-Glassfish 3.1 ###
4749

50+
* You can also deploy the app, using Maven Embedded-Glassfish Plugin with the following command: `mvn embedded-glassfish:run`
51+
52+
* Go to http://localhost:8080/javaee7-angular/ (http://localhost:8080/javaee7-angular/)
53+
4854
## Javascript Package Management (optional) ##
4955

5056
The required JS libraries are included in the project, but it also possible to manage them following the next steps:

pom.xml

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
<groupId>com.cortez.samples</groupId>
55
<artifactId>javaee7-angular</artifactId>
6-
<version>3.6</version>
6+
<version>3.7</version>
77
<packaging>war</packaging>
88

99
<name>javaee7-angular</name>
@@ -24,6 +24,7 @@
2424
<version.plugin.jgitflow>1.0-m3</version.plugin.jgitflow>
2525
<version.plugin.jrebel>1.1.5</version.plugin.jrebel>
2626
<version.plugin.wildfly>1.1.0.Alpha1</version.plugin.wildfly>
27+
<version.plugin.glassfish>4.1.1</version.plugin.glassfish>
2728

2829
<!-- Dependencies -->
2930
<version.dependency.javaee>7.0</version.dependency.javaee>
@@ -70,6 +71,7 @@
7071
<version>${version.plugin.war}</version>
7172
<configuration>
7273
<failOnMissingWebXml>false</failOnMissingWebXml>
74+
<warName>javaee7-angular</warName>
7375
</configuration>
7476
</plugin>
7577

@@ -101,6 +103,32 @@
101103
<groupId>org.wildfly.plugins</groupId>
102104
<artifactId>wildfly-maven-plugin</artifactId>
103105
<version>${version.plugin.wildfly}</version>
106+
<configuration>
107+
<filename>javaee7-angular.war</filename>
108+
</configuration>
109+
</plugin>
110+
111+
<plugin>
112+
<groupId>org.glassfish.embedded</groupId>
113+
<artifactId>maven-embedded-glassfish-plugin</artifactId>
114+
<version>${version.plugin.glassfish}</version>
115+
<configuration>
116+
<port>8080</port>
117+
</configuration>
118+
<executions>
119+
<execution>
120+
<id>deploy</id>
121+
<!-- Workaround to force the deploy goal to not execute on pre-integrations-tests -->
122+
<phase>deploy</phase>
123+
<goals>
124+
<goal>deploy</goal>
125+
</goals>
126+
<configuration>
127+
<app>target/javaee7-angular.war</app>
128+
<contextRoot>javaee7-angular</contextRoot>
129+
</configuration>
130+
</execution>
131+
</executions>
104132
</plugin>
105133
</plugins>
106134
</build>

0 commit comments

Comments
 (0)