一个scala工程的父子工程pom文件,仅供scala IDEA使用


 
  4.0.0
  
  com.pat
  com-pat-parent
  
  0.0.1-SNAPSHOT
  
  ${project.artifactId}
  My scala app
  2016
  
  pom
  
  
    
      My License
      http://....
      repo
    
  

  
    1.8
    1.8
	UTF-8

	1.6.0
	2.10
    2.10
    2.10.6
   	2.6.0
	1.0.0
  
  
  
  	
 
 		
		
			org.apache.hadoop
			hadoop-client
			${hadoop-two.version}
			
				
					javax.servlet
					*
				
			
			provided
		

		
			org.apache.spark
			spark-streaming_${scala.binary.version}
			${spark.version}
			provided
		

		
			org.apache.spark
			spark-streaming-flume_${scala.binary.version}
			${spark.version}
			provided
		

		
			org.apache.spark
			spark-streaming-kafka_${scala.binary.version}
			${spark.version}
			provided
		
		 
				org.apache.spark
				spark-core_${scala.binary.version}
				${spark.version}
				provided
				
					
						
						org.scala-lang
						scala-library
					
					
						
						org.scala-lang
						scalap
					
				 
					 
					org.apache.hadoop
					hadoop-client 
					 
	 
				
			
		 
			org.apache.spark
			spark-sql_${scala.binary.version}
			${spark.version}
			provided
		

		
			org.apache.spark
			spark-hive_${scala.binary.version}
			${spark.version}
			provided
		
		
			org.apache.hbase
			hbase-client
			${hbase-version}
			
				
					log4j
					log4j
				
				
					org.apache.thrift
					thrift
				
				
					org.jruby
					jruby-complete
				
				
					org.slf4j
					slf4j-log4j12
				
				
					org.mortbay.jetty
					jsp-2.1
				
				
					org.mortbay.jetty
					jsp-api-2.1
				
				
					org.mortbay.jetty
					servlet-api-2.5
				
				
					com.sun.jersey
					jersey-core
				
				
					com.sun.jersey
					jersey-json
				
				
					com.sun.jersey
					jersey-server
				
				
					org.mortbay.jetty
					jetty
				
				
					org.mortbay.jetty
					jetty-util
				
				
					tomcat
					jasper-runtime
				
				
					tomcat
					jasper-compiler
				
				
					org.jruby
					jruby-complete
				
				
					org.jboss.netty
					netty
				
				
					io.netty
					netty
				
			
		
 
		
			org.apache.hbase
			hbase-common
			${hbase-version}
		
		
			org.apache.hbase
			hbase-server
			${hbase-version}
		
  	
  
  
   
 		
		    log4j
		    log4j
		    1.2.17
		
		
			org.scalatest
			scalatest_${scala.tools.version}
			2.0.M6-SNAP8
			test
		
 		
			org.specs2
			specs2-core_${scala.tools.version}
			3.8.6
			test
		
	    
		
			junit
			junit
     		 4.11
			test
		

		
			jdk.tools
			jdk.tools
			1.8
			system
			${JAVA_HOME}/lib/tools.jar
		

		
			mysql
			mysql-connector-java
			5.1.26
		
		
		
			org.scala-lang
			scala-library
			${scala.version}
			provided
		
		
		
			org.json
			json
			20140107
		
		
		
			com.fasterxml.jackson.core
			jackson-databind
			2.8.1
		
	

	
	
		
			
				net.alchim31.maven
				scala-maven-plugin
				3.2.0
				
					${project.build.sourceEncoding}
					${scala.version}
					
						-feature
					
				
				
					
						scala-compile-first
						process-resources
						
							add-source
							compile
						
					
					
						scala-test-compile
						process-test-resources
						
							testCompile
						
					
				
			
			
			
				org.apache.maven.plugins
				maven-compiler-plugin
				3.5.1
				
					${project.build.sourceEncoding}
					${maven.compiler.source}
					${maven.compiler.target}
					true
					true
					true
				
			

			
              
			

   			   org.apache.maven.plugins	
   			   maven-assembly-plugin
	           3.0.0
                     
                   
					
						jar-with-dependencies
					
					
						
							org.apache.spark.sql.datasources.hbase.Test
						
					
				
				
				
					
						make-assembly
						package
						
							single
						
					
				
			
			
				org.scalatest
				scalatest-maven-plugin
				1.0
				
					${project.build.directory}/surefire-reports
					.
					WDF TestSuite.txt
					false
				
				
					
						test
						test
						
							test
						
						
							-XX:MaxPermSize=2048m 
							true
						
					
					
						integration-test
						integration-test
						
							test
						
						
							Integration-Test
							
								-Xmx2048m -XX:MaxPermSize=2048m -XX:ReservedCodeCacheSize=2048m
							
							false
						
					
				
			

			
			
				org.codehaus.mojo
				build-helper-maven-plugin
				1.9.1
				
					
						add-source
						validate
						
							add-source
						
						
							
								src/main/scala
							
						
					
					
						add-test-source
						validate
						
							add-test-source
						
						
							
								src/test/scala
							
						
					
				
			
		
	

 
  
  	com-pat-common
  	com-pat-test
  

上面是父工程的pom

下面是子工程的pom



	4.0.0
	
		com-pat-parent
		com.pat
		0.0.1-SNAPSHOT
	
	com.pat.test
	com-pat-test
	1.0-SNAPSHOT
	${project.artifactId}
	test scala app
	2016
 

	

	

	
	
	

	
		src/main/scala
		src/test/scala
		
			
				net.alchim31.maven
				scala-maven-plugin
				
					${project.build.sourceEncoding}
					${scala.version}
					
						-feature
					
				
				
					
						scala-compile-first
						process-resources
						
							add-source
							compile
						
					
					
						scala-test-compile
						process-test-resources
						
							testCompile
						
					
				
			
			
			
				org.apache.maven.plugins
				maven-compiler-plugin
				
					${project.build.sourceEncoding}
					${maven.compiler.source}
					${maven.compiler.target}
					true
					true
				
			

			
			
			

				org.apache.maven.plugins
				maven-assembly-plugin
				
					
					
						jar-with-dependencies
					
					
						
							org.apache.spark.sql.datasources.hbase.Test
						
					
				

				
					
						make-assembly
						package
						
							single
						
					
				
			
			
				org.scalatest
				scalatest-maven-plugin
				
					${project.build.directory}/surefire-reports
					.
					WDF TestSuite.txt
					false
				
				
					
						test
						test
						
							test
						
						
							-XX:MaxPermSize=2048m 
							true
						
					
					
						integration-test
						integration-test
						
							test
						
						
							Integration-Test
							
								-Xmx2048m -XX:MaxPermSize=2048m
								-XX:ReservedCodeCacheSize=2048m
							
							false
						
					
				
			

			
			
				org.codehaus.mojo
				build-helper-maven-plugin
				
					
						add-source
						validate
						
							add-source
						
						
							
								src/main/scala
							
						
					
					
						add-test-source
						validate
						
							add-test-source
						
						
							
								src/test/scala
							
						
					
				
			
		
	


你可能感兴趣的:(scala)