메뉴 건너뛰기

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)

            }

        }

    }

}

*/

번호 제목 날짜 조회 수
210 RHEL 7.4에 zeppelin 0.7.4 설치 2018.07.31 4513
209 원격 리포지토리에서 최초 clone시 Permission denied (publickey). 오류발생시 조치사항 2017.06.20 4517
208 resouce manager에 dr.who가 아닌 다른 사용자로 로그인 하기 2018.06.28 4519
207 [CDP7.1.7][Replication]Table does not match version in getMetastore(). Table view original text mismatch 2024.01.02 4522
206 [Active Directory] AD Kerberos보안 설정 변경 방법 (Maximum lifetime for user ticket, Maximum lifetime for user ticket renewal) 2024.03.12 4522
205 [Atlas Server]org.apache.hadoop.hbase.security.AccessDeniedException: Insufficient permissions (user=atlas/node01.gooper.com@GOOPER.COM, scope=default:atlas_janus, params=[table=default:atlas_janus,], action-CREATE)] 2023.05.15 4524
204 sequence한 번호 생성방법 2014.04.25 4525
203 hadoop 2.6.0에 sqoop2 (1.99.5) server및 client설치 == fail 2015.06.11 4527
202 ../depcomp: line 512 exec : g++ : not found 2013.03.08 4528
201 Oracle NLOB type의 데이터를 import하는 경우 No Java type for SQL type 2011 for column rst와 같은 오류 발생시 조치사항 2022.01.14 4528
200 [CDP7.1.7]Hive Replication수행중 Specified catalog.database.table does not exist : hive.db명.table명 오류 발생시 조치방법 2024.04.05 4528
199 Spark 1.6.1 설치후 HA구성 2016.05.24 4532
198 json serde사용법 2014.04.17 4538
197 [CDP7.1.7]Hive Replication수행시 Target Cluster에서 Specified catalog.database.table does not exist 오류 2024.05.08 4538
196 avro 사용하기(avsc 스키마 파일 컴파일 방법, consumer, producer샘플소스) 2016.07.08 4543
195 update 샘플 2018.03.12 4546
194 [CDP7.1.6,HDFS]HDFS파일을 삭제하고 Trash비움이 완료된후에도 HDFS 공간을 차지하고 있는 경우 확인/조치 방법 2023.07.17 4551
193 HDFS 파일및 디렉토리 생성시 생성방법에 따라 권한이 다르게 부여된다. 2022.05.30 4552
192 [sbt] sbt-assembly를 이용하여 실행에 필요한 모든 j라이브러리를 포함한 fat jar파일 만들기 2016.07.11 4556
191 oozie가 말하는 start시간은..서버에서 확인되는 시간이 아닙니다. 2014.05.14 4559
위로