You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Brett Porter <br...@apache.org> on 2004/11/01 09:39:40 UTC
Re: cvs commit: maven-plugins/announcement/xdocs changes.xml
>Unfortunately, there's currently no information in the POM that says where
>the artifact can be downloaded from (kind of a <distributionSite> but with
>the external URL). BTW, that could be something useful to add to m2 as it is
>useful for several plugins (multichanges, announcement, etc).
>
>
I'm pretty sure it is already there. Isn't there also a distributionUrl
in m1?
>I don't see any other solution than adding:
>
>maven.announcement.repo.remote=${maven.repo.remote}
>
>Is this what you're looking for?
>
>
That's probably better at a pinch.
Cheers,
Brett
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: cvs commit: maven-plugins/announcement/xdocs changes.xml
Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Brett Porter [mailto:brett@apache.org]
> Sent: lundi 1 novembre 2004 09:40
> To: Maven Developers List
> Subject: Re: cvs commit: maven-plugins/announcement/xdocs changes.xml
>
>
> >Unfortunately, there's currently no information in the POM that says
> where
> >the artifact can be downloaded from (kind of a <distributionSite> but
> with
> >the external URL). BTW, that could be something useful to add to m2 as it
> is
> >useful for several plugins (multichanges, announcement, etc).
> >
> >
> I'm pretty sure it is already there. Isn't there also a distributionUrl
> in m1?
[snip]
I've done a full search in all maven-plugins and I couldn't find it.
However, I've found that I had already added a
maven.announcement.distributionUrl property which defaults to
${maven.repo.remote}/${pom.groupId}/plugins
I'll refactor it.
That said, I had also added another similar property in the xdocs plugin:
maven.xdoc.distributionUrl=http://www.ibiblio.org/maven/maven/plugins
Do you want to add a new distributionUrl element to the POM for m1? If so,
it should point to http://www.ibiblio.org/maven. The exact location could be
derived by suffixing ${pom.groupId}/${pom.type} or even better by using a
maven-provided tag that would compute the path for us (using some java API
in the o.a.m.repository package.
Thanks
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org