Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Complete rewrite - Maven, WebDriverManager, etc.
- Loading branch information
1 parent
d264ed0
commit 46f05e1
Showing
49 changed files
with
445 additions
and
630 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,38 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<classpath> | ||
<classpathentry kind="src" path="src"/> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.7"/> | ||
<!-- <classpathentry kind="lib" path="third_party/apache-mime4j-0.6.jar"/> | ||
<classpathentry kind="lib" path="third_party/bsh-1.3.0.jar"/> | ||
<classpathentry kind="lib" path="third_party/cglib-nodep-2.1_3.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-codec-1.6.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-collections-3.2.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-exec-1.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-io-2.2.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-jxpath-1.3.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-lang3-3.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-logging-1.1.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/cssparser-0.9.9.jar"/> | ||
<classpathentry kind="lib" path="third_party/guava-14.0.jar"/> | ||
<classpathentry kind="lib" path="third_party/hamcrest-core-1.3.jar"/> | ||
<classpathentry kind="lib" path="third_party/hamcrest-library-1.3.jar"/> | ||
<classpathentry kind="lib" path="third_party/htmlunit-2.12.jar"/> | ||
<classpathentry kind="lib" path="third_party/htmlunit-core-js-2.12.jar"/> | ||
<classpathentry kind="lib" path="third_party/httpclient-4.2.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/httpcore-4.2.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/httpmime-4.2.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/ini4j-0.5.2.jar"/> | ||
<classpathentry kind="lib" path="third_party/jcommander-1.29.jar"/> | ||
<classpathentry kind="lib" path="third_party/jetty-websocket-8.1.8.jar"/> | ||
<classpathentry kind="lib" path="third_party/jna-3.4.0.jar"/> | ||
<classpathentry kind="lib" path="third_party/jna-platform-3.4.0.jar"/> | ||
<classpathentry kind="lib" path="third_party/json-20080701.jar"/> | ||
<classpathentry kind="lib" path="third_party/junit-dep-4.11.jar"/> | ||
<classpathentry kind="lib" path="third_party/nekohtml-1.9.17.jar"/> | ||
<classpathentry kind="lib" path="third_party/netty-3.5.7.Final.jar"/> | ||
<classpathentry kind="lib" path="third_party/operadriver-1.3.jar"/> | ||
<classpathentry kind="lib" path="third_party/phantomjsdriver-1.0.4.jar"/> | ||
<classpathentry kind="lib" path="third_party/protobuf-java-2.4.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/sac-1.3.jar"/> | ||
<classpathentry kind="lib" path="third_party/serializer-2.7.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/testng-6.8.5.jar"/> | ||
<classpathentry kind="lib" path="third_party/xalan-2.7.1.jar"/> | ||
<classpathentry kind="lib" path="third_party/xercesImpl-2.10.0.jar"/> | ||
<classpathentry kind="lib" path="third_party/xml-apis-1.4.01.jar"/> | ||
<classpathentry kind="lib" path="third_party/commons-cli-1.2.jar"/> | ||
<classpathentry kind="lib" path="third_party/selenium-java-2.35.0.jar"/> | ||
--> | ||
<classpathentry kind="lib" path="third_party/selenium-custom.jar"/> | ||
|
||
<classpathentry kind="output" path="bin"/> | ||
<classpathentry kind="src" output="target/classes" path="src/main/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/classes" path="src/main/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="src" output="target/test-classes" path="src/test/java"> | ||
<attributes> | ||
<attribute name="optional" value="true"/> | ||
<attribute name="maven.pomderived" value="true"/> | ||
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry excluding="**" kind="src" output="target/test-classes" path="src/test/resources"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
<attribute name="test" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-10"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER"> | ||
<attributes> | ||
<attribute name="maven.pomderived" value="true"/> | ||
</attributes> | ||
</classpathentry> | ||
<classpathentry kind="output" path="target/classes"/> | ||
</classpath> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,93 @@ | ||
bin | ||
#Runner | ||
*.sh | ||
|
||
# Compiled class file | ||
*.class | ||
~* | ||
|
||
# Log file | ||
*.log | ||
|
||
# BlueJ files | ||
*.ctxt | ||
|
||
# Mobile Tools for Java (J2ME) | ||
.mtj.tmp/ | ||
|
||
# Package Files # | ||
*.jar | ||
*.war | ||
*.nar | ||
*.ear | ||
*.zip | ||
*.tar.gz | ||
*.rar | ||
|
||
# virtual machine crash logs, see http://www.java.com/en/download/help/error_hotspot.xml | ||
hs_err_pid* | ||
*.exe | ||
target/ | ||
pom.xml.tag | ||
pom.xml.releaseBackup | ||
pom.xml.versionsBackup | ||
pom.xml.next | ||
release.properties | ||
dependency-reduced-pom.xml | ||
buildNumber.properties | ||
.mvn/timing.properties | ||
.mvn/wrapper/maven-wrapper.jar | ||
|
||
.metadata | ||
bin/ | ||
tmp/ | ||
*.tmp | ||
*.bak | ||
*.swp | ||
*~.nib | ||
local.properties | ||
.settings/ | ||
.loadpath | ||
.recommenders | ||
|
||
# External tool builders | ||
.externalToolBuilders/ | ||
|
||
# Locally stored "Eclipse launch configurations" | ||
*.launch | ||
|
||
# PyDev specific (Python IDE for Eclipse) | ||
*.pydevproject | ||
|
||
# CDT-specific (C/C++ Development Tooling) | ||
.cproject | ||
|
||
# CDT- autotools | ||
.autotools | ||
|
||
# Java annotation processor (APT) | ||
.factorypath | ||
|
||
# PDT-specific (PHP Development Tools) | ||
.buildpath | ||
|
||
# sbteclipse plugin | ||
.target | ||
|
||
# Tern plugin | ||
.tern-project | ||
|
||
# TeXlipse plugin | ||
.texlipse | ||
|
||
# STS (Spring Tool Suite) | ||
.springBeans | ||
|
||
# Code Recommenders | ||
.recommenders/ | ||
|
||
# Annotation Processing | ||
.apt_generated/ | ||
|
||
# Scala IDE specific (Scala & Java development for Eclipse) | ||
.cache-main | ||
.scala_dependencies | ||
.worksheet |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,93 @@ | ||
<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.superuser</groupId> | ||
<artifactId>su-chatbot</artifactId> | ||
<version>0.0.1-SNAPSHOT</version> | ||
<name>SuperUser ChatBot Driver</name> | ||
|
||
<properties> | ||
<maven.compiler.source>10</maven.compiler.source> | ||
<maven.compiler.target>10</maven.compiler.target> | ||
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>io.github.bonigarcia</groupId> | ||
<artifactId>webdrivermanager</artifactId> | ||
<version>3.0.0</version> | ||
<exclusions> | ||
<exclusion> | ||
<groupId>org.seleniumhq.selenium</groupId> | ||
<artifactId>selenium-java</artifactId> | ||
</exclusion> | ||
</exclusions> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.seleniumhq.selenium</groupId> | ||
<artifactId>selenium-java</artifactId> | ||
<version>3.14.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.codeborne</groupId> | ||
<artifactId>selenide</artifactId> | ||
<version>5.0.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok</artifactId> | ||
<version>1.18.2</version> | ||
<scope>provided</scope> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.google.guava</groupId> | ||
<artifactId>guava</artifactId> | ||
<version>27.0-jre</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.github.pcj</groupId> | ||
<artifactId>google-options</artifactId> | ||
<version>1.0.0</version> | ||
</dependency> | ||
</dependencies> | ||
<build> | ||
<plugins> | ||
<plugin> | ||
<artifactId>maven-assembly-plugin</artifactId> | ||
<configuration> | ||
<archive> | ||
<manifest> | ||
<mainClass>com.superuser.cavil.Driver</mainClass> | ||
</manifest> | ||
</archive> | ||
<descriptorRefs> | ||
<descriptorRef>jar-with-dependencies</descriptorRef> | ||
</descriptorRefs> | ||
</configuration> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.projectlombok</groupId> | ||
<artifactId>lombok-maven-plugin</artifactId> | ||
<version>1.18.2.0</version> | ||
<executions> | ||
<execution> | ||
<phase>generate-sources</phase> | ||
<goals> | ||
<goal>delombok</goal> | ||
</goals> | ||
</execution> | ||
</executions> | ||
</plugin> | ||
<plugin> | ||
<groupId>org.codehaus.mojo</groupId> | ||
<artifactId>exec-maven-plugin</artifactId> | ||
<version>1.6.0</version> | ||
<configuration> | ||
<mainClass>com.superuser.cavil.Driver</mainClass> | ||
</configuration> | ||
</plugin> | ||
</plugins> | ||
</build> | ||
</project> |
Oops, something went wrong.