geronimo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From siss...@insession.com
Subject Re: How to deploy a single spec jar?
Date Mon, 18 Jul 2005 01:24:06 GMT
sissonj@insession.com wrote on 16/07/2005 01:46:40 PM:

> I am wanting to deploy a RC jar for geronimo\specs\activation
> 
> I have tried the following command in the activation directory
> 
> C:\Projects\J2EE\geronimo_m4qa\geronimo\specs\activation>maven -o 
> jar:deploy -Dmaven.username=jsisson
> 
> It fails because the "maven.repo.central" property is never set because 
> the properties file containing it 
> "C:\Projects\J2EE\geronimo_m4qa\geronimo\project.properties" is never 
read 
> and a blank host name is passed on the ssh/plink command
> 
> Using userBuildPropertiesFile: C:\Documents and 
> Settings\sissonj\build.properties
> Using projectPropertiesFile: 
> 
C:\Projects\J2EE\geronimo_m4qa\geronimo\specs\activation\project.properties
> Using projectBuildPropertiesFile: 
> 
C:\Projects\J2EE\geronimo_m4qa\geronimo\specs\activation\build.properties
> Using userBuildPropertiesFile: C:\Documents and 
> Settings\sissonj\build.properties
> Using projectPropertiesFile: 
> C:\Projects\J2EE\geronimo_m4qa\geronimo\etc\project.properties
> Using projectBuildPropertiesFile: 
> C:\Projects\J2EE\geronimo_m4qa\geronimo\etc\build.properties
> 
> If I only want to deploy just the activation spec JAR, what should I be 
> doing?
> 
> I see in the build instructions on the wiki you can specify 
> -Dmodule.types=specs when running maven in geronimo's root directory, 
but 
> how can I be more specific than that?

To answer my own question for future reference:

maven -o jar:deploy -Dmaven.username=jsisson -Dmodule.types=specs 
-Dmodules=activation

John

This e-mail message and any attachments may contain confidential, 
proprietary or non-public information.  This information is intended 
solely for the designated recipient(s).  If an addressing or transmission 
error has misdirected this e-mail, please notify the sender immediately 
and destroy this e-mail.  Any review, dissemination, use or reliance upon 
this information by unintended recipients is prohibited.  Any opinions 
expressed in this e-mail are those of the author personally.
Mime
View raw message