메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


1. Run As -> Gradle Build... -> Gradle Tasks에 "war"를 입력하고 수행한다.



---------build.gradle------

gooper 'com.gooper.icbms.sda'

version '2.0'


apply plugin: 'java'

apply plugin: 'eclipse'

apply plugin: 'eclipse-wtp'

apply plugin: 'war'

apply plugin: 'maven'



compileJava.options.encoding = 'UTF-8'  

sourceCompatibility = 1.7


// gooper저장소

def nexusUrl = 'http://www.gooper.com'


war.archiveName "sda.war"


repositories {

     // mavenCentral()

     maven { url "http://mesir.googlecode.com/svn/trunk/mavenrepo" }

     maven { url "https://code.lds.org/nexus/content/goopers/main-repo" } 

     maven { url "${nexusUrl}/content/goopers/gooper-public/" }


     jcenter()

}


configurations.all {

    // check for updates every build

    resolutionStrategy.cacheChangingModulesFor 0, 'seconds'

}



dependencies {


//compile fileTree(include: ['*.jar'], dir: 'C:\dev\workspace\sda-common\build\libs')

//compile fileTree(include: ['sda-common-2.0.jar'], dir: 'C:\dev\workspace\sda-common\build\libs')

compile fileTree(include: ['sda-common-2.0.jar'], dir: 'C:\dev\workspace\sda-common\target')

    //providedCompile gooper: 'com.gooper.icbms.sda', name: 'sda-common', version: '2.0'


    testCompile gooper: 'junit', name: 'junit', version: '4.+'

    

    compile(gooper: 'org.springframework', name: 'spring-context', version:'4.0.5.RELEASE') {

exclude(module: 'commons-logging')

   }

    compile gooper: 'org.springframework', name: 'spring-web', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-webmvc', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-aop', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-beans', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-context-support', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-core', version:'4.0.5.RELEASE'

    compile gooper: 'org.springframework', name: 'spring-jdbc', version:'4.0.5.RELEASE'

    compile gooper: 'net.sf.json-lib', name: 'json-lib-ext-spring', version:'1.0.2'    

   

    compile gooper: 'aopalliance', name: 'aopalliance', version:'1.0'


    compile gooper: 'javax.inject', name: 'javax.inject', version:'1'

    compile gooper: 'org.apache.maven.plugins', name: 'maven-war-plugin', version:'2.3'

    

    compile gooper: 'opensymphony', name: 'quartz', version:'1.6.3'

//    compile gooper: 'javax.transaction', name: 'jta', version:'1.1'

    

    compile gooper: 'fr.matthieu-vergne', name: 'ioutils', version:'1.0'

    compile gooper: 'fr.matthieu-vergne', name: 'ioutils-core', version:'1.0'

    

    testCompile gooper: 'junit', name: 'junit', version:'4.7'

    providedCompile gooper: 'org.apache.tomcat', name: 'tomcat-dbcp', version:'7.0.53'

  

   // scala

   providedCompile (gooper: 'org.scala-lang', name: 'scala-library', version:'2.11.8')

   

   //compile gooper: 'org.slf4j', name: 'slf4j-api', version:'1.6.6'

   compile gooper: 'org.slf4j', name: 'jcl-over-slf4j', version:'1.6.6'

   compile gooper: 'org.slf4j', name: 'slf4j-log4j12', version:'1.6.6'

   

   compile gooper: 'org.lazyluke', name: 'log4jdbc-remix', version:'0.2.7'

   

   compile gooper: 'javax.servlet', name: 'jstl', version:'1.2'

   compile gooper: 'javax.servlet', name: 'jsp-api', version:'2.0'

   compile gooper: 'javax.annotation', name: 'jsr250-api', version:'1.0'

   

}


/*

uploadArchives {

    repositories {

        mavenDeployer {

            repository(url: "${nexusUrl}/content/repositories/gooper-releases/"){

                authentication(userName: nexusUsername, password: nexusPassword)

            }

            snapshotRepository(url: "${nexusUrl}/content/repositories/gooper-snapshots") {

                //authentication(userName: nexusUsername, password: nexusPassword)

            }

        }

    }

}

*/

번호 제목 날짜 조회 수
550 spark-shell실행시 "A read-only user or a user in a read-only database is not permitted to disable read-only mode on a connection."오류가 발생하는 경우 해결방법 2016.05.20 2953
549 Spark 1.6.1 설치후 HA구성 2016.05.24 4440
548 spark-env.sh에서 사용할 수있는 항목. 2016.05.24 4289
547 "Initial job has not accepted any resources; check your cluster UI to ensure that workers are registered and have sufficient resources"오류 발생시 조치사항 2016.05.25 4562
546 spark 온라인 책자링크 (제목 : mastering-apache-spark) 2016.05.25 4248
545 spark-submit으로 spark application실행하는 다양한 방법 2016.05.25 4408
544 RDF storage조합에대한 test결과(4store, Jena+HBase, Hive+HBase, CumulusRDF, Couchbase) 페이지 링크 2016.05.26 3018
543 CentOS6에 python3.5.1 소스코드로 빌드하여 설치하기 2016.05.27 4111
542 S2RDF 테스트(벤치마크 테스트를 기준으로 python, scala소스가 만들어져서 기능은 파악되지 못함) [1] file 2016.05.27 2864
541 python실행시 ValueError: zero length field name in format오류 해결방법 2016.05.27 3929
540 python 2.6.6에서 print 'A=' 형태의 사용이 python 3.5.1에서 오류(SyntaxError: Missing parentheses in call to 'print') 발생함.. 2016.05.27 2929
539 DataSetCreator.py 실행시 파일을 찾을 수 없는 오류 2016.05.27 2129
538 --master yarn 옵션으로 spark client프로그램 실행할때 메모리 부족 오류발생시 조치방법 2016.05.27 3522
537 spark client프로그램 기동시 "Error initializing SparkContext"오류 발생할때 조치사항 2016.05.27 4645
536 Job이 끝난 log을 볼수 있도록 설정하기 2016.05.30 4418
535 centos에 sbt 0.13.5 설치 2016.05.30 3200
534 Scala버젼 변경 혹은 상황에 맞게 Spark소스 컴파일하기 2016.05.31 4005
533 "암은 평범한 병, 심호흡만 잘해도 암세포 분열 저지” 2016.06.02 2813
532 Windows에서 sbt개발환경 구축 방법(링크) 2016.06.02 2087
531 hive 2.0.1 설치및 mariadb로 metastore 설정 2016.06.03 9063
위로