-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1983 from IBMa/java2
feature(java-accessibility-checker): Create new accessibility-checker package for Java
- Loading branch information
Showing
70 changed files
with
6,427 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
||
# Binary files should be left untouched | ||
*.jar binary | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.mvn | ||
results | ||
target | ||
settings.xml | ||
*.gpg |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
Deployments found at https://central.sonatype.com/publishing/deployments | ||
|
||
## Example maven commands | ||
|
||
Run all tests: | ||
``` | ||
mvn test | ||
``` | ||
|
||
Run specific test | ||
``` | ||
mvn test -Dtest="TheSecondUnitTest#whenTestCase2_thenPrintTest2_1" | ||
``` | ||
|
||
Deploy | ||
``` | ||
mvn -s ./settings.xml clean deploy -Dgpg.passphrase=yourpassphrase | ||
``` | ||
|
||
Deployments show up on https://central.sonatype.com/publishing/deployments and then they can be Dropped or Published. Once Published, they cannot be Dropped. | ||
|
||
Generate javadoc for local review (files in target/site/apidocs/) | ||
``` | ||
mvn javadoc:javadoc | ||
``` | ||
|
||
## PGP Key Management | ||
|
||
Generate PGP key: | ||
``` | ||
gpg --gen-key | ||
> Real name: IBM Accessibility | ||
> Email address: eatools@us.ibm.com | ||
gpg --armor --output public-key.gpg --export eatools@us.ibm.com | ||
``` | ||
Go to https://keyserver.ubuntu.com/, Click `Submit Key`, and paste in public-key.gpg | ||
|
||
Export private key: | ||
``` | ||
gpg --export-secret-keys -a 7A58C8C58C35FF078630FA3615954E19FBC774C4 | ||
``` | ||
|
||
Verify Key: | ||
``` | ||
gpg --list-signatures | ||
``` | ||
Go to https://keyserver.ubuntu.com/pks/lookup?search=7A58C8C58C35FF078630FA3615954E19FBC774C4&fingerprint=on&op=index and replace `7A58C8C58C35FF078630FA3615954E19FBC774C4` with the key signature |
12 changes: 12 additions & 0 deletions
12
java-accessibility-checker/boilerplates/junit-playwright/.gitattributes
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# | ||
# https://help.github.com/articles/dealing-with-line-endings/ | ||
# | ||
# Linux start script should use lf | ||
/gradlew text eol=lf | ||
|
||
# These are Windows script files and should use crlf | ||
*.bat text eol=crlf | ||
|
||
# Binary files should be left untouched | ||
*.jar binary | ||
|
5 changes: 5 additions & 0 deletions
5
java-accessibility-checker/boilerplates/junit-playwright/.gitignore
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# Ignore Gradle project-specific cache directory | ||
.gradle | ||
|
||
# Ignore Gradle build output directory | ||
build |
12 changes: 12 additions & 0 deletions
12
java-accessibility-checker/boilerplates/junit-playwright/gradle/libs.versions.toml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# This file was generated by the Gradle 'init' task. | ||
# https://docs.gradle.org/current/userguide/platforms.html#sub::toml-dependencies-format | ||
|
||
[versions] | ||
commons-math3 = "3.6.1" | ||
guava = "33.1.0-jre" | ||
junit = "4.13.2" | ||
|
||
[libraries] | ||
commons-math3 = { module = "org.apache.commons:commons-math3", version.ref = "commons-math3" } | ||
guava = { module = "com.google.guava:guava", version.ref = "guava" } | ||
junit = { module = "junit:junit", version.ref = "junit" } |
Binary file added
BIN
+42.5 KB
java-accessibility-checker/boilerplates/junit-playwright/gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
7 changes: 7 additions & 0 deletions
7
...essibility-checker/boilerplates/junit-playwright/gradle/wrapper/gradle-wrapper.properties
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
distributionBase=GRADLE_USER_HOME | ||
distributionPath=wrapper/dists | ||
distributionUrl=https\://services.gradle.org/distributions/gradle-8.9-bin.zip | ||
networkTimeout=10000 | ||
validateDistributionUrl=true | ||
zipStoreBase=GRADLE_USER_HOME | ||
zipStorePath=wrapper/dists |
Oops, something went wrong.