hmm, interesting, thanks! I actually just deleted the metadata-local files in the remote repository, since your answer made me check for the file structure of other plugins in the remote repo... and now it's working, great!
Thanks, Sven 2009/8/20 Stephen Connolly <[email protected]> > 2009/8/20 Sven Preßler <[email protected]>: > > 2009/8/20 Stephen Connolly <[email protected]> > > > >> 2009/8/12 Sven Preßler <[email protected]>: > >> > Hello, > >> > > >> > I'm currently using maven 2.0.9. > >> > I've got a project X which uses a Plugin my-plugin with version > >> > 1.0-SNAPSHOT. > >> > How do I force maven to update this plugin from the repository, no > matter > >> > what? > >> > I tried the following: make some changes to the plugin, build it with > >> >>mvn package > >> > and upload the newly created .jar to the repository. > >> > >> how exactly are you doing the upload? > >> > >> There is maven metadata that needs to be updated, if you are not using > >> a repository manager that knows how to do this, and are instead > >> uploading by hand, then this would completely explain your problems > >> > >> -Stephen > >> > > > > > > I'm uploading via a svn commit. > > I commit the .jar and I also commit updated versions of the two > > maven-metadata-local.xml files (I edit the timestamp <lastUpdated/> by > hand) > > Are there other files involved that need to be changed? > > > > Aha! > > You are doing it all wrong! > > Remote repositories and local repositories are not the same thing. > > You cannot use a local repository as a remote repository. > > The short answer is get yourself a good repository manager (e.g. nexus > or artifactory) > > The long answer is get yourself a good repository manager or else use > a webdav based repository and deploy to it only using the maven deploy > plugin (i.e. deploy:deploy-file or deploy:deploy) > > If you insist on doing what you are doing then you will end up with > the issues you are seeing > > -Stephen > > > Sven > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [email protected] > For additional commands, e-mail: [email protected] > >
