Skip to content

Commit

Permalink
Removing parent pom, making all projects independent from each other
Browse files Browse the repository at this point in the history
  • Loading branch information
mmerrell committed Jan 21, 2025
1 parent 91208d7 commit de8e038
Show file tree
Hide file tree
Showing 12 changed files with 44 additions and 116 deletions.
13 changes: 5 additions & 8 deletions appium-junit4-cucumber-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,19 @@
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>
<name>Sauce Labs Appium/Junit4/Cucumber Examples</name>

<properties>
<appium.version>9.3.0</appium.version>
</properties>

<groupId>com.saucelabs</groupId>
<artifactId>appium-junit4-cucumber-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<dependencies>
<!-- Appium dependency is in project level POM.xml -->
<!-- Maven Surefire dependency is in project level POM.xml -->
<dependency>
<groupId>io.cucumber</groupId>
<artifactId>cucumber-java</artifactId>
Expand Down
7 changes: 1 addition & 6 deletions appium/appium-app/appium-app-best-practice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>appium-app-best-practice</artifactId>
Expand Down
7 changes: 1 addition & 6 deletions appium/appium-app/appium-app-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<artifactId>appium-app-examples</artifactId>
Expand Down
11 changes: 5 additions & 6 deletions appium/appium-web/appium-web-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,14 @@
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
<relativePath>../../../pom.xml</relativePath>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.saucelabs</groupId>
<artifactId>appium-web-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Appium Web</name>

<properties>
<maven.surefire.version>3.5.1</maven.surefire.version>
Expand Down
12 changes: 7 additions & 5 deletions best-practice/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,17 +2,19 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.saucelabs</groupId>
<artifactId>best-practice</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Best Practices</name>

<properties>
<selenium.version>4.25.0</selenium.version>
<sauce_junit4.version>1.5.0</sauce_junit4.version>
<maven.surefire.version>3.5.1</maven.surefire.version>
<appium.version>9.3.0</appium.version>
</properties>

Expand Down
10 changes: 5 additions & 5 deletions gitpod/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.saucelabs</groupId>
<artifactId>gitpod</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Gitpod Examples</name>

<properties>
<maven.surefire.version>3.5.1</maven.surefire.version>
Expand Down
3 changes: 2 additions & 1 deletion playwright-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@
<groupId>com.saucelabs</groupId>
<artifactId>playwright-examples</artifactId>
<version>1.0-SNAPSHOT</version>
<name>playwright-examples</name>

<name>Sauce Labs Playwright Examples</name>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
Expand Down
60 changes: 0 additions & 60 deletions pom.xml

This file was deleted.

12 changes: 6 additions & 6 deletions selenium-cucumber-examples/pom.xml
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<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/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.saucelabs</groupId>
<artifactId>selenium-cucumber-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Test Cucumber Examples</name>

<dependencies>
<dependency>
Expand Down Expand Up @@ -49,7 +49,7 @@
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<version>${maven.surefire.version}</version>
<version>3.5.1</version>
<configuration>
<forkCount>6</forkCount>
<reuseForks>false</reuseForks>
Expand Down
2 changes: 1 addition & 1 deletion selenium-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>selenium-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Selenium Examples</name>
<name>Sauce Labs JUnit5 Examples</name>
<description>Example code for using Selenium on Sauce labs</description>
<url>https://github.com/saucelabs-training/demo-java</url>
<licenses>
Expand Down
9 changes: 2 additions & 7 deletions selenium-junit4-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<artifactId>selenium_junit4_examples</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs Selenium Examples</name>
<name>Sauce Labs JUnit4 Examples</name>
<description>Example code for using Selenium on Sauce labs</description>
<url>https://github.com/saucelabs-training/demo-java</url>
<licenses>
Expand All @@ -19,12 +19,7 @@
</license>
</licenses>

<properties>
<surefire.parallel>10</surefire.parallel>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>


<dependencies>
<dependency>
Expand Down
14 changes: 9 additions & 5 deletions selenium-testng-examples/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,18 @@
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>demo-java</artifactId>
<groupId>com.saucelabs</groupId>
<version>1.0-SNAPSHOT</version>
</parent>

<modelVersion>4.0.0</modelVersion>

<groupId>com.saucelabs</groupId>
<artifactId>selenium-testng-examples</artifactId>
<version>1.0-SNAPSHOT</version>

<name>Sauce Labs TestNG Examples</name>
<properties>
<sauce_testng.version>1.5.0</sauce_testng.version>
<maven.surefire.version>3.5.1</maven.surefire.version>
</properties>

<dependencies>
<dependency>
Expand Down

0 comments on commit de8e038

Please sign in to comment.