You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by rk...@cisco.com on 2005/10/19 22:09:18 UTC
[m102]: Problem with war:deploy
With m102, a project "apps" uses artifactId "dcm-apps" and uses
war plugin with the settings
maven.war.final.name: Foo.war
However, while war:war generates Foo.war, the war:deploy goal
chooses to rename it to ${pom.artifactId}.war
$ maven war:deply
war:deploy:
[echo] maven.repo.list is set - using artifact deploy mode
Will deploy to 1 repository(ies): <omitted>
Deploying to repository: <omitted>
Deploying: /vob/nm_dcm/apps/project.xml-->dcm/poms/dcm-apps-1.0.pom
Deploying: /vob/nm_dcm/apps/project.xml.md5-->dcm/poms/dcm-apps-1.0.pom.md5
Will deploy to 1 repository(ies): <omitted>
Deploying to repository: <omitted>
Deploying: /vob/nm_dcm/apps/../target/dcm.war-->dcm/wars/dcm-apps-1.0.war
Deploying: /vob/nm_dcm/apps/../target/dcm.war.md5-->dcm/wars/dcm-apps-1.0.war.md5
How can I force war:deploy goal from changing the name of the
deployed artifact?
Thanks,
Rk
x77309
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: [m102]: Problem with war:deploy
Posted by Arnaud HERITIER <ah...@gmail.com>.
Ok. I don't know if it can be considered as a bug.
It's the default naming of an artifact (${pom.artifactId}.${type}) in the repository (jars, ears, ...).
Arnaud
> -----Message d'origine-----
> De : rks@cisco.com [mailto:rks@cisco.com]
> Envoyé : mercredi 19 octobre 2005 23:43
> À : Maven Users List
> Objet : RE: [m102]: Problem with war:deploy
>
> I do not mind if war:deploy wants to append
> ${pom.currentVersion} or SNAPSHOT to the deploted artifact on
> the remote repo; but my issue is that it is changing the name
> of the artifact from
> ${maven.war.final.name}.war
> to
> ${pom.artifactId}.war
>
> Thanks,
>
> Rk
> x77309
>
> On Wed, 19 Oct 2005, Arnaud HERITIER wrote:
>
> > In fact I'm not sure you can deploy on a maven repository
> an artifact without a version. It's the fundation of the repository.
> >
> > Arnaud
> >
> > > -----Message d'origine-----
> > > De : rks@cisco.com [mailto:rks@cisco.com] Envoyé : mercredi 19
> > > octobre 2005 22:09 À : Maven Users List Objet : [m102]:
> Problem with
> > > war:deploy
> > >
> > > With m102, a project "apps" uses artifactId "dcm-apps"
> and uses war
> > > plugin with the settings
> > >
> > > maven.war.final.name: Foo.war
> > >
> > > However, while war:war generates Foo.war, the war:deploy goal
> > > chooses to rename it to ${pom.artifactId}.war
> > >
> > > $ maven war:deply
> > > war:deploy:
> > > [echo] maven.repo.list is set - using artifact deploy mode
> > > Will deploy to 1 repository(ies): <omitted>
> > > Deploying to repository: <omitted>
> > > Deploying:
> > > /vob/nm_dcm/apps/project.xml-->dcm/poms/dcm-apps-1.0.pom
> > > Deploying:
> > > /vob/nm_dcm/apps/project.xml.md5-->dcm/poms/dcm-apps-1.0.pom.md5
> > > Will deploy to 1 repository(ies): <omitted>
> > > Deploying to repository: <omitted>
> > > Deploying:
> > > /vob/nm_dcm/apps/../target/dcm.war-->dcm/wars/dcm-apps-1.0.war
> > > Deploying:
> > >
> /vob/nm_dcm/apps/../target/dcm.war.md5-->dcm/wars/dcm-apps-1.0.war.m
> > > d5
> > >
> > > How can I force war:deploy goal from changing the name of the
> > > deployed artifact?
> > >
> > > Thanks,
> > >
> > > Rk
> > > x77309
> > >
> > >
> --------------------------------------------------------------------
> > > - 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
> >
>
> ---------------------------------------------------------------------
> 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
RE: [m102]: Problem with war:deploy
Posted by rk...@cisco.com.
I do not mind if war:deploy wants to append ${pom.currentVersion}
or SNAPSHOT to the deploted artifact on the remote repo; but
my issue is that it is changing the name of the artifact
from
${maven.war.final.name}.war
to
${pom.artifactId}.war
Thanks,
Rk
x77309
On Wed, 19 Oct 2005, Arnaud HERITIER wrote:
> In fact I'm not sure you can deploy on a maven repository an artifact without a version. It's the fundation of the repository.
>
> Arnaud
>
> > -----Message d'origine-----
> > De : rks@cisco.com [mailto:rks@cisco.com]
> > Envoy� : mercredi 19 octobre 2005 22:09
> > � : Maven Users List
> > Objet : [m102]: Problem with war:deploy
> >
> > With m102, a project "apps" uses artifactId "dcm-apps" and
> > uses war plugin with the settings
> >
> > maven.war.final.name: Foo.war
> >
> > However, while war:war generates Foo.war, the war:deploy goal
> > chooses to rename it to ${pom.artifactId}.war
> >
> > $ maven war:deply
> > war:deploy:
> > [echo] maven.repo.list is set - using artifact deploy mode
> > Will deploy to 1 repository(ies): <omitted>
> > Deploying to repository: <omitted>
> > Deploying:
> > /vob/nm_dcm/apps/project.xml-->dcm/poms/dcm-apps-1.0.pom
> > Deploying:
> > /vob/nm_dcm/apps/project.xml.md5-->dcm/poms/dcm-apps-1.0.pom.md5
> > Will deploy to 1 repository(ies): <omitted>
> > Deploying to repository: <omitted>
> > Deploying:
> > /vob/nm_dcm/apps/../target/dcm.war-->dcm/wars/dcm-apps-1.0.war
> > Deploying:
> > /vob/nm_dcm/apps/../target/dcm.war.md5-->dcm/wars/dcm-apps-1.0.war.md5
> >
> > How can I force war:deploy goal from changing the name of the
> > deployed artifact?
> >
> > Thanks,
> >
> > Rk
> > x77309
> >
> > ---------------------------------------------------------------------
> > 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
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: [m102]: Problem with war:deploy
Posted by Arnaud HERITIER <ah...@gmail.com>.
In fact I'm not sure you can deploy on a maven repository an artifact without a version. It's the fundation of the repository.
Arnaud
> -----Message d'origine-----
> De : rks@cisco.com [mailto:rks@cisco.com]
> Envoyé : mercredi 19 octobre 2005 22:09
> À : Maven Users List
> Objet : [m102]: Problem with war:deploy
>
> With m102, a project "apps" uses artifactId "dcm-apps" and
> uses war plugin with the settings
>
> maven.war.final.name: Foo.war
>
> However, while war:war generates Foo.war, the war:deploy goal
> chooses to rename it to ${pom.artifactId}.war
>
> $ maven war:deply
> war:deploy:
> [echo] maven.repo.list is set - using artifact deploy mode
> Will deploy to 1 repository(ies): <omitted>
> Deploying to repository: <omitted>
> Deploying:
> /vob/nm_dcm/apps/project.xml-->dcm/poms/dcm-apps-1.0.pom
> Deploying:
> /vob/nm_dcm/apps/project.xml.md5-->dcm/poms/dcm-apps-1.0.pom.md5
> Will deploy to 1 repository(ies): <omitted>
> Deploying to repository: <omitted>
> Deploying:
> /vob/nm_dcm/apps/../target/dcm.war-->dcm/wars/dcm-apps-1.0.war
> Deploying:
> /vob/nm_dcm/apps/../target/dcm.war.md5-->dcm/wars/dcm-apps-1.0.war.md5
>
> How can I force war:deploy goal from changing the name of the
> deployed artifact?
>
> Thanks,
>
> Rk
> x77309
>
> ---------------------------------------------------------------------
> 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