m-assembly-p attaches it by default ( http://maven.apache.org/plugins/maven-assembly-plugin/single-mojo.html#attach), for the single goal. At least if you bind it to the package phase.
/Anders On Fri, Jun 4, 2010 at 18:24, Wayne Fay <wayne...@gmail.com> wrote: > > 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: users-unsubscr...@maven.apache.org > For additional commands, e-mail: users-h...@maven.apache.org > >