I don't currently use profiles (I just started using M2 a couple weeks ago), so I just specify the <repositories> section at the top level (at the same level as <profiles> or <build>). You might try that before tracking down profile-activation issues...
-Stephen On 10/11/05, Marrs, Thomas <[EMAIL PROTECTED]> wrote: > Stephen, > I believe I followed your suggestion, but it still doesn't work - Maven > doesn't see my HTTP repository out on Tomcat. > As far as I can tell, I've activated the profile, but Maven acts like I > haven't > So, here's an excerpt from my top-level POM: > > --- > <project xmlns="http://maven.apache.org/POM/4.0.0" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xsi:schemaLocation="http://maven.apache.org/maven-v4_0_0.xsd"> > > <modelVersion>4.0.0</modelVersion> > <name>Acme</name> > <groupId>acme</groupId> > <version>1.0-SNAPSHOT</version> > <artifactId>portal</artifactId> > <packaging>pom</packaging> > > <inceptionYear>2005</inceptionYear> > <description>Acme Portal</description> > <url>http://www.acme.com/</url> > > <modules> > <module>...</module> > ... > </modules> > > <organization> > <name>Acme</name> > <url>http://www.acme.com/</url> > </organization> > > <developers> > <developer> > <name>Fred Smithr</name> > <id>fsmtih</id> > <email>[EMAIL PROTECTED]</email> > <organization>Acme</organization> > </developer> > </developers> > > <profiles> > <profile> > <activation> > <activeByDefault/> > </activation> > <repositories> > <repository> > <id>shared</id> > <name>shared</name> > <url>http://localhost:18080/repository</url> > </repository> > <repository> > <id>repo1</id> > <name>repo1</name> > <url>http://repo1.maven.org</url> > </repository> > </repositories> > </profile> > </profiles> > > <build> > ... > </build> > ... > </project> > --- > > Do you haven any ideas? Am I missing something? What did I do wrong? Thanks > for your help. > > Tom --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]