mockserver-javascript-client
Used in:
components
- OverviewOverview
- VersionsVersions
- DependentsDependents
- DependenciesDependencies
<dependency>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-javascript-client</artifactId>
<version>3.2</version>
</dependency><?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">
<parent>
<artifactId>mockserver</artifactId>
<groupId>org.mock-server</groupId>
<version>3.2</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>mockserver-javascript-client</artifactId>
<name>MockServer JavaScript Client</name>
<description>A javascript client for the MockServer</description>
<url>http://www.mock-server.com</url>
<build>
<resources>
<resource>
<directory>src/main/javascript</directory>
</resource>
</resources>
<plugins>
<!-- run mock server for javascript client tests -->
<plugin>
<groupId>org.mock-server</groupId>
<artifactId>mockserver-maven-plugin</artifactId>
<version>${project.version}</version>
<configuration>
<logLevel>INFO</logLevel>
<serverPort>1080</serverPort>
<serverSecurePort>1082</serverSecurePort>
<proxyPort>1090</proxyPort>
<proxySecurePort>1092</proxySecurePort>
</configuration>
<executions>
<execution>
<id>pre-integration-test</id>
<phase>generate-test-sources</phase>
<goals>
<goal>start</goal>
</goals>
</execution>
<execution>
<id>post-integration-test</id>
<phase>verify</phase>
<goals>
<goal>stop</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- run javascript client tests -->
<plugin>
<groupId>com.github.searls</groupId>
<artifactId>jasmine-maven-plugin</artifactId>
<version>1.3.1.4</version>
<executions>
<execution>
<id>no_proxy</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<specIncludes>
<include>no_proxy/**</include>
</specIncludes>
</configuration>
</execution>
<execution>
<id>with_proxy</id>
<phase>integration-test</phase>
<goals>
<goal>test</goal>
</goals>
<configuration>
<specIncludes>
<include>with_proxy/**</include>
</specIncludes>
<webDriverCapabilities>
<capability>
<name>proxy</name>
<map>
<httpProxy>localhost:1090</httpProxy>
</map>
</capability>
</webDriverCapabilities>
</configuration>
</execution>
</executions>
</plugin>
</plugins>
</build>
</project>