Hello Marcin,

I think that ear, war and newer plugins use the artifact plugin to deploy.

You must define properties like it is explained here :
http://maven.apache.org/reference/plugins/artifact/properties.html

Arnaud


> -----Message d'origine-----
> De : Marcin Maciukiewicz [mailto:[EMAIL PROTECTED] 
> Envoy� : lundi 21 juin 2004 16:35
> � : Maven Users List
> Objet : diff between jar:deploy[-snapshot] and ear:deploy[-snapshot]
> 
> 
> 
> Hello folks.
> v.: 1.0-rc3
> 
> It's about remote repository deployment.According to the: 
> http://maven.apache.org/reference/user-guide.html#Behavioural_
Properties
my $HOME/build.properties provides "maven.username, maven.remote.group, 
maven.repo.central, maven.repo.central.directory" properties.

They are enough for jar:deploy goal but ear:deploy says that: "No remote repository 
was defined."

I see problems with ear:deploy and ear:deploy-snapshot.
Those goals are implemented differently from jar:deploy's. Probably they expects 
different properties to work - sounds like a bug. I'm not sure. Can anyone explain 
this?

Workaround:
Copy-pasted jar:deploy[-snapshot] goals code into ejb plugin with some 
replaces should help.

-- 
Marcin Maciukiewicz
[EMAIL PROTECTED]





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