Skip to content

Commit f0bcf12

Browse files
authored
Merge pull request #1715 from ricksbrown/webdrivermanager
Update WebDriverManager to 3.8.2-alpha
2 parents 36147a4 + c2f463e commit f0bcf12

File tree

4 files changed

+39
-4
lines changed

4 files changed

+39
-4
lines changed

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jdk:
2626

2727
## Travis installs the project with the following maven command:- "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
2828
install:
29-
- mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DskipOptionalQA=true -Dwc.pmd.verbose=false
29+
- mvn --settings ci-settings.xml install -DskipTests=true -Dmaven.javadoc.skip=true -B -V -DskipOptionalQA=true -Dwc.pmd.verbose=false
3030

3131
script:
3232
- ./travis.sh

ci-settings.xml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
2+
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3+
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
4+
5+
<!--
6+
This is a temporary measure to pick up WebDriverManager 3.8.2
7+
before it has been released to Maven Central by the official maintainer.
8+
-->
9+
10+
<activeProfiles>
11+
<activeProfile>github</activeProfile>
12+
</activeProfiles>
13+
14+
<profiles>
15+
<profile>
16+
<id>github</id>
17+
<repositories>
18+
<repository>
19+
<id>github</id>
20+
<name>GitHub ricksbrown Apache Maven Packages</name>
21+
<url>https://maven.pkg.github.com/ricksbrown/webdrivermanager</url>
22+
</repository>
23+
</repositories>
24+
</profile>
25+
</profiles>
26+
27+
<servers>
28+
<server>
29+
<id>github</id>
30+
<username>>${env.GITHUB_USERNAME}</username>
31+
<password>${env.GITHUB_TOKEN}</password>
32+
</server>
33+
</servers>
34+
</settings>

travis.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
if [[ -n ${TRAVIS_SECURE_ENV_VARS+x} && ${TRAVIS_SECURE_ENV_VARS} == true && ! -z ${SONAR_TOKEN} ]]; then
66
echo "Travis secure variables ARE available"
7-
mvn --batch-mode package sonar:sonar -Dsonar.projectKey="bordertech-wcomponents" -PskipCoreOptionalTests
7+
mvn --settings ci-settings.xml --batch-mode package sonar:sonar -Dsonar.projectKey="bordertech-wcomponents" -PskipCoreOptionalTests
88
else
99
echo "Travis secure variables not available"
10-
mvn --batch-mode package -PskipCoreOptionalTests
10+
mvn --settings ci-settings.xml --batch-mode package -PskipCoreOptionalTests
1111
fi

wcomponents-test-lib/pom.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@
7474
<dependency>
7575
<groupId>io.github.bonigarcia</groupId>
7676
<artifactId>webdrivermanager</artifactId>
77-
<version>3.6.2</version>
77+
<!-- Temporary version, see ci-settings.xml -->
78+
<version>3.8.2-alpha</version>
7879
</dependency>
7980

8081
<dependency>

0 commit comments

Comments
 (0)