Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

How to create multiple projects with Maven

Shulou Source: shulou.com Published: 2022-06-01 13:44:04 09月29日 Update

This article introduces the knowledge of "how to create multiple projects with Maven". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!

Create a Maven project

New Project empty project

New Module builds multiple modules

Main pom file bigdata-spark-core bigdata-spark-sql bigdata-spark-sparkstreaming bigdata-spark-spark-kafka bigdata-spark-utils UTF-8 1.8 1.8 2.11 2.4.5 2.6.0 nexus-aliyun Nexus aliyun Http://maven.aliyun.com/nexus/content/groups/public junit junit 4.11 test org.apache.hadoop hadoop-client ${hadoop.version} org.apache.hive hive-exec 1.2.1 mysql mysql-connector-java 5.1.38 Org.apache.flume.flume-ng-clients flume-ng-log4jappender 1.6.0 org.apache.spark spark-core_$ {scala.tools.version} ${spark.version} Sub-module com.hufei.spark bigdata-spark 1.0.. / pom.xml4.0.0jarbigdata-spark-core org.apache.spark spark-core_$ {scala.tools.version} add scala support

Project right, add frameword surpport

This is the end of "how to create multiple projects with Maven". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!

Tags: Projects multiple content more modules knowledge practicality achievement next dilemma reality situation documents articles cases editing websites industries processes high quality Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Information Apple Linux macOS Docker