Chad, instead of <type>run</type>
I think you use - <classifier>run</classifier> -Wes On Thu, Feb 9, 2012 at 3:38 PM, <[email protected]> wrote: > > >> 2) How do I go about getting my .run binary installed into nexus by maven, >> i.e. by the deploy phase? Note, I've already figured out how to get my build >> to put the .run file into the target directory, so I really just need to >> figure out >> how to get maven to deploy it, right? Thanks! >> >> Use the build helper plugin with the attach-artifact goal and bind it to the >> appropriate life cycle phase after it is generated .. then mvn deploy will >> push >> it to your repo. > > So, my packaging would remain "pom", and I would be attaching it a .run file > as an additional artifact . . . that make's sense. > > How then would my dependency look in the poms that depend upon the .run > artifact? Like the following? > > <dependency> > <groupId>com.mygroup</groupId> > <artifactId>myproj</artifactId> > <type>run</type> > </dependency> > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > -- Wes Wannemacher Head Engineer, WanTii, Inc. Need Training? Struts, Spring, Maven, Tomcat... Ask me for a quote! --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
