Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Laura Hinojosa
Is it possible to deploy a jar without having to rebuild it?  Let's said that 
you have a jar, version 1.0.0-beta-3 that was deployed to a test repository.  
You have tested it very well, so you want to release that jar, without having 
to rebuild it.  Is it possible to rename the jar to version 1.0.1 and deploy it 
to the production repository?
 
Thanks for you help and Happy Holidays!!



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: Is it possible to deploy a jar without rebuilding

2006-12-23 Thread Laura Hinojosa
Thank you!
 
Do you know what tools?
 
Laura



From: Tom Huybrechts [mailto:[EMAIL PROTECTED]
Sent: Sat 12/23/2006 8:48 AM
To: Maven Users List
Subject: Re: Is it possible to deploy a jar without rebuilding



Renaming the jar does not work, since the associated POM also has
embedded version information. An alternative is to move to 1.0.1
first, and deploy it to a staging repository, test it, and then copy
it over (there are tools that can do this).

Tom


On 12/23/06, Laura Hinojosa [EMAIL PROTECTED] wrote:
 Is it possible to deploy a jar without having to rebuild it?  Let's said that 
 you have a jar, version 1.0.0-beta-3 that was deployed to a test repository.  
 You have tested it very well, so you want to release that jar, without having 
 to rebuild it.  Is it possible to rename the jar to version 1.0.1 and deploy 
 it to the production repository?

 Thanks for you help and Happy Holidays!!

 

 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.

 





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

Dependency range

2006-12-21 Thread Laura Hinojosa
When I have a range for a dependency in an artifact and I deploy that artifact, 
will it keep the dependency range in the pom's artifact that gets deployed with 
it?  Or will it set the version used to create the artifact?
 
Is it possible to know what version of each dependency used during the creation 
of an artifact, when the dependencies have ranges?
 
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.






Properties in profiles

2006-12-05 Thread Laura Hinojosa
Hi all!
 
I'm trying to create a pom for my project that has two different deployment 
environments, which are mutually exclusive, but I need to have one by default.
 
I tried using properties but even when maven-help-plugin tells me the correct 
profile gets activated and the effective pom is correct, seems that the 
properties don't get overwritten.  Here is what I'm doing:
 
project

...

properties

   buildStatedev/buildState

   jr2DeployPath/devDeployPath/jr2DeployPath

   repositoryURLhttp://developmentRepository/repositoryURL

/properties

repositories

   repository

idalm-${buildState}/id

url${repositoryURL}/url

   /repository

/repositories

pluginRepositories

   pluginRepository

idalm-${buildState}/id

url${repositoryURL}/url

   /pluginRepository

/pluginRepositories

profiles

   profile

idprod/id

properties

 buildStateprod/buildState

 
jr2DeployPath/repos/HCOI/R2-ALM/repository/group-m2/jr2DeployPath

 
repositoryURLhttp://r2alm.ghq.hsbc:8080/alm/proxy/hsbc/group-m2/repositoryURL

/properties

   /profile

/profiles

build

   plugins 

plugin

 groupIdcom.mygroup/groupId

 artifactIdmaven-my-plugin/artifactId

 version1.0.1/version

 extensionstrue/extensions

 configuration

 jr2Deploy

path${jr2DeployPath}/path

 /jr2Deploy

/configuration

   /plugin 

/plugins

/build

...

/project

And even when I execute this pom, activating the profile with -Pprod, the 
development path and repository are active.  Looks like the profile's 
properties can't overwrite those from the main pom.  Is that the case?? or am I 
doing something wrong?

Thanks for your help

Laura Hinojosa




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.






Final name

2006-11-06 Thread Laura Hinojosa
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

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.




Is it possible to add a property from a Mojo

2006-10-13 Thread Laura Hinojosa
 
Is it possible to add a Maven property from a Mojo??  Anyone know something 
about that??
 
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.






Is it possible to have to plugins that define the same packaging and be execute in the same build

2006-10-13 Thread Laura Hinojosa
Is it possible to have two plugins that implement the same packaging type and 
be call (both lifecycles) in the same build?
 
I tested and right now only the first plugin's lifecycle gets executed, unless 
I call the second plugin in the executions section, but I have to call each 
goal.
 
I will appreciate any information about it
 
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.






Local repository

2006-10-09 Thread Laura Hinojosa
Is it possible to change the location of the local repository on the fly 
(inside a Mojo? ( while maven is already executing )

Thanks for helping

Laura Hinojosa




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.






How can I install an artifact with a classifier

2006-10-04 Thread Laura Hinojosa
I want to use the classifier (from the Dependency) as an id to relate the 
dependencies to other information, but I don't find any information about how 
to install and deploy an artifact with that classifier .
 
Is that possible??
 
Thank you
 
Laura Hinojosa



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.






Is it possible to access the Users settings from a Mojo??

2006-09-29 Thread Laura Hinojosa


Is it possible to access the Users settings from a Mojo??

Thanks

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: Can I get the user settings from a Mojo

2006-09-29 Thread Laura Hinojosa
Thank you! It work, I just have to change the class name.  The correct name is 
Settings:
 
 /**
 * @parameter expression=${settings}
 * @readonly
 */
 Settings settings;

 

 

 

From Rahul Thakur [EMAIL PROTECTED]   
Subject  Re: Can I get the user settings from a Mojo
Date Fri, 29 Sep 2006 05:00:12 GMT  
I think you can use something like this in your Mojo

 /**
 [EMAIL PROTECTED] expression=${settings}
 * @readonly
 */
 MavenSettings settings;

PS: pls check the name spelling for the Maven settings class.

HTH,

Rahul



From: Laura Hinojosa [mailto:[EMAIL PROTECTED]
Sent: Thu 9/28/2006 11:31 PM
To: dev@maven.apache.org
Cc: users@maven.apache.org
Subject: Can I get the user settings from a Mojo




Is it possible to access the Users settings from a Mojo??

Thanks

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.








Can I get the user settings from a Mojo

2006-09-28 Thread Laura Hinojosa

Is it possible to access the Users settings from a Mojo??

Thanks

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.