Let's say I have a main class with some calls in the main method:
public void basicInit() {...}
public void loadExtraFeature1() {...}
public void loadExtraFeature2() {...}
public void loadExtraFeature3() {...}
ExtraFeature1, ExtraFeature2, ExtraFeature3 are all located in separate class files.
I know that during maven build, I can control the process to leave those classes out of the jar file, but the main method will still contain these 3 feature loading calls.
Is there a way to add some tag or parameter that will instruct maven to not include lines between those tags in the built java class?