|
12 | 12 |
|
13 | 13 | <properties>
|
14 | 14 | <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
|
15 |
| - <maven.compiler.source>1.6</maven.compiler.source> |
16 |
| - <maven.compiler.target>1.6</maven.compiler.target> |
| 15 | + <maven.compiler.source>1.8</maven.compiler.source> |
| 16 | + <maven.compiler.target>1.8</maven.compiler.target> |
17 | 17 | <surefire.version>2.19.1</surefire.version>
|
18 | 18 |
|
19 | 19 | <test.file></test.file>
|
|
26 | 26 | <artifactId>testng</artifactId>
|
27 | 27 | <version>6.9.10</version>
|
28 | 28 | </dependency>
|
| 29 | + <dependency> |
| 30 | + <groupId>com.browserstack</groupId> |
| 31 | + <artifactId>automate-testassist</artifactId> |
| 32 | + <version>1.1.1</version> |
| 33 | + </dependency> |
29 | 34 | <dependency>
|
30 | 35 | <groupId>commons-io</groupId>
|
31 | 36 | <artifactId>commons-io</artifactId>
|
|
48 | 53 | </dependency>
|
49 | 54 | </dependencies>
|
50 | 55 |
|
| 56 | + <repositories> |
| 57 | + <repository> |
| 58 | + <id>sonatype-nexus-snapshots</id> |
| 59 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 60 | + </repository> |
| 61 | + </repositories> |
| 62 | + |
| 63 | + <pluginRepositories> |
| 64 | + <pluginRepository> |
| 65 | + <id>sonatype-nexus-snapshots</id> |
| 66 | + <url>https://oss.sonatype.org/content/repositories/snapshots</url> |
| 67 | + </pluginRepository> |
| 68 | + </pluginRepositories> |
| 69 | + |
51 | 70 | <build>
|
52 | 71 | <plugins>
|
53 |
| - <plugin> |
| 72 | + <!-- <plugin> |
54 | 73 | <groupId>org.apache.maven.plugins</groupId>
|
55 | 74 | <artifactId>maven-surefire-plugin</artifactId>
|
56 |
| - <version>2.18.1</version> |
| 75 | + <version>3.0.0-M5</version> |
| 76 | + </plugin> --> |
| 77 | + <plugin> |
| 78 | + <groupId>com.browserstack</groupId> |
| 79 | + <artifactId>automate-maven-plugin</artifactId> |
| 80 | + <version>1.0.0</version> |
| 81 | + <configuration> |
| 82 | + <source>${jdk.source.version}</source> |
| 83 | + <target>${jdk.target.version}</target> |
| 84 | + <complianceLevel>${jdk.source.version}</complianceLevel> |
| 85 | + </configuration> |
| 86 | + <executions> |
| 87 | + <execution> |
| 88 | + <goals> |
| 89 | + <goal>test-compile</goal> |
| 90 | + </goals> |
| 91 | + </execution> |
| 92 | + </executions> |
57 | 93 | </plugin>
|
58 | 94 | </plugins>
|
59 | 95 | </build>
|
|
0 commit comments