|
8 | 8 | <name>OWASP Benchmark Project</name>
|
9 | 9 | <url>https://www.owasp.org/index.php/Benchmark</url>
|
10 | 10 | <profiles>
|
11 |
| - <profile> |
12 |
| - <id>permute</id> |
13 |
| - <properties> |
14 |
| - <skipTests>true</skipTests> |
15 |
| - </properties> |
16 |
| - <build> |
17 |
| - <plugins> |
18 |
| - <plugin> |
19 |
| - <artifactId>maven-clean-plugin</artifactId> |
20 |
| - <version>2.6.1</version> |
21 |
| - <configuration> |
22 |
| - <filesets> |
23 |
| - <fileset> |
24 |
| - <directory>src/main/java/org/owasp/benchmark/testcode</directory> |
25 |
| - <includes> |
26 |
| - <include>**/BenchmarkTest*</include> |
27 |
| - </includes> |
28 |
| - <followSymlinks>false</followSymlinks> |
29 |
| - </fileset> |
30 |
| - <fileset> |
31 |
| - <directory>src/main/webapp</directory> |
32 |
| - <includes> |
33 |
| - <include>**/BenchmarkTest*</include> |
34 |
| - <include>**/*Index*</include> |
35 |
| - </includes> |
36 |
| - <followSymlinks>false</followSymlinks> |
37 |
| - </fileset> |
38 |
| - </filesets> |
39 |
| - </configuration> |
40 |
| - </plugin> |
41 |
| - </plugins> |
42 |
| - </build> |
43 |
| - </profile> |
44 |
| - |
45 | 11 | <profile>
|
46 | 12 | <id>crawler</id>
|
47 | 13 | <build>
|
|
174 | 140 | <configuration>
|
175 | 141 | <files>
|
176 | 142 | <copy>
|
177 |
| - <file>${basedir}/src/config/server.xml</file> |
| 143 | + <file>${basedir}/src/config/local/server.xml</file> |
178 | 144 | <tofile>conf/server.xml</tofile>
|
179 | 145 | <configfile>true</configfile>
|
180 | 146 | <overwrite>true</overwrite>
|
|
197 | 163 | </build>
|
198 | 164 | </profile>
|
199 | 165 |
|
| 166 | + <profile> |
| 167 | + <id>deploywremote</id> |
| 168 | + <properties> |
| 169 | + <skipTests>true</skipTests> |
| 170 | + </properties> |
| 171 | + <build> |
| 172 | + <plugins> |
| 173 | + <plugin> |
| 174 | + <artifactId>maven-antrun-plugin</artifactId> |
| 175 | + <version>1.7</version> |
| 176 | + <executions> |
| 177 | + <execution> |
| 178 | + <id>ldap-server</id> |
| 179 | + <phase>package</phase> |
| 180 | + <goals> |
| 181 | + <goal>run</goal> |
| 182 | + </goals> |
| 183 | + <configuration> |
| 184 | + <target> |
| 185 | + <ant target="run" antfile="${basedir}/src/config/build.xml"> |
| 186 | + <reference torefid="maven.compile.classpath" refid="maven.compile.classpath" /> |
| 187 | + </ant> |
| 188 | + </target> |
| 189 | + </configuration> |
| 190 | + </execution> |
| 191 | + </executions> |
| 192 | + </plugin> |
| 193 | + <plugin> |
| 194 | + <groupId>org.codehaus.cargo</groupId> |
| 195 | + <artifactId>cargo-maven2-plugin</artifactId> |
| 196 | + <version>1.4.9</version> |
| 197 | + <configuration> |
| 198 | + <container> |
| 199 | + <timeout>300000</timeout> |
| 200 | + <containerId>tomcat8x</containerId> |
| 201 | + <zipUrlInstaller> |
| 202 | + <url>http://archive.apache.org/dist/tomcat/tomcat-8/v8.0.21/bin/apache-tomcat-8.0.21.zip</url> |
| 203 | + </zipUrlInstaller> |
| 204 | + </container> |
| 205 | + <properties> |
| 206 | + <cargo.jvmargs>-XX:MaxPermSize=6G -Xms1G –Xmx8G</cargo.jvmargs> |
| 207 | + </properties> |
| 208 | + <configuration> |
| 209 | + <files> |
| 210 | + <copy> |
| 211 | + <file>${basedir}/src/config/remote/server.xml</file> |
| 212 | + <tofile>conf/server.xml</tofile> |
| 213 | + <configfile>true</configfile> |
| 214 | + <overwrite>true</overwrite> |
| 215 | + </copy> |
| 216 | + </files> |
| 217 | + <properties> |
| 218 | + <cargo.servlet.port>8443</cargo.servlet.port> |
| 219 | + <cargo.protocol>https</cargo.protocol> |
| 220 | + <cargo.tomcat.connector.clientAuth>false</cargo.tomcat.connector.clientAuth> |
| 221 | + <cargo.tomcat.connector.sslProtocol>TLS</cargo.tomcat.connector.sslProtocol> |
| 222 | + <cargo.tomcat.connector.keystoreFile>../../../../.keystore</cargo.tomcat.connector.keystoreFile> |
| 223 | + <cargo.tomcat.connector.keystorePass>changeit</cargo.tomcat.connector.keystorePass> |
| 224 | + <cargo.tomcat.connector.keyAlias>tomcat</cargo.tomcat.connector.keyAlias> |
| 225 | + <cargo.tomcat.httpSecure>true</cargo.tomcat.httpSecure> |
| 226 | + </properties> |
| 227 | + </configuration> |
| 228 | + </configuration> |
| 229 | + </plugin> |
| 230 | + </plugins> |
| 231 | + </build> |
| 232 | + </profile> |
| 233 | + |
200 | 234 | <profile>
|
201 | 235 | <id>deploywcontrast</id>
|
202 | 236 | <properties>
|
|
0 commit comments