monicka rk akilan wrote:I want to make these into two jars based on the module also having some packages and login module.
What do you mean by this sentence?
Anyway, like Bill said, Maven is the way to go. Create a directory structure like this:
Then your modules' pom files should look something like this:
The project's pom should look like this:
After you've installed Maven, you can just open a command prompt in your project folder, and run
mvn package, and a jar of each of your modules should appear in the target folder of that module, e.g.
Project/Abc/target/abc-0.1.0.jar.