were you able to create the internal reposiotry successfully? I am still lookign for tips to get this working.
Carlos Cadete wrote: > > Hi, > > I have my local maven repository in $HOME/.m2/repository and I want > to change my local repository to c:\repository so I change in settings > <localRepository>c:\repository</localRepostory> and that runs ok. > But I want to use $HOME/.m2/repository as my central repository so I > create in global settings > > <mirror> > <id>MyMirror</id> > <mirrorOf>central</mirrorOf> > <name>My New Repositorio</name> > <url>file://$HOME\.m2\repository</url> > </mirror> > > but it give me the error > > [INFO] > ------------------------------------------------------------------------ > [ERROR] BUILD ERROR > [INFO] > ------------------------------------------------------------------------ > [INFO] The plugin 'org.apache.maven.plugins:maven-resources-plugin' does > not exi > st or no valid version could be found > > I notice that it creates file > c:\repository\org\apache\plugins\maven-resources-pluin\maven-metadata-central.xml > > but it differs from the one I have in $HOME/.m2/repository so I replace > it, run again and it runs for this plugins, but the same problem arises > for the other plugins > > the file it creates is something like this that don't work > > <?xml version="1.0" encoding="UTF-8"?> > <metadata> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-resources-plugin</artifactId> > <version>LATEST</version> > </metadata> > > witch differs from the one in repository > > <metadata> > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-resources-plugin</artifactId> > <versioning> > <latest>2.1</latest> > <release>2.1</release> > <versions> > <version>2.0-beta-1</version> > <version>2.0-beta-2</version> > <version>2.0</version> > <version>2.1</version> > </versions> > <lastUpdated>20051025005815</lastUpdated> > </versioning> > </metadata> > > so is this a bug? If it is not what is wrong to give th error? > > I am using maven 2.0.4 the lastest version. > > > > > -- View this message in context: http://www.nabble.com/-M2--Bug%3A-Creating-Internal-repository-tf1441274.html#a5750130 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
