I have exactly the same parametrage and when I try to create an archetype I have the following error
[ERROR] BUILD ERROR [INFO] ---------------------------------------------------------- [INFO] Failed to resolve artifact. GroupId: org.apache.maven.archetypes ArtifactId: maven-archetype-webapp Version: RELEASE Reason: Unable to determine the release version org.apache.maven.archetypes:maven-archetype-webapp:jar:RELEASE Arnaud Bailly wrote: > > Hi, > The repository must be available to all developpers, usually through > http (or https). You just need to add reference to it in pom.xml : > > <repositories> > <repository> > <id>repoid</id> > <url>http://my.host/myrepo</url> > </repository> > </repositories> > > And/or you can set this repository to be a mirror of 'central' (ie. > ibiblio) > in settings.xml : > > <mirror> > <id>mirrorId</id> > <mirrorOf>central</mirrorOf> > <name>Human Readable Name for this Mirror.</name> > <url>http://my.repository.com/repo/path</url> > </mirror> > > This way, any request for central's artifacts will be redirected to > this internal repository. > > regards, > -- > Arnaud Bailly, Dr. - Ingénieur de Recherche > NORSYS > 1, rue de la Cense des Raines > ZAC du Moulin > 59710 ENNEVELIN > Tel : (33) 3 28 76 56 76 > Mob : (33) 6 17 12 19 78 > Fax : (33) 3 28 76 57 00 > Web : http://www.norsys.fr > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > -- View this message in context: http://www.nabble.com/how-to-instal-internal-repository--t1297187.html#a3455678 Sent from the Maven - Users forum at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
