File tree Expand file tree Collapse file tree 4 files changed +39
-4
lines changed Expand file tree Collapse file tree 4 files changed +39
-4
lines changed Original file line number Diff line number Diff line change 2626
2727# # Travis installs the project with the following maven command:- "mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V"
2828install :
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
3131script :
3232 - ./travis.sh
Original file line number Diff line number Diff line change 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 >
Original file line number Diff line number Diff line change 44
55if [[ -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
88else
99 echo " Travis secure variables not available"
10- mvn --batch-mode package -PskipCoreOptionalTests
10+ mvn --settings ci-settings.xml -- batch-mode package -PskipCoreOptionalTests
1111fi
Original file line number Diff line number Diff line change 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 >
You can’t perform that action at this time.
0 commit comments