File tree 2 files changed +50
-1
lines changed
2 files changed +50
-1
lines changed Original file line number Diff line number Diff line change @@ -4,7 +4,8 @@ This application demonstrates how Java EE applications can be effectively
4
4
tested using Arquillian on WebLogic 12.1.3. The application contains a
5
5
set of JUnit tests that you should examine. The tests will be run as part
6
6
of the Maven build. The tests require a running instance of
7
- WebLogic (please see setup instructions).
7
+ WebLogic (please see setup instructions). The WebLogic Maven plugins used as
8
+ part of the build also
8
9
9
10
WebLogic 12.1.3 supports Java EE 6 and some key Java EE 7 APIs -
10
11
WebSocket, JAX-RS 2, JSON-P and JPA 2.1. The application uses both
Original file line number Diff line number Diff line change 137
137
<skipTests >false</skipTests >
138
138
</configuration >
139
139
</plugin >
140
+ <plugin >
141
+ <!-- This is the configuration for the weblogic-maven-plugin -->
142
+ <groupId >com.oracle.weblogic</groupId >
143
+ <artifactId >weblogic-maven-plugin</artifactId >
144
+ <version >12.1.3-0-0</version >
145
+ <configuration >
146
+ <middlewareHome >C:\Oracle\Middleware\Oracle_Home\wlserver</middlewareHome >
147
+ </configuration >
148
+ <executions >
149
+ <!-- (Re)deploy the application to the WebLogic Server -->
150
+ <execution >
151
+ <id >wls-redeploy</id >
152
+ <phase >pre-integration-test</phase >
153
+ <goals >
154
+ <goal >redeploy</goal >
155
+ </goals >
156
+ <configuration >
157
+ <!-- The admin URL where the app is deployed.
158
+ Here use the plugin's default value
159
+ t3://localhost:7001-->
160
+ <adminurl >t3://127.0.0.1:7001</adminurl >
161
+ <user >weblogic</user >
162
+ <password >welcome123</password >
163
+ <!-- The location of the file or directory to be deployed-->
164
+ <source >${project.build.directory} /${project.build.finalName} .${project.packaging} </source >
165
+ <!-- The target servers where the application is deployed.
166
+ Here use the plugin's default value AdminServer-->
167
+ <targets >AdminServer</targets >
168
+ <verbose >true</verbose >
169
+ <name >${project.build.finalName} </name >
170
+ </configuration >
171
+ </execution >
172
+ <execution >
173
+ <id >wls-undeploy</id >
174
+ <phase >pre-clean</phase >
175
+ <goals >
176
+ <goal >undeploy</goal >
177
+ </goals >
178
+ <configuration >
179
+ <adminurl >t3://127.0.0.1:7001</adminurl >
180
+ <user >weblogic</user >
181
+ <password >welcome123</password >
182
+ <name >${project.build.finalName} </name >
183
+ <failOnError >false</failOnError >
184
+ </configuration >
185
+ </execution >
186
+ </executions >
187
+ </plugin >
140
188
</plugins >
141
189
</build >
142
190
</project >
You can’t perform that action at this time.
0 commit comments