It should always be generated on install and deploy.

It has a different name of maven-metadata-REPOSITORY_ID.xml in the
local repository.

In the final release, the extra flag is not needed.

- Brett

On 10/14/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> Solved the problem by copying maven-deps-plugin/maven-metadata-local.xml into
> mere maven-metadata.xml.
>
> Looks like maven-metatdata.xml is the file that is read when an outside user
> looks for plugin info. Is there a way to automatically generate this file when
> I'm installing the plugin ?
>
> --- Yann Le Du <[EMAIL PROTECTED]> a écrit :
>
> > Yes, I did that. More exactly, I used this in the plugin POM :
> >
> > ~      <plugin>
> > ~        <artifactId>maven-install-plugin</artifactId>
> > ~        <configuration>
> > ~          <updateReleaseInfo>true</updateReleaseInfo>
> > ~        </configuration>
> > ~      </plugin>
> >
> > ...so that my corp repo maven-deps-plugin/maven-metatdata-local.xml contains
> > :
> >
> > ~  <metadata>
> > ~    <groupId>org.apache.maven.plugins</groupId>
> > ~    <artifactId>maven-deps-plugin</artifactId>
> > ~    <version>1.0</version>
> > ~    <versioning>
> > ~      <latest>1.0</latest>
> > ~      <release>1.0</release>
> > ~      <versions>
> > ~        <version>1.0</version>
> > ~      </versions>
> > ~      <lastUpdated>20051011085748</lastUpdated>
> > ~    </versioning>
> > ~  </metadata>
> >
> > Yann
> >
> > --- Brett Porter <[EMAIL PROTECTED]> a écrit :
> >
> > > Have you done m2 -DupdateReleaseInfo=true [install|deploy] to ensure
> > > the release gets published with the new information?
> > >
> > > - Brett
> > >
> > > On 10/11/05, Yann Le Du <[EMAIL PROTECTED]> wrote:
> > > > Got it. But is the behaviour that I described normal ? If not, I can 
> > > > file
> > > in
> > > > JIRA. If yes, then I got a problem because I tried a dozen confs to no
> > > avail.
> > > >
> > > > At the moment, I'm dealing with :
> > > >
> > > > pom.xml :
> > > >
> > > > ~  <pluginRepositories>
> > > > ~    <pluginRepository>
> > > > ~      <releases>
> > > > ~        <enabled>true</enabled>
> > > > ~        <updatePolicy>always</updatePolicy>
> > > > ~      </releases>
> > > > ~      <snapshots>
> > > > ~        <enabled>true</enabled>
> > > > ~        <updatePolicy>always</updatePolicy>
> > > > ~      </snapshots>
> > > > ~      <id>corp-central</id>
> > > > ~      <url>http://host.corp.com/maven/repository/</url>
> > > > ~    </pluginRepository>
> > > > ~  </pluginRepositories>
> > > >
> > > >
> > > > Calling my home-made plugin gives :
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> >
> >
> >
> >
> >
> > ___________________________________________________________________________
> > Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> > Téléchargez cette version sur http://fr.messenger.yahoo.com
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
>
>
>
>
>
>
> ___________________________________________________________________________
> Appel audio GRATUIT partout dans le monde avec le nouveau Yahoo! Messenger
> Téléchargez cette version sur http://fr.messenger.yahoo.com
>
> ---------------------------------------------------------------------
> 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