File tree 2 files changed +91
-0
lines changed
spring-security-oauth-ui-password
2 files changed +91
-0
lines changed Original file line number Diff line number Diff line change @@ -19,3 +19,7 @@ mvn clean install
19
19
```
20
20
mvn spring-boot:run
21
21
```
22
+ - _ spring-security-oauth-ui-password_ has "live" profile for live tests, in order to run it use the following command
23
+ ```
24
+ mvn clean install -Plive
25
+ ```
Original file line number Diff line number Diff line change 89
89
<filtering >true</filtering >
90
90
</resource >
91
91
</resources >
92
+
93
+ <plugins >
94
+ <plugin >
95
+ <groupId >org.apache.maven.plugins</groupId >
96
+ <artifactId >maven-surefire-plugin</artifactId >
97
+ <configuration >
98
+ <excludes >
99
+ <exclude >**/*LiveTest.java</exclude >
100
+ </excludes >
101
+ </configuration >
102
+ </plugin >
103
+
104
+ <plugin >
105
+ <groupId >org.codehaus.cargo</groupId >
106
+ <artifactId >cargo-maven2-plugin</artifactId >
107
+ <version >${cargo-maven2-plugin.version} </version >
108
+ <configuration >
109
+ <wait >true</wait >
110
+ <container >
111
+ <containerId >tomcat8x</containerId >
112
+ <type >embedded</type >
113
+ </container >
114
+ <configuration >
115
+ <properties >
116
+ <cargo .servlet.port>8082</cargo .servlet.port>
117
+ </properties >
118
+ </configuration >
119
+ </configuration >
120
+ </plugin >
121
+
122
+ </plugins >
123
+
92
124
</build >
125
+
126
+ <profiles >
127
+ <profile >
128
+ <id >live</id >
129
+ <build >
130
+ <plugins >
131
+ <plugin >
132
+ <groupId >org.codehaus.cargo</groupId >
133
+ <artifactId >cargo-maven2-plugin</artifactId >
134
+ <executions >
135
+ <execution >
136
+ <id >start-server</id >
137
+ <phase >pre-integration-test</phase >
138
+ <goals >
139
+ <goal >start</goal >
140
+ </goals >
141
+ </execution >
142
+ <execution >
143
+ <id >stop-server</id >
144
+ <phase >post-integration-test</phase >
145
+ <goals >
146
+ <goal >stop</goal >
147
+ </goals >
148
+ </execution >
149
+ </executions >
150
+ </plugin >
151
+
152
+ <plugin >
153
+ <groupId >org.apache.maven.plugins</groupId >
154
+ <artifactId >maven-surefire-plugin</artifactId >
155
+ <executions >
156
+ <execution >
157
+ <phase >integration-test</phase >
158
+ <goals >
159
+ <goal >test</goal >
160
+ </goals >
161
+ <configuration >
162
+ <excludes >
163
+ <exclude >none</exclude >
164
+ </excludes >
165
+ <includes >
166
+ <include >**/*LiveTest.java</include >
167
+ </includes >
168
+ <systemPropertyVariables >
169
+ <webTarget >cargo</webTarget >
170
+ </systemPropertyVariables >
171
+ </configuration >
172
+ </execution >
173
+ </executions >
174
+ </plugin >
175
+
176
+ </plugins >
177
+ </build >
178
+ </profile >
179
+ </profiles >
93
180
</project >
You can’t perform that action at this time.
0 commit comments