Skip to content

botcity-dev/bot-java-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bot Java Template

Template project to start developing RPA automation of desketop applications

License issues


BotCity Social Media.

image image image image image image

Important Links & Docs.

Requirements.

For building and running the application you need:

Dependencies.

There are a number of third-party dependencies used in the project. Browse the Maven pom.xml file for details of libraries and versions used.

Quick Start

  • Step 1: Import the project into an IDE of your choice (Eclipse, IntelliJ, VSCODE etc...).
  • Step 2:Configure the WebDriver in the FirstBotWeb class, see the Doc. Configuration WebDriver
  • Step 3: Run the maven commands below and everything should be working.
mvn clean install
mvn compile exec:java -Dexec.mainClass="br.com.main.FirstBot"

Nexus Repository

The dependencies are hosted in our public repository on NEXUS, the code below, which is already in pom.xml, directs to the correct URL, we are working to make them also available on Maven Central

<repositories>
    <repository>
        <id>nexus-botcity-public</id>
        <url>https://devtools.botcity.dev:8081/repository/botcity-public/</url>
        <snapshots>
            <enabled>true</enabled>
        </snapshots>
        <releases>
            <enabled>true</enabled>
        </releases>
    </repository>
</repositories>
    
<dependencies>
    <dependency>
        <groupId>org.marvinproject</groupId>
        <artifactId>marvin-framework</artifactId>
        <version>${marvin.version}</version>
    </dependency>
</dependencies>

Generating the application build.

Run build.bat on Windows or build.sh on Linux or Mac to build the application, after finishing the build a dist directory will be generated with the .jar to deploy in BotCity Maestro.

Copyright

Released under the Apache License 2.0.