It copies it to the repository under jars using the same name,
unfortunately.

Here's the end of the output of 'maven ejb:install-client'


ejb:ejb:
    [echo] Building ejb qpass_nextel_outbound-1.0
    [jar] Building jar:
/home/tbostelm/views/tbostelm_cnextel_bnd_2/vobs/Cnextel/ejb-jars/outbou
nd/target/qpass_nextel_outbound-1.0.jar

ejb:ejb-client:
    [jar] Building jar:
/home/tbostelm/views/tbostelm_cnextel_bnd_2/vobs/Cnextel/ejb-jars/outbou
nd/target/qpass_nextel_outbound-1.0-client.jar
Copying: from
'/home/tbostelm/views/tbostelm_cnextel_bnd_2/vobs/Cnextel/ejb-jars/outbo
und/target/qpass_nextel_outbound-1.0-client.jar' to:
'/home/tbostelm/.maven/repository/qpass_nextel/jars/qpass_nextel_outboun
d-1.0.jar'
Copying: from
'/home/tbostelm/views/tbostelm_cnextel_bnd_2/vobs/Cnextel/ejb-jars/outbo
und/project.xml' to:
'/home/tbostelm/.maven/repository/qpass_nextel/poms/qpass_nextel_outboun
d-1.0.pom'
BUILD SUCCESSFUL
Total time: 19 seconds
Finished at: Wed Jan 26 17:38:00 PST 2005

-----Original Message-----
From: Brett Porter [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, January 26, 2005 5:29 PM
To: Maven Users List
Subject: Re: installing different named artifact...

doesn't the ejb plugin already do this for you?

- Brett


On Wed, 26 Jan 2005 17:03:05 -0800, Tom Bostelmann <[EMAIL PROTECTED]>
wrote:
> I'm sure this question has been asked several times but I'm not sure
> what the 'best-practice' is at this point.  My problem is that I'm
> generating an ejb-jar and would like the same project to generate the
> client-jar.  So, the ejb-jar would have the name outbound-1.0.jar, and
> would be of type 'ejb', and the client would be
outboud_client-1.0.jar,
> which would be of type 'jar'.  How do I do this using the same Maven
> project?
> 
> I've tried fiddling with 'maven.final.name' and setting the
> 'pom.artifactId' but they both ultimately get installed using the same
> name (just different types).
> 
> What's the best practice here?
> 
>

---------------------------------------------------------------------
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]

Reply via email to