Skip to content

BananazTechnology/bot-core

Repository files navigation

Bananaz Tech Java Core

  • Description: An @apache Maven library for all core/base project resources
  • Version: (Check main for release or develop for dev)
  • Creator: Aaron Renner

Table of Contents

Introduction

This is a library repository, see the packages on the side for instructions on how to add to pom.

Setup

Install Maven

NOTE: All java projects in Bananaz Tech come with a Maven wrapper, maven can be excluded from the system by executing the mvnw file like:

# On Windows
./mvnw clean
# Linux
bash mvnw clean

If you would like to have Maven native on your computer please visit Installing Maven

Add Github to Settings

Please ask for help if you do not already have a ~/.m2/settings.xml file available on your PC

Local Workspace Offline

Using Maven this project can be installed into the local lookup on your PC by running:

mvnw clean install

Utilizing Spring Resources

Include these following annotations inside your Main class, these should come right under @SpringBootApplication. It is better to manually select as many individule aspects as you can to prevent overloading.

@ComponentScan({"tech.bananaz.*"})
@EnableJpaRepositories(basePackageClasses = {
	EventPagingRepository.class, 
	ListingConfigPagingRepository.class, 
	SaleConfigPagingRepository.class})
@EntityScan(basePackageClasses = {
	Event.class, 
	Listing.class, 
	Sale.class})

About

Base library for Java bot resources

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages