The scope "provided" can be used for this situation.
I would restructure my project as the following:
parent directory
+pom.xml
/stubs module
++pom.xml
++src/main/java
/distribute module
++pom.xml {includes on stubs with provided}
++src/main/java
This is probably the easiest way to achieve what
Hey all,
I have a situation where i use several java/class stubs for
compilation. I want these source files to be compiled and used during
compilation. But, i do not want them distributed in the jar artifact.
How do i go about having source files that are not distributed with
the jar artifact but