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
Binary file modified .gradle/8.10/checksums/checksums.lock
Binary file not shown.
Binary file modified .gradle/8.10/checksums/md5-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.10/checksums/sha1-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.10/checksums/sha256-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.10/checksums/sha512-checksums.bin
Binary file not shown.
Binary file modified .gradle/8.10/executionHistory/executionHistory.bin
Binary file not shown.
Binary file modified .gradle/8.10/executionHistory/executionHistory.lock
Binary file not shown.
Binary file modified .gradle/8.10/fileHashes/resourceHashesCache.bin
Binary file not shown.
Binary file modified .gradle/buildOutputCleanup/buildOutputCleanup.lock
Binary file not shown.
Binary file modified .gradle/file-system.probe
Binary file not shown.
Binary file modified .gradle/nb-cache/subprojects.ser
Binary file not shown.
30 changes: 20 additions & 10 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,12 @@ dependencies {
implementation 'net.lingala.zip4j:zip4j:2.11.5'
implementation 'org.ow2.asm:asm:9.5'
implementation 'org.ow2.asm:asm-commons:9.5'

// Apache HttpClient for tunnel Info API polling
implementation 'org.apache.httpcomponents:httpclient:4.5.14'

// JSON parsing for tunnel API responses
implementation 'org.json:json:20231013'
}

group = 'io.github.lambdatest'
Expand Down Expand Up @@ -171,18 +177,12 @@ publishing {
}

repositories {
// Maven Central (Sonatype Central Portal - NEW API)
// Maven Central via Sonatype OSSRH (legacy)
maven {
name = "sonatype"
url = uri("https://ossrh-staging-api.central.sonatype.com/service/local/staging/deploy/maven2/")
credentials {
username = ossrhUsername
password = ossrhPassword
}
}
maven {
name = "sonatypeSnapshots"
url = uri("https://ossrh-staging-api.central.sonatype.com/content/repositories/snapshots/")
def releasesRepoUrl = uri("https://oss.sonatype.org/service/local/staging/deploy/maven2/")
def snapshotsRepoUrl = uri("https://oss.sonatype.org/content/repositories/snapshots/")
url = version.endsWith('SNAPSHOT') ? snapshotsRepoUrl : releasesRepoUrl
credentials {
username = ossrhUsername
password = ossrhPassword
Expand All @@ -192,6 +192,16 @@ publishing {
}

// Configure signing (required by Maven Central)
// Uses GPG command for GPG 2.1+ (gpg-agent based)
signing {
useGpgCmd()
sign publishing.publications
}

// Configure GPG to use loopback pinentry for non-interactive signing
tasks.withType(Sign) {
doFirst {
project.ext.set("signing.gnupg.executable", "gpg")
project.ext.set("signing.gnupg.useLegacyGpg", false)
}
}
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified build/tmp/compileJava/previous-compilation-data.bin
Binary file not shown.
2 changes: 1 addition & 1 deletion build/tmp/jar/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ Premain-Class: com.lambdatest.selenium.agent.LambdaTestAgent
Agent-Class: com.lambdatest.selenium.agent.LambdaTestAgent
Can-Redefine-Classes: true
Can-Retransform-Classes: true
Implementation-Version: 1.0.1
Implementation-Version: 1.0.2
Implementation-Title: LambdaTest Selenium Java SDK

98 changes: 95 additions & 3 deletions dependency-reduced-pom.xml
Original file line number Diff line number Diff line change
@@ -1,18 +1,33 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.lambdatest</groupId>
<groupId>io.github.lambdatest</groupId>
<artifactId>lambdatest-java-selenium-sdk</artifactId>
<name>LambdaTest Selenium SDK</name>
<name>LambdaTest Selenium Java SDK</name>
<version>1.0.2</version>
<description>A Java SDK for integrating Selenium tests with LambdaTest cloud platform</description>
<url>https://www.lambdatest.com</url>
<url>https://github.com/LambdaTest/lambdatest-java-selenium-sdk</url>
<developers>
<developer>
<id>lambdatest</id>
<name>LambdaTest</name>
<email>support@lambdatest.com</email>
<organization>LambdaTest</organization>
<organizationUrl>https://www.lambdatest.com</organizationUrl>
</developer>
</developers>
<licenses>
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>
<scm>
<connection>scm:git:git://github.com/LambdaTest/lambdatest-java-selenium-sdk.git</connection>
<developerConnection>scm:git:ssh://github.com:LambdaTest/lambdatest-java-selenium-sdk.git</developerConnection>
<url>https://github.com/LambdaTest/lambdatest-java-selenium-sdk</url>
</scm>
<build>
<plugins>
<plugin>
Expand Down Expand Up @@ -40,6 +55,58 @@
</systemPropertyVariables>
</configuration>
</plugin>
<plugin>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
<configuration>
<doclint>none</doclint>
<source>8</source>
</configuration>
</plugin>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>
<plugin>
<artifactId>maven-shade-plugin</artifactId>
<version>3.5.1</version>
Expand Down Expand Up @@ -78,6 +145,21 @@
</plugin>
</plugins>
</build>
<profiles>
<profile>
<id>skip-gpg</id>
<build>
<plugins>
<plugin>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
Expand All @@ -92,6 +174,16 @@
</exclusions>
</dependency>
</dependencies>
<distributionManagement>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
</distributionManagement>
<properties>
<bytebuddy.version>1.15.11</bytebuddy.version>
<maven.compiler.target>1.8</maven.compiler.target>
Expand Down
116 changes: 113 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.lambdatest</groupId>
<groupId>io.github.lambdatest</groupId>
<artifactId>lambdatest-java-selenium-sdk</artifactId>
<version>1.0.2</version>
<packaging>jar</packaging>

<name>LambdaTest Selenium SDK</name>
<name>LambdaTest Selenium Java SDK</name>
<description>A Java SDK for integrating Selenium tests with LambdaTest cloud platform</description>
<url>https://www.lambdatest.com</url>
<url>https://github.com/LambdaTest/lambdatest-java-selenium-sdk</url>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand All @@ -27,9 +27,37 @@
<license>
<name>MIT License</name>
<url>https://opensource.org/licenses/MIT</url>
<distribution>repo</distribution>
</license>
</licenses>

<developers>
<developer>
<id>lambdatest</id>
<name>LambdaTest</name>
<email>support@lambdatest.com</email>
<organization>LambdaTest</organization>
<organizationUrl>https://www.lambdatest.com</organizationUrl>
</developer>
</developers>

<scm>
<connection>scm:git:git://github.com/LambdaTest/lambdatest-java-selenium-sdk.git</connection>
<developerConnection>scm:git:ssh://github.com:LambdaTest/lambdatest-java-selenium-sdk.git</developerConnection>
<url>https://github.com/LambdaTest/lambdatest-java-selenium-sdk</url>
</scm>

<distributionManagement>
<snapshotRepository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/content/repositories/snapshots</url>
</snapshotRepository>
<repository>
<id>ossrh</id>
<url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url>
</repository>
</distributionManagement>

<dependencies>
<!-- Selenium WebDriver -->
<dependency>
Expand Down Expand Up @@ -126,6 +154,7 @@
<target>1.8</target>
</configuration>
</plugin>

<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
Expand All @@ -146,6 +175,69 @@
</dependencies>
</plugin>

<!-- Source JAR (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-source-plugin</artifactId>
<version>3.3.0</version>
<executions>
<execution>
<id>attach-sources</id>
<goals>
<goal>jar-no-fork</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Javadoc JAR (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>3.6.3</version>
<configuration>
<doclint>none</doclint>
<source>8</source>
</configuration>
<executions>
<execution>
<id>attach-javadocs</id>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- GPG Signing (required by Maven Central) -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<version>3.1.0</version>
<executions>
<execution>
<id>sign-artifacts</id>
<phase>verify</phase>
<goals>
<goal>sign</goal>
</goals>
</execution>
</executions>
</plugin>

<!-- Nexus Staging Plugin for Maven Central deployment -->
<plugin>
<groupId>org.sonatype.plugins</groupId>
<artifactId>nexus-staging-maven-plugin</artifactId>
<version>1.6.13</version>
<extensions>true</extensions>
<configuration>
<serverId>ossrh</serverId>
<nexusUrl>https://s01.oss.sonatype.org/</nexusUrl>
<autoReleaseAfterClose>true</autoReleaseAfterClose>
</configuration>
</plugin>

<!-- Build agent JAR with all dependencies -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
Expand Down Expand Up @@ -186,5 +278,23 @@
</plugin>
</plugins>
</build>

<profiles>
<!-- Profile for skipping GPG signing during local builds -->
<profile>
<id>skip-gpg</id>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-gpg-plugin</artifactId>
<configuration>
<skip>true</skip>
</configuration>
</plugin>
</plugins>
</build>
</profile>
</profiles>
</project>