I have parent project with:
<modules>
<module>../module1</module>
<module>../module2</module>
<module>../module3</module>
</modules>
and modules with
<parent>
<groupId>com.cc</groupId>
<artifactId>parent</artifactId>
<version>0.0.1-SNAPSHOT</version>
</parent>
Can I somehow specify, that if there are no src at ../module2/ load those module from repository instead fail with Caused by: java.io.FileNotFoundException: C:\work\temp\wid7\workspace\module2 (The system cannot find the file specified.)?
It’s possible to resolve problem via profiles.
Profiles concatenate modules block to one. So others modules got from repository.