hadop - maven 프로젝트 를 실행 가능 한 jar 로 포장 합 니 다.

5797 단어 hadoopj2ee
환경:
cdh5.1.0
jdk1.7
	
		
		
			
				org.apache.maven.plugins
				maven-compiler-plugin
				
					1.7
					1.7
				
			
			
			
				maven-assembly-plugin
				2.2
				
					
						
							com.gsta.bdi.dh.mr.MainJob
						
					
					
						jar-with-dependencies
					
				
				
					
						make-assembly
						package
						
							single
						
					
				
			
		
		
		
			
				src/main/java
				
					**/*.properties
				
			
			
				src/main/resources
			
			
				resources
			
		
	

전체 POM 파일:

	4.0.0

	TEST
	mytest
	0.0.1-SNAPSHOT
	jar

	taglib-customer
	http://maven.apache.org
	
		
			cloudera
			https://repository.cloudera.com/artifactory/cloudera-repos/
		
		
			cloudera2
			https://repository.cloudera.com/content/groups/public
		
	
	
		UTF-8
	

	
		
			jdk.tools
			jdk.tools
			jdk1.7.0_45
			system
			${JAVA_HOME}/lib/tools.jar
		
		
			junit
			junit
			3.8.1
			test
		
		
		

		
			org.apache.hadoop
			hadoop-core
			2.3.0-mr1-cdh5.1.0
		

		
			org.apache.hadoop
			hadoop-client
			2.3.0-mr1-cdh5.1.0
		
		
			org.apache.hadoop
			hadoop-mapreduce-client-core
			2.3.0-cdh5.1.0
		
		
			org.apache.hadoop
			hadoop-annotations
			2.3.0-cdh5.1.0
		
		
			org.apache.hadoop
			hadoop-auth
			2.3.0-cdh5.1.0
		
		
			org.apache.hadoop
			hadoop-hdfs
			2.3.0-cdh5.1.0
		


		
		
			org.apache.hive
			hive-jdbc
			0.12.0-cdh5.1.0
		
		
			org.apache.hadoop
			hadoop-common
			2.3.0-cdh5.1.0
		


		
		
			org.apache.hbase
			hbase-client
			0.98.1-cdh5.1.0
		
		
			org.apache.hbase
			hbase-common
			0.98.1-cdh5.1.0
		
		
			org.apache.hbase
			hbase-hadoop-compat
			0.98.1-cdh5.1.0
		
		
			org.apache.hbase
			hbase-hadoop2-compat
			0.98.1-cdh5.1.0
		
		
			org.apache.hbase
			hbase-it
			0.98.1-cdh5.1.0
		
	
	
		
		
			
				org.apache.maven.plugins
				maven-compiler-plugin
				
					1.7
					1.7
				
			
			
			
				maven-assembly-plugin
				2.2
				
					
						
							com.gsta.bdi.dh.mr.MainJob
						
					
					
						jar-with-dependencies
					
				
				
					
						make-assembly
						package
						
							single
						
					
				
			
		
		
		
			
				src/main/java
				
					**/*.properties
				
			
			
				src/main/resources
			
			
				resources
			
		
	

좋은 웹페이지 즐겨찾기