> But the abc.jar I want to refer to is created in mod2 using assembly plug-in
> as an executable jar
>
> mod2/target/abc.jar

I don't recall if the assembly plugin automatically (or can be
configured to) adds its output to the project as a secondary artifact
or if you have to use build-helper to do it, but either way, you need
to simply install that artifact from mod2 and then depend on it in
mod1.

You may not think of it as a dependency, but if you need it inside
mod1 for mod1 to work properly, then Maven calls it a dependency.

Wayne

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to