I have been having the same issue.
On 12/29/05, Ryan Marsh <[EMAIL PROTECTED]> wrote: > > John, > > for some reason the pluginRepositories that i have put in > settings.xml are not getting used to look for plugins. i know the > syntax is correct and the profile is active. what is the other > missing piece? > > here is my settings.xml > > <settings> > <profiles> > <profile> > <id>default</id> > <activation> > <activeByDefault/> > </activation> > <repositories> > <repository> > <id>snapshots</id> > <url>http://192.168.1.102/~ryan</url> > <layout>default</layout> > </repository> > </repositories> > <pluginRepositories> > <pluginRepository> > <id>snapshots</id> > <url>http://192.168.1.102/~ryan</url> > <release> > <enabled/> > <updatePolicy>always<updatePolicy/> > </release> > </pluginRepository> > </pluginRepositories> > </profile> > </profiles> > <activeProfiles> > <activeProfile>default</activeProfile> > </activeProfiles> > <pluginGroups> > <pluginGroup>org.apache.maven.plugins</pluginGroup> > </pluginGroups> > </settings> > > my plugin is in org.apache.maven.plugins.maven-myproject-plugin and > all the maven-metadata.xml files in my repo are done exactly like > those in central. i just don't think it's even checking my repo. > > > On Dec 29, 2005, at 5:01 PM, John Fallows wrote: > > > Ryan, > > > > You can use the <pluginRepositories> section of ~/.m2/settings.xml. > > > > Note: this file is located in C:\Documents and > > Settings\<userid>\.m2\settings.xml on WinXP. > > > > Kind Regards, > > John Fallows. > > > > On 12/29/05, Ryan Marsh <[EMAIL PROTECTED]> wrote: > >> > >> Is it possible to get maven2 to automatically download plugins from a > >> remote repository other than central? I have been unsuccessful in > >> getting mvn to use my own remote repository to download plugins from. > >> > >> This is for initial generation of a project so I can't specify > >> <pluginRepositories> in a POM because there is none yet. I would like > >> to just add the project repo to settings.xml and see 'mvn > >> myproject:generate' work right off the bat. > >> > >> Ryan Marsh > >> (281) 785-1805 > >> [EMAIL PROTECTED] > >> > >> > >> > >> > >> > >> --------------------------------------------------------------------- > >> To unsubscribe, e-mail: [EMAIL PROTECTED] > >> For additional commands, e-mail: [EMAIL PROTECTED] > >> > >> > > > > > > -- > > Author Pro JSF and Ajax: Building Rich Internet Components > > http://www.apress.com/book/bookDisplay.html?bID=10044 > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
