* Add project for hibernate immutable article Add Event entity Add hibernate configuration file Add hibernateutil for configuration Add test to match snippets from article * Update master * Selenium congif fix Change chromedriver files to geckodriver Use Firefox webdriver to stick with standard Update tests for JUnit and TestNG Modify SeleniumExample and move all WebDriver Configuration to corresponding class Update selectors and copy content
		
			
				
	
	
		
			71 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
			
		
		
	
	
			71 lines
		
	
	
		
			2.5 KiB
		
	
	
	
		
			XML
		
	
	
	
	
	
| <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">
 | |
|     <modelVersion>4.0.0</modelVersion>
 | |
|     <groupId>com.baeldung</groupId>
 | |
|     <artifactId>selenium-junit-testng</artifactId>
 | |
|     <version>0.0.1-SNAPSHOT</version>
 | |
| 
 | |
|     <parent>
 | |
|         <groupId>com.baeldung</groupId>
 | |
|         <artifactId>parent-modules</artifactId>
 | |
|         <version>1.0.0-SNAPSHOT</version>
 | |
|     </parent>
 | |
| 
 | |
|     <build>
 | |
|         <sourceDirectory>src</sourceDirectory>
 | |
|     </build>
 | |
|     <profiles>
 | |
|         <profile>
 | |
|             <id>live</id>
 | |
|             <build>
 | |
|                 <plugins>
 | |
|                     <plugin>
 | |
|                         <groupId>org.apache.maven.plugins</groupId>
 | |
|                         <artifactId>maven-surefire-plugin</artifactId>
 | |
|                         <version>${maven-surefire-plugin.version}</version>
 | |
|                         <configuration>
 | |
|                             <includes>
 | |
|                                 <include>**/*LiveTest.java</include>
 | |
|                             </includes>
 | |
|                             <testFailureIgnore>false</testFailureIgnore>
 | |
|                         </configuration>
 | |
|                     </plugin>
 | |
|                 </plugins>
 | |
|             </build>
 | |
|         </profile>
 | |
|     </profiles>
 | |
| 
 | |
|     <dependencies>
 | |
|         <dependency>
 | |
|             <groupId>org.seleniumhq.selenium</groupId>
 | |
|             <artifactId>selenium-java</artifactId>
 | |
|             <version>${selenium-java.version}</version>
 | |
|             <exclusions>
 | |
|                 <exclusion>
 | |
|                     <artifactId>commons-logging</artifactId>
 | |
|                     <groupId>commons-logging</groupId>
 | |
|                 </exclusion>
 | |
|             </exclusions>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.testng</groupId>
 | |
|             <artifactId>testng</artifactId>
 | |
|             <version>${testng.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>junit</groupId>
 | |
|             <artifactId>junit</artifactId>
 | |
|             <version>${junit.version}</version>
 | |
|         </dependency>
 | |
|         <dependency>
 | |
|             <groupId>org.hamcrest</groupId>
 | |
|             <artifactId>hamcrest-all</artifactId>
 | |
|             <version>1.3</version>
 | |
|         </dependency>
 | |
|     </dependencies>
 | |
| 
 | |
|     <properties>
 | |
|         <testng.version>6.10</testng.version>
 | |
|         <selenium-java.version>3.4.0</selenium-java.version>
 | |
|     </properties>
 | |
| </project> |