Re: Final name

2006-11-06 Thread Mykel Alvis

Yep.  Set finalName

See http://maven.apache.org/ref/current/maven-model/maven.html

On 11/6/06, Laura Hinojosa [EMAIL PROTECTED] wrote:


Is there a way to change the Artifact's filename to something else
different from the artifactId-version?

Thank you

Laura



This e-mail, and any attachments thereto, is confidential and is intended
only for the individual(s) named.  If you are not the intended recipient,
please let us know by e-mail reply and delete it from your system; do not
copy/save this e-mail or disclose its contents to anyone.  E-mail
transmissions cannot be guaranteed to be secure or error-free as the
transmission could be interrupted, corrupted, lost, destroyed, altered,
arrive late or contain viruses.  ObjectWave does not accept liability for
any errors or omissions in the contents of this e-mail which arise as a
result of e-mail transmission.  The views expressed in this e-mail do not
necessarily reflect those of ObjectWave or its affiliates.









--
I'm just an unfrozen caveman software developer.  I don't understand your
strange, modern ways.


RE: Final name

2006-11-06 Thread Laura Hinojosa
Does it will install it and deploy it with that filename, or it's only for the 
target?? because I try it and install ignores it.
 
Thank you!
 
Laura



From: [EMAIL PROTECTED] on behalf of Mykel Alvis
Sent: Mon 11/6/2006 2:34 PM
To: Maven Users List
Subject: Re: Final name



Yep.  Set finalName

See http://maven.apache.org/ref/current/maven-model/maven.html

On 11/6/06, Laura Hinojosa [EMAIL PROTECTED] wrote:

 Is there a way to change the Artifact's filename to something else
 different from the artifactId-version?

 Thank you

 Laura

 

 This e-mail, and any attachments thereto, is confidential and is intended
 only for the individual(s) named.  If you are not the intended recipient,
 please let us know by e-mail reply and delete it from your system; do not
 copy/save this e-mail or disclose its contents to anyone.  E-mail
 transmissions cannot be guaranteed to be secure or error-free as the
 transmission could be interrupted, corrupted, lost, destroyed, altered,
 arrive late or contain viruses.  ObjectWave does not accept liability for
 any errors or omissions in the contents of this e-mail which arise as a
 result of e-mail transmission.  The views expressed in this e-mail do not
 necessarily reflect those of ObjectWave or its affiliates.

 






--
I'm just an unfrozen caveman software developer.  I don't understand your
strange, modern ways.




Re: Final name

2006-11-06 Thread dawn.angelito

Hi Laura,

Using the finalName tag will change the filename of the artifact in the
target. However, the one installed in the repository will still use the
default naming convention artifact-version.

Dawn


Laura Hinojosa wrote:
 
 Is there a way to change the Artifact's filename to something else
 different from the artifactId-version?
  
 Thank you
  
 Laura
 
 
 
 This e-mail, and any attachments thereto, is confidential and is intended
 only for the individual(s) named.  If you are not the intended recipient,
 please let us know by e-mail reply and delete it from your system; do not
 copy/save this e-mail or disclose its contents to anyone.  E-mail
 transmissions cannot be guaranteed to be secure or error-free as the
 transmission could be interrupted, corrupted, lost, destroyed, altered,
 arrive late or contain viruses.  ObjectWave does not accept liability for
 any errors or omissions in the contents of this e-mail which arise as a
 result of e-mail transmission.  The views expressed in this e-mail do not
 necessarily reflect those of ObjectWave or its affiliates.
 
 
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Final-name-tf2584875s177.html#a7211212
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



RE: Final name

2006-11-06 Thread jiangshachina

In my mind, 
build
finalNamefinalName/finalName
/build
the configuration just affect output file(jar, war, etc.) at target
directory.
If install or deploy the project, the final name still is
artifactId-version.
The format is specified by Maven.

a cup of Java, cheers!
Sha Jiang


Laura Hinojosa wrote:
 
 Does it will install it and deploy it with that filename, or it's only for
 the target?? because I try it and install ignores it.
  
 Thank you!
  
 Laura
 
 
 
 From: [EMAIL PROTECTED] on behalf of Mykel Alvis
 Sent: Mon 11/6/2006 2:34 PM
 To: Maven Users List
 Subject: Re: Final name
 
 
 
 Yep.  Set finalName
 
 See http://maven.apache.org/ref/current/maven-model/maven.html
 
 On 11/6/06, Laura Hinojosa [EMAIL PROTECTED] wrote:

 Is there a way to change the Artifact's filename to something else
 different from the artifactId-version?

 Thank you

 Laura

 

 This e-mail, and any attachments thereto, is confidential and is intended
 only for the individual(s) named.  If you are not the intended recipient,
 please let us know by e-mail reply and delete it from your system; do not
 copy/save this e-mail or disclose its contents to anyone.  E-mail
 transmissions cannot be guaranteed to be secure or error-free as the
 transmission could be interrupted, corrupted, lost, destroyed, altered,
 arrive late or contain viruses.  ObjectWave does not accept liability for
 any errors or omissions in the contents of this e-mail which arise as a
 result of e-mail transmission.  The views expressed in this e-mail do not
 necessarily reflect those of ObjectWave or its affiliates.

 




 
 
 --
 I'm just an unfrozen caveman software developer.  I don't understand your
 strange, modern ways.
 
 
 
 

-- 
View this message in context: 
http://www.nabble.com/Final-name-tf2584875s177.html#a7211280
Sent from the Maven - Users mailing list archive at Nabble.com.


-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Re: Final name

2006-11-06 Thread Wayne Fay

This is correct. Or rather, this is how is works under Maven.

Wayne

On 11/6/06, jiangshachina [EMAIL PROTECTED] wrote:


In my mind,
build
   finalNamefinalName/finalName
/build
the configuration just affect output file(jar, war, etc.) at target
directory.
If install or deploy the project, the final name still is
artifactId-version.
The format is specified by Maven.

a cup of Java, cheers!
Sha Jiang


Laura Hinojosa wrote:

 Does it will install it and deploy it with that filename, or it's only for
 the target?? because I try it and install ignores it.

 Thank you!

 Laura

 

 From: [EMAIL PROTECTED] on behalf of Mykel Alvis
 Sent: Mon 11/6/2006 2:34 PM
 To: Maven Users List
 Subject: Re: Final name



 Yep.  Set finalName

 See http://maven.apache.org/ref/current/maven-model/maven.html

 On 11/6/06, Laura Hinojosa [EMAIL PROTECTED] wrote:

 Is there a way to change the Artifact's filename to something else
 different from the artifactId-version?

 Thank you

 Laura

 

 This e-mail, and any attachments thereto, is confidential and is intended
 only for the individual(s) named.  If you are not the intended recipient,
 please let us know by e-mail reply and delete it from your system; do not
 copy/save this e-mail or disclose its contents to anyone.  E-mail
 transmissions cannot be guaranteed to be secure or error-free as the
 transmission could be interrupted, corrupted, lost, destroyed, altered,
 arrive late or contain viruses.  ObjectWave does not accept liability for
 any errors or omissions in the contents of this e-mail which arise as a
 result of e-mail transmission.  The views expressed in this e-mail do not
 necessarily reflect those of ObjectWave or its affiliates.

 






 --
 I'm just an unfrozen caveman software developer.  I don't understand your
 strange, modern ways.





--
View this message in context: 
http://www.nabble.com/Final-name-tf2584875s177.html#a7211280
Sent from the Maven - Users mailing list archive at Nabble.com.


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



Re: final name named after active profile id ?

2006-10-31 Thread Valerio Schiavoni

i ended up using the solution proposed here:
http://mail-archives.apache.org/mod_mbox/maven-users/200511.mbox/[EMAIL 
PROTECTED]

where every profile defines a finalName property.

if there're are better (whatever it means) approaches, please comment !

thanks,
valerio

On 10/31/06, Valerio Schiavoni [EMAIL PROTECTED] wrote:


hello everyone,
given the element
finalNamemyapp-${...}/finalName

and given that i have few profiles which I activate through command-line
system properties, is it possible to use the id of the active profile as
part of the final name ?
if for exampel i have:

mvn -Ddbms=postgres package   -  myapp-postgres.war

i tried with ${profile.id} but i get null values..

or maybe there's a mean to use the maven-help-plugin..but i've no idea on
how to do that.

thanks,
valerio
--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni





--
http://valerioschiavoni.blogspot.com
http://jroller.com/page/vschiavoni