Hacker News new | past | comments | ask | show | jobs | submit login
1JPM now automatically resolves parent and child projects (github.com/osiris-team)
1 point by Osiris-Team 19 days ago | hide | past | favorite | 1 comment



1JPM automatically resolves parent and child projects See project.isAutoParentsAndChildren. If true updates current pom, all parent and all child pom.xml files with the respective parent details, adding seamless multi-module/project support.

This expects that the parent pom is always inside the parent directory, otherwise a performant search is not possible since the entire disk would need to be checked.

1JPM helps porting your multi-module project Add JPM.java to your root project directory and add JPM.portChildProjects(); before building. This is going to download and copy the latest JPM.java file into all child projects it can find in this directory, and also run it to generate an initial pom.xml for that child project. The child projects name will be the same as its directory name.

A child project is detected if a src/main/java folder structure exists, and the parent folder of src/ is then used as child project root. Note that a child project is expected to be directly inside a subdirectory of this project.

Now project.isAutoParentsAndChildren will work properly, since all needed pom.xml files should exist.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: