Jose, I tried to copy the jar files to local repository first to check your
suggestion. Let me explain my project a litlle bit. The subproject artifactid
is "SilocBR" and it generates "SilocBR.jar", besides this, I generate other 2
jar files using ant script inside maven.xml: "SilocBRClient.jar" and
"SilocBRWeb.jar". When the "artifact:install", described below, executes, it
copies "SilocBRClient.jar" file to local repository but it changes its name to
"SilocBR.jar", as it is inside project.xml.
<artifact:install
artifact="${maven.build.dir}/${pom.artifactId}Client$-${pom.currentVersion}.jar"
type="jar"
project="${pom}"/>
Is there a work around for this kind of thing?
Regards,
Roberto de Castro
Analista de Suporte
Cetip - Desus Rio de Janeiro
+55 21 2276-7439
mailto:[EMAIL PROTECTED]
-----Mensagem original-----
De: Jose Gonzalez Gomez [mailto:[EMAIL PROTECTED]
Enviada em: quinta-feira, 16 de dezembro de 2004 14:01
Para: Maven Users List
Assunto: Re: Deploy more than one artifact of one subproject to the
remote repository
I do this in maven.xml to install the schema file generate with
hibernate to the local repository. I guess you may do something
similar just using artifact:deploy instead of artifact install, just
read the documentation of artifact:
<project default="jar" xmlns:artifact="artifact">
<postGoal name="jar:install">
<attainGoal name="hibernate:schema-export"/>
<artifact:install
artifact="${maven.build.dir}/schema/${pom.artifactId}-${pom.currentVersion}-schema.sql"
type="schema" project="${pom}"/>
</postGoal>
</project>
Regards
Jose
On Thu, 16 Dec 2004 12:20:46 -0200, Roberto Castro
<[EMAIL PROTECTED]> wrote:
> Hi ! Althought not recommended, I generate one jar, one war and one ear
> artifact in only one Maven subproject. The system is not mine and I cannot
> modify it, but I'd like to deploy all artifacts to the remote repository. Is
> it possible to do this kind of thing?
> I can copy all artifacts to the local repository using ant copy command in
> "maven.xml" file, but I don't know what to do to copy to the remote
> repository.
> Thanks in advance for the help.
> Regards,
>
> Roberto de Castro
> Analista de Suporte
> Cetip - Desus Rio de Janeiro
> +55 21 2276-7439
> mailto:[EMAIL PROTECTED]
>
> Aten��o: Esta mensagem foi enviada para uso exclusivo do(s) destinat�rios(s)
> acima
> identificado(s), podendo conter informa��es e/ou documentos
> confidencias/privilegiados e seu sigilo � protegido por lei.
> Caso voc� tenha recebido por engano, por favor, informe o remetente e
> apague-a de
> seu sistema.
> Notificamos que � proibido por lei a sua reten��o, dissemina��o,
> distribui��o, c�pia ou
> uso sem expressa autoriza��o do remetente.
> Opini�es pessoais do remetente n�o refletem, necessariamente, o ponto de
> vista da
> CETIP, o qual � divulgado somente por pessoas autorizadas.
>
> Attention: This message was sent for exclusive use of the addressees above
> identified, being able to contain information and or privileged/confidential
> documents
> and law protects its secrecies.
> In case that you it has received for deceit, please, it informs the shipper
> and erases it
> of your system.
> We notify that law forbids its retention, dissemination, distribution, copy
> or use without
> express authorization.
> Personal opinions of the shipper do not reflect, necessarily, the point of
> view of the
> CETIP, which is only divulged by authorized people.
>
> ---------------------------------------------------------------------
> 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]
Aten��o: Esta mensagem foi enviada para uso exclusivo do(s) destinat�rios(s)
acima
identificado(s), podendo conter informa��es e/ou documentos
confidencias/privilegiados e seu sigilo � protegido por lei.
Caso voc� tenha recebido por engano, por favor, informe o remetente e apague-a
de
seu sistema.
Notificamos que � proibido por lei a sua reten��o, dissemina��o, distribui��o,
c�pia ou
uso sem expressa autoriza��o do remetente.
Opini�es pessoais do remetente n�o refletem, necessariamente, o ponto de vista
da
CETIP, o qual � divulgado somente por pessoas autorizadas.
Attention: This message was sent for exclusive use of the addressees above
identified, being able to contain information and or privileged/confidential
documents
and law protects its secrecies.
In case that you it has received for deceit, please, it informs the shipper and
erases it
of your system.
We notify that law forbids its retention, dissemination, distribution, copy or
use without
express authorization.
Personal opinions of the shipper do not reflect, necessarily, the point of view
of the
CETIP, which is only divulged by authorized people.
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]