You should just use the assembly plugin directly. It can produce jars and was really created for this kind of use case. You might want to think about shading the dependency classes, too.
Wayne On 4/14/08, Lally Singh <[EMAIL PROTECTED]> wrote: > Hey all, a few questions. > > I'm trying to build a swing application that I can launch from java -jar. > > Setting Main-Class is pretty well documented from my googling. > > However, including .properties and a few other important file types > (some groovy scripts) is troublesome. > > If I add any sort of <includes> directive under > <build> > <plugin> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-jar-plugin</artifactId> > <configuration> > <includes>... > > All my .classes disappear from the jar. > > Additionally, I'd like to add in all the jars from my dependencies. > I could find instructions for the assembly plugin, but nothing similar > for the jar plugin. > > How do I go about this? > > Thanks in advance! > > -ls > > -- > H. Lally Singh > Ph.D. Candidate, Computer Science > Virginia Tech > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
