Skip to content

CLDR-14409 Make cldr-apps-webdriver a main app, not a test #4800

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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 tools/cldr-apps-webdriver/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ FROM maven:3-eclipse-temurin-17-alpine
WORKDIR /workarea
COPY . /workarea
COPY surveydriver-docker.properties /workarea/surveydriver.properties
CMD ["mvn", "-B", "test"]
CMD ["mvn", "compile", "exec:java", "-Dexec.mainClass=org.unicode.cldr.surveydriver.SurveyDriver"]
7 changes: 6 additions & 1 deletion tools/cldr-apps-webdriver/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,14 @@

https://www.w3.org/TR/webdriver/ “WebDriver is a remote control interface that enables introspection and control of user agents”

to run the webdriver, execute:

mvn --file=tools/pom.xml -pl cldr-apps-webdriver exec:java -Dexec.mainClass=org.unicode.cldr.surveydriver.SurveyDriver


### Copyright & Licenses

Copyright © 2018-2024 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.
Copyright © 2018-2025 Unicode, Inc. Unicode and the Unicode Logo are registered trademarks of Unicode, Inc. in the United States and other countries.

A CLA is required to contribute to this project - please refer to the [CONTRIBUTING.md](https://github.com/unicode-org/.github/blob/main/.github/CONTRIBUTING.md) file (or start a Pull Request) for more information.

Expand Down
23 changes: 16 additions & 7 deletions tools/cldr-apps-webdriver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<groupId>org.unicode.cldr.surveydriver</groupId>
<artifactId>cldr-apps-webdriver</artifactId>
<version>1.0-SNAPSHOT</version>
<name>cldr-apps-webdriver</name>
<name>CLDR Apps Webdriver</name>
<licenses>
<license>
<name>Unicode-3.0</name>
Expand All @@ -16,14 +16,9 @@
<maven.compiler.target>11</maven.compiler.target>
<spotless.version>2.35.0</spotless.version>
<google-java-style.version>1.15.0</google-java-style.version>
<mainClass>org.unicode.cldr.surveydriver.SurveyDriver</mainClass>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.13.2</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.seleniumhq.selenium</groupId>
<artifactId>selenium-java</artifactId>
Expand Down Expand Up @@ -91,14 +86,28 @@
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>3.3.0</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>${mainClass}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<artifactId>maven-install-plugin</artifactId>
<version>2.5.2</version>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<plugin>
<artifactId>maven-deploy-plugin</artifactId>
<version>2.8.2</version>
<configuration>
<skipIfEmpty>true</skipIfEmpty>
</configuration>
</plugin>
<!-- site lifecycle, see https://maven.apache.org/ref/current/maven-core/lifecycles.html#site_Lifecycle -->
<plugin>
Expand Down
Loading
Loading