Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ jdk:

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

script:
- ./travis.sh
Expand Down
34 changes: 34 additions & 0 deletions ci-settings.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">

<!--
This is a temporary measure to pick up WebDriverManager 3.8.2
before it has been released to Maven Central by the official maintainer.
-->

<activeProfiles>
<activeProfile>github</activeProfile>
</activeProfiles>

<profiles>
<profile>
<id>github</id>
<repositories>
<repository>
<id>github</id>
<name>GitHub ricksbrown Apache Maven Packages</name>
<url>https://maven.pkg.github.com/ricksbrown/webdrivermanager</url>
</repository>
</repositories>
</profile>
</profiles>

<servers>
<server>
<id>github</id>
<username>>${env.GITHUB_USERNAME}</username>
<password>${env.GITHUB_TOKEN}</password>
</server>
</servers>
</settings>
4 changes: 2 additions & 2 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

if [[ -n ${TRAVIS_SECURE_ENV_VARS+x} && ${TRAVIS_SECURE_ENV_VARS} == true && ! -z ${SONAR_TOKEN} ]]; then
echo "Travis secure variables ARE available"
mvn --batch-mode package sonar:sonar -Dsonar.projectKey="bordertech-wcomponents" -PskipCoreOptionalTests
mvn --settings ci-settings.xml --batch-mode package sonar:sonar -Dsonar.projectKey="bordertech-wcomponents" -PskipCoreOptionalTests
else
echo "Travis secure variables not available"
mvn --batch-mode package -PskipCoreOptionalTests
mvn --settings ci-settings.xml --batch-mode package -PskipCoreOptionalTests
fi
3 changes: 2 additions & 1 deletion wcomponents-test-lib/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,8 @@
<dependency>
<groupId>io.github.bonigarcia</groupId>
<artifactId>webdrivermanager</artifactId>
<version>3.6.2</version>
<!-- Temporary version, see ci-settings.xml -->
<version>3.8.2-alpha</version>
</dependency>

<dependency>
Expand Down