You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Heritier Arnaud <ah...@axway.com> on 2004/06/21 16:59:58 UTC

RE : diff between jar:deploy[-snapshot] and ear:deploy[-snapshot]

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:marcin.maciukiewicz@altkom.pl] 
> 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
marcin.maciukiewicz@altkom.pl





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