John, I had a similar issue, where I wanted to copy my assembly to a network drive, but only on the releng machines. I ended up using a manually activated profile to do this. My deployment directory variable was set during automatically activated profiles based on the platform it was running on. I used something like classifiers to avoid name collisions (my assembly id in the descriptor was "${osArch}-${osName}-dist"). This may be of some use to you.
Andrew <profile> <id>buildMachine</id> <build> <plugins> <plugin> <artifactId>maven-antrun-plugin</artifactId> <executions> <execution> <id>install</id> <phase>install</phase> <configuration> <tasks> <copy todir="${deployDir}"> <fileset dir="${basedir}/target" includes="itl-core-*-dist.*"/> </copy> </tasks> </configuration> <goals> <goal>run</goal> </goals> </execution> </executions> </plugin> </plugins> </build> </profile> > -----Original Message----- > From: John Coleman [mailto:[EMAIL PROTECTED] > Sent: Wednesday, August 29, 2007 4:23 AM > To: Maven Users List > Subject: RE: classifier for maven deploy plugin > > Perhaps I need to explain the issue further. > > While our WARs contain common core code packages, each one is flavoured > per client (typically providing custom images) and differing suits of > JSPs. > > We are not interested in the install task as these WARs will never be > shared off a repository. However, when we deploy the WARs to our staging > server, they must have unique names using the classifier concept. But if > we classify the WARs the deploy doesn't like it, and nor does the jetty > plugin. > > I have been trying to resolve this by generating an assembly zip, but > the deploy task delivers the WAR. Ideally I'd like to be able to deploy > the assembly. > > Perhaps I should derive my own assembly-deploy plugin and inherit from > the regular deploy plugin somehow? If so, how would I override the > regular deploy task and replace it with my extended goal? > > Regards, > John > > > -----Original Message----- > From: Dan Tran [mailto:[EMAIL PROTECTED] > Sent: 28 August 2007 18:04 > To: Maven Users List > Subject: Re: classifier for maven deploy plugin > > I am going to assume that you want to deploy artifacts that are not > built by maven. > > You can create a pom and configure build-helper-maven-plugin to attach > all > your artifacts to maven, and finally call 'maven deploy' > > -D > > > > On 8/28/07, John Coleman <[EMAIL PROTECTED]> > wrote: > > Hi, > > > > > > > > Is there a way to use a classifier with the maven deploy plugin by > > configuring the plugin in the pom rather that using command line > > properties? > > > > > > > > TIA, > > > > John > > > > > > > > > > Eurobase International Limited and its subsidiaries (Eurobase) are > unable to exercise control over the content of information in E-Mails. > Any views and opinions expressed may be personal to the sender and are > not necessarily those of Eurobase. Eurobase will not enter into any > contractual obligations in respect of any part of its business in any > E-mail. > > > > Privileged / confidential information may be contained in this message > and /or any attachments. This E-mail is intended for the use of the > addressee(s) only and may contain confidential information. If you are > not the / an intended recipient, you are hereby notified that any use or > dissemination of this communication is strictly prohibited. If you > receive this transmission in error, please notify us immediately, and > then delete this E-mail. > > > > Neither the sender nor Eurobase accepts any liability whatsoever for > any defects of any kind either in or arising from this E-mail > transmission. E-Mail transmission cannot be guaranteed to be secure or > error-free, as messages can be intercepted, lost, corrupted, destroyed, > contain viruses, or arrive late or incomplete. Eurobase does not accept > any responsibility for viruses and it is your responsibility to scan any > attachments. > > > > Eurobase Systems Limited is the main trading company in the Eurobase > International Group; registered in England and Wales as company number > 02251162; registered address: Essex House, 2 County Place, Chelmsford, > Essex CM2 0RE, UK. > > > > > > --------------------------------------------------------------------- > 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]