Well, Maven 2 Beta 3 is available, no reason not to upgrade to it, really. But that shouldn't have anything to do with your problem.
Run the following command and then post the output of the command here: m2 -X package -Stephen On 10/11/05, Marrs, Thomas <[EMAIL PROTECTED]> wrote: > OK, I removed the <profiles> section, and it still doesn't work. Maven 2 > still doesn't see my Tomcat-based repository - it completely ignores my > <repositories>. But I can access this URL with my browser. > Here's my current 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> > > <repositories> > <repository> > <id>shared</id> > <name>shared</name> > <url>http://localhost:18080/repository</url> > </repository> > </repositories> > > <build> > ... > </build> > ... > </project> > --- > > What am I doing wrong? Have I missed something? I'm using Maven 2 Beta 2 - > should I upgrade to soemthing else? > Thanks for your help. > > Tom > > -----Original Message----- > From: Stephen Duncan [mailto:[EMAIL PROTECTED] > Sent: Tuesday, October 11, 2005 1:50 PM > To: Maven Users List > Subject: Re: M2 and Remote HTTP Repo on Tomcat > > 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] > > The information in this electronic mail message is sender's business > Confidential and may be legally privileged. It is intended solely for the > addressee(s). Access to this Internet electronic mail message by anyone else > is unauthorized. If you are not the intended recipient, any disclosure, > copying, distribution or any action taken or omitted to be taken in reliance > on it is prohibited and may be unlawful. > The sender believes that this E-mail and any attachments were free of any > virus, worm, Trojan horse, and/or malicious code when sent. This message and > its attachments could have been infected during transmission. By reading the > message and opening any attachments, the recipient accepts full > responsibility for taking protective and remedial action about viruses and > other defects. Cendant is not liable for any loss or damage arising in any > way from this message or its attachments. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Stephen Duncan Jr www.stephenduncanjr.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]