Use this as parent module project for your test project.
To use this jspringbot-base you have to do the following:
- Add the following parent tag to test modules on
pom.xml.
<parent>
<groupId>org.jspringbot</groupId>
<artifactId>jspringbot-base</artifactId>
<version>1.5</version>
</parent>- When adding jspringbot dependencies no need to include
version. Should be managed byjspringbot-baseparent module.
<dependency>
<groupId>org.jspringbot</groupId>
<artifactId>jspringbot-selenium</artifactId>
</dependency>- Ensure to add the following
repositoryandpluginRepositoryonpom.xml
<repository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</repository> <pluginRepository>
<id>sonatype-nexus-snapshots</id>
<name>Sonatype Nexus Snapshots</name>
<url>https://oss.sonatype.org/content/repositories/snapshots</url>
<releases><enabled>false</enabled></releases>
<snapshots>
<enabled>true</enabled>
<updatePolicy>always</updatePolicy>
</snapshots>
</pluginRepository>Note: You can copy the settings.xml in your ~/.m2/ directory if you don't have one yet.
Copyright 2012 JSpringBot
Code licensed under Apache License v2.0.