I have the following two entries in my pom.xml: <repositories> <repository> <id>central</id> <name>Upromise Local Repository</name> <layout>default</layout> <url>http://build.corp.upromise.com/mavenrepository</url> </repository> </repositories>
<pluginRepositories> <pluginRepository> <id>local-central</id> <name>main</name> <layout>default</layout> <url>file://build.corp.upromise.com/mavenrepository</url> </pluginRepository> </pluginRepositories> Is this wrong? -----Original Message----- From: Tim Kettler [mailto:[EMAIL PROTECTED] Sent: Monday, July 10, 2006 10:52 AM To: Maven Users List Subject: Re: Interrnal remote repository Did you specify your internal repo as a plugin repository in your settings.xml/pom.xml? EJ Ciramella schrieb: > Can someone tell me please if this is how I should be installing? > > Taking jars/poms from my .m2 directory and using the following command to install them into the remote repository? > > If so, why maven 2 builds going to repo1 still for all kinds of plugins (scroll down)? > > -----Original Message----- > From: EJ Ciramella [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 08, 2006 10:37 PM > To: Maven Users List > Subject: RE: Interrnal remote repository > > I'm using the following syntax; > > mvn deploy:deploy-file -DgroupId=<gid> -DartifactId=<aid> -Dversion=<version> -Dpackaging=<pkgtype> -Dfile=<file> -DrepositoryId=central -Durl=<url> > > This is how I'm installing to my internal remote repository. > > Doesn't this generate all the metadata info? > > -----Original Message----- > From: Arnaud Bailly [mailto:[EMAIL PROTECTED] > Sent: Saturday, July 08, 2006 2:03 PM > To: Maven Users List > Subject: Re: Interrnal remote repository > > "EJ Ciramella" <[EMAIL PROTECTED]> writes: > >> Could you elaborate? I'm kinda a maven noob. >> > > Information about plugins is kept in metadata files in the repo so > that they can be resolved. Not sure in your particular case but: > - check your local repository (maybe try removing the artefact that > cannot be resolved) > - check metadata files in the remote repository (in the group > directory I think > - BTW, the correct (I think) groupId syntax is dot-separated > > In my case, I had the problem because I did not understood the > difference between install and deploy (the metadata files seems to be > different): I kept building a plugin and "install"ing, then manually > copying the files. Everything ran fine on the machine that did the > install but for other users on different machine, thy kept having the > same error than yours. > > HTH, not sure I am very clear not very precise. --------------------------------------------------------------------- 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]