You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Laura Hinojosa <lh...@objectwave.com> on 2006/11/06 21:31:55 UTC

Final name

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.

------------------------------------------------



Re: Final name

Posted by "dawn.angelito" <da...@simulalabs.com>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Final name

Posted by Wayne Fay <wa...@gmail.com>.
This is correct. Or rather, this is how is works under Maven.

Wayne

On 11/6/06, jiangshachina <ji...@gmail.com> wrote:
>
> In my mind,
> <build>
>        <finalName>finalName</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: mykel.alvis@gmail.com 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 <lh...@objectwave.com> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Final name

Posted by jiangshachina <ji...@gmail.com>.
In my mind, 
<build>
	<finalName>finalName</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: mykel.alvis@gmail.com 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 <lh...@objectwave.com> 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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


RE: Final name

Posted by Laura Hinojosa <lh...@objectwave.com>.
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: mykel.alvis@gmail.com 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 <lh...@objectwave.com> 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

Posted by Mykel Alvis <my...@weirdness.com>.
Yep.  Set <finalName>

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

On 11/6/06, Laura Hinojosa <lh...@objectwave.com> 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.