In eclipse --> new --> project --> Maven --> Maven project
provide some default groupid and artifact name , ex:
<groupId>kafka.test.com</groupId>
<artifactId>kafka-test</artifactId>
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>
finish --> edit po.xml --> add your dependencies, save, it should download all dependencies in to
packages --> maven dependencies
now you can use all the java classes in to your project
No comments:
Post a Comment