Add the following: after </profiles>: <activeProfiles> <activeProfile>development</activeProfile> </activeProfiles>
-Stephen On 2/16/06, Rasconi Luca (u.e.) <[EMAIL PROTECTED]> wrote: > Hi all, > > i created my own archetypes and deployed it in my internal repository. > > Now I would like to create my app according to these archetypes. > > So: > > 1) I modified settings.xml adding this new profile: > > <profiles> > > <profile> > > <id>development</id> > > <activation> > > <activeByDefault>true</activeByDefault> > > </activation> > > <repositories> > > <repository> > > <id>rossoalice-repo</id> > > <name>proxy repository</name> > > <url>http://192.168.25.217:8089/maven-proxy/repository</url> > > </repository> > > </repositories> > > </profile> > > </profiles> > > > > 2) Execute mvn archetype:create ... > > > > But maven is unable to find my internal repository: > > [ERROR] BUILD ERROR > > [INFO] ---------------------------------------- > > --- > > [INFO] Failed to resolve artifact. > > > > GroupId: it.telecomitalia.rossoalice.maven.archetype > > ArtifactId: rossoalice-archetype-app > > Version: 1.0-SNAPSHOT > > > > Reason: Unable to download the artifact from any repository > > > > > it.telecomitalia.rossoalice.maven.archetype:rossoalice-archetype-app:jar > :1.0-S > > NAPSHOT > > > > from the specified remote repositories: > > central (http://repo1.maven.org/maven2) > > > > somebody can help me? Is a bug? > > > > Tnx in advance, > > Luca > > > > > > > > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
