Ok, I got this to include only what I want by changing the phase from 'process-resources' to 'package'. However, because of the dependencies, the jars are placed under WEB-INF/lib in the war file, which is not correct.
On Nov 19, 2007 3:53 PM, deckrider <[EMAIL PROTECTED]> wrote: > Hmm, I'm having trouble getting 'unpack-dependencies' to work the way > I want. It seems that much more is included in my war file than > 'unpack' would give (and unpack would give exactly what I wanted). > > Originally I was trying to follow this: > > http://mojo.codehaus.org/webstart-maven-plugin-parent/webstart-maven-plugin/examples/war_bundle_1.html > > But I would like to use <= 8.0.0 rather than hard coding 8.1.3 and > incrementing for each version. > > > On Nov 19, 2007 3:00 PM, Brian E. Fox <[EMAIL PROTECTED]> wrote: > > The dependency plugin doesn't support versions in the copy/unpack goals. > > You could try the unpack-dependencies goal instead since that allows > > maven core to resolve it. You would then use the filters to get only the > > file you want. > > > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of > > deckrider+mvn > > Sent: Monday, November 19, 2007 2:25 PM > > To: [email protected] > > Subject: dependency plugin and version > > > > Hi, is there a way I can change version below to take the latest > > greater than 8.0.0 instead of hard-coding the version as I do below? > > I tried using: "<version>[8,)</version>" but that did not work. > > > > <plugin> > > <groupId>org.codehaus.mojo</groupId> > > <artifactId>dependency-maven-plugin</artifactId> > > <executions> > > <execution> > > <!-- > > Copy the webstart bundle in as a resource > > before packaging starts. > > --> > > <phase>process-resources</phase> > > <goals> > > <goal>unpack</goal> > > </goals> > > </execution> > > </executions> > > <configuration> > > <artifactItems> > > <artifactItem> > > <groupId>com.vzb.impact</groupId> > > <artifactId>webstart-test</artifactId> > > <version>8.1.2</version> > > <type>zip</type> > > </artifactItem> > > > > <outputDirectory>${project.build.directory}/${project.build.finalName}</ > > outputDirectory> > > </configuration> > > </plugin> > > > > --------------------------------------------------------------------- > > 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] > > > > > > > > -- > ASCII ribbon campaign: > () against HTML email > /\ against Microsoft attachments > Information: http://www.expita.com/nomime.html > -- ASCII ribbon campaign: () against HTML email /\ against Microsoft attachments Information: http://www.expita.com/nomime.html --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
