package info.xiaomo.crawler

import org.springframework.beans.factory.annotation.Configurable
import org.springframework.boot.SpringApplication
import org.springframework.boot.autoconfigure.EnableAutoConfiguration
import org.springframework.context.annotation.ComponentScan
import org.springframework.data.jpa.repository.config.EnableJpaRepositories
import org.springframework.scheduling.annotation.EnableScheduling

/**
 * 把今天最好的表现当作明天最新的起点．．～
 * いま 最高の表現 として 明日最新の始発．．～
 * Today the best performance  as tomorrow newest starter!
 * Created by IntelliJ IDEA.
 *
 *
 * @author : xiaomo
 * github: https://github.com/xiaomoinfo
 * email: xiaomo@xiaomo.info
 *
 *
 * Date: 2016/4/1 15:38
 * Copyright(©) 2015 by xiaomo.
 */
@EnableAutoConfiguration
@EnableScheduling
@Configurable
@EnableJpaRepositories("info.xiaomo.*.dao")
@ComponentScan("info.xiaomo")
class CrawlerMain

@Throws(Exception::class)
fun main(args: Array<String>) {
    SpringApplication.run(CrawlerMain::class.java, *args)

}
