|
| 1 | +<?xml version="1.0" encoding="UTF-8"?> |
| 2 | +<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" |
| 3 | + xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> |
| 4 | + <modelVersion>4.0.0</modelVersion> |
| 5 | + |
| 6 | + <groupId>io.github.nsingla</groupId> |
| 7 | + <artifactId>selenium-framework</artifactId> |
| 8 | + <version>1.0.0-SNAPSHOT</version> |
| 9 | + <name>Selenium Framework</name> |
| 10 | + <description>Basic framework to help build selenium tests</description> |
| 11 | + |
| 12 | + <url>https://github.com/nsingla/selenium-java-framework</url> |
| 13 | + <developers> |
| 14 | + <developer> |
| 15 | + <id>nsingla</id> |
| 16 | + <name>Nelesh Singla</name> |
| 17 | + <email>mindipatiala@gmail.com</email> |
| 18 | + </developer> |
| 19 | + </developers> |
| 20 | + <licenses> |
| 21 | + <license> |
| 22 | + <name>Apache 2.0</name> |
| 23 | + <url>http://www.apache.org/licenses/LICENSE-2.0</url> |
| 24 | + </license> |
| 25 | + </licenses> |
| 26 | + <scm> |
| 27 | + <url>https://github.com/nsingla/selenium-java-framework</url> |
| 28 | + <connection>scm:git:git://github.com/nsingla/selenium-java-framework.git</connection> |
| 29 | + <developerConnection>scm:git:git@github.com:nsingla/selenium-java-framework.git</developerConnection> |
| 30 | + </scm> |
| 31 | + |
| 32 | + <distributionManagement> |
| 33 | + <repository> |
| 34 | + <id>ossrh</id> |
| 35 | + <name>Central Repository OSSRH</name> |
| 36 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 37 | + </repository> |
| 38 | + </distributionManagement> |
| 39 | + |
| 40 | + <repositories> |
| 41 | + <repository> |
| 42 | + <id>maven-central</id> |
| 43 | + <url>https://repo.maven.apache.org/maven2</url> |
| 44 | + </repository> |
| 45 | + <repository> |
| 46 | + <id>ossrh</id> |
| 47 | + <name>Central Repository OSSRH</name> |
| 48 | + <url>https://s01.oss.sonatype.org/service/local/staging/deploy/maven2/</url> |
| 49 | + </repository> |
| 50 | + </repositories> |
| 51 | + |
| 52 | + <properties> |
| 53 | + <java.version>11</java.version> |
| 54 | + <junit5.framework.version>2.1.1</junit5.framework.version> |
| 55 | + <plugin.selenium.version>4.6.0</plugin.selenium.version> |
| 56 | + <webdrivermanager.version>4.2.2</webdrivermanager.version> |
| 57 | + <allure.version>2.20.1</allure.version> |
| 58 | + |
| 59 | + <!-- Plugin Versions --> |
| 60 | + <maven.compiler.plugin.version>3.10.1</maven.compiler.plugin.version> |
| 61 | + <maven.surefire.plugin.version>3.0.0-M7</maven.surefire.plugin.version> |
| 62 | + |
| 63 | + </properties> |
| 64 | + |
| 65 | + <dependencies> |
| 66 | + <dependency> |
| 67 | + <groupId>io.github.nsingla</groupId> |
| 68 | + <artifactId>junit5-framework</artifactId> |
| 69 | + <version>${junit5.framework.version}</version> |
| 70 | + </dependency> |
| 71 | + <dependency> |
| 72 | + <groupId>io.qameta.allure</groupId> |
| 73 | + <artifactId>allure-junit5</artifactId> |
| 74 | + <version>${allure.version}</version> |
| 75 | + <exclusions> |
| 76 | + <exclusion> |
| 77 | + <groupId>org.junit.jupiter</groupId> |
| 78 | + <artifactId>junit-jupiter-api</artifactId> |
| 79 | + </exclusion> |
| 80 | + <exclusion> |
| 81 | + <groupId>org.junit.platform</groupId> |
| 82 | + <artifactId>junit-platform-launcher</artifactId> |
| 83 | + </exclusion> |
| 84 | + </exclusions> |
| 85 | + </dependency> |
| 86 | + <dependency> |
| 87 | + <groupId>org.seleniumhq.selenium</groupId> |
| 88 | + <artifactId>selenium-java</artifactId> |
| 89 | + <version>${plugin.selenium.version}</version> |
| 90 | + <exclusions> |
| 91 | + <exclusion> |
| 92 | + <groupId>com.google.*</groupId> |
| 93 | + <artifactId>*</artifactId> |
| 94 | + </exclusion> |
| 95 | + <exclusion> |
| 96 | + <groupId>org.apache.xmlbeans</groupId> |
| 97 | + <artifactId>xmlbeans</artifactId> |
| 98 | + </exclusion> |
| 99 | + <exclusion> |
| 100 | + <groupId>org.aspectj</groupId> |
| 101 | + <artifactId>*</artifactId> |
| 102 | + </exclusion> |
| 103 | + <exclusion> |
| 104 | + <groupId>javax.xml.stream</groupId> |
| 105 | + <artifactId>*</artifactId> |
| 106 | + </exclusion> |
| 107 | + <exclusion> |
| 108 | + <groupId>javax.servlet</groupId> |
| 109 | + <artifactId>javax.servlet-api</artifactId> |
| 110 | + </exclusion> |
| 111 | + </exclusions> |
| 112 | + </dependency> |
| 113 | + <dependency> |
| 114 | + <groupId>io.github.bonigarcia</groupId> |
| 115 | + <artifactId>webdrivermanager</artifactId> |
| 116 | + <version>${webdrivermanager.version}</version> |
| 117 | + <exclusions> |
| 118 | + <exclusion> |
| 119 | + <groupId>com.google.*</groupId> |
| 120 | + <artifactId>*</artifactId> |
| 121 | + </exclusion> |
| 122 | + <exclusion> |
| 123 | + <groupId>*commons*</groupId> |
| 124 | + <artifactId>*</artifactId> |
| 125 | + </exclusion> |
| 126 | + <exclusion> |
| 127 | + <groupId>org.jsoup</groupId> |
| 128 | + <artifactId>*</artifactId> |
| 129 | + </exclusion> |
| 130 | + <exclusion> |
| 131 | + <groupId>org.slf4j</groupId> |
| 132 | + <artifactId>*</artifactId> |
| 133 | + </exclusion> |
| 134 | + </exclusions> |
| 135 | + </dependency> |
| 136 | + </dependencies> |
| 137 | + |
| 138 | + <build> |
| 139 | + <directory>${project.basedir}/target</directory> |
| 140 | + <resources> |
| 141 | + <resource> |
| 142 | + <directory>${project.basedir}/src/main/resources</directory> |
| 143 | + </resource> |
| 144 | + </resources> |
| 145 | + <testResources> |
| 146 | + <testResource> |
| 147 | + <directory>${project.basedir}/src/test/resources</directory> |
| 148 | + </testResource> |
| 149 | + </testResources> |
| 150 | + <plugins> |
| 151 | + <plugin> |
| 152 | + <inherited>true</inherited> |
| 153 | + <groupId>org.apache.maven.plugins</groupId> |
| 154 | + <artifactId>maven-compiler-plugin</artifactId> |
| 155 | + <version>${maven.compiler.plugin.version}</version> |
| 156 | + <configuration> |
| 157 | + <encoding>UTF-8</encoding> |
| 158 | + <source>${java.version}</source> |
| 159 | + <target>${java.version}</target> |
| 160 | + </configuration> |
| 161 | + </plugin> |
| 162 | + <plugin> |
| 163 | + <inherited>true</inherited> |
| 164 | + <groupId>org.apache.maven.plugins</groupId> |
| 165 | + <artifactId>maven-surefire-plugin</artifactId> |
| 166 | + <version>${maven.surefire.plugin.version}</version> |
| 167 | + <configuration> |
| 168 | + <trimStackTrace>false</trimStackTrace> |
| 169 | + <testFailureIgnore>false</testFailureIgnore> |
| 170 | + </configuration> |
| 171 | + </plugin> |
| 172 | + <plugin> |
| 173 | + <groupId>org.apache.maven.plugins</groupId> |
| 174 | + <artifactId>maven-failsafe-plugin</artifactId> |
| 175 | + <version>3.0.0-M5</version> |
| 176 | + <configuration> |
| 177 | + <useModulePath>false</useModulePath> |
| 178 | + <includes> |
| 179 | + <include>**/*Test.java</include> |
| 180 | + <include>**/*Tests.java</include> |
| 181 | + </includes> |
| 182 | + </configuration> |
| 183 | + </plugin> |
| 184 | + </plugins> |
| 185 | + </build> |
| 186 | + |
| 187 | +</project> |
0 commit comments