Belay that! :-)
I now remembered that I figured this out two or three weeks ago... (Ugh!)
I was trying to create a new project using an archetype... And what I
had previously learned is that there is a known bug that if you are
not working next to an established "pom.xml" file, maven is not
correctly reading your "settings.xml" file(s).
I can't find my references right now, but just beware everyone!
- Nelz
On 7/11/07, Nelz <[EMAIL PROTECTED]> wrote:
Hello...
I'm running Maven 2.0.7 on Ubuntu 7.04.
When I run "mvn help:effective-settings", this is what I get:
<?xml version="1.0" encoding="UTF-8"?><settings>
<localRepository>C:/mystuff/maven/repository</localRepository>
<servers>
<server>
<username>stuffviewer</username>
<password>stuffviewer</password>
<id>central</id>
</server>
<server>
<username>stuffviewer</username>
<password>stuffviewer</password>
<id>snapshots</id>
</server>
</servers>
<profiles>
<profile>
<repositories>
<repository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<url>http://lsome.ocal.net:9090/artifactory/repo</url>
</repository>
<repository>
<releases>
<enabled>false</enabled>
</releases>
<id>snapshots</id>
<url>http://some.ocal.net:9090/artifactory/repo</url>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>central</id>
<url>http://some.ocal.net:9090/artifactory/plugins-releases</url>
</pluginRepository>
<pluginRepository>
<releases>
<enabled>false</enabled>
</releases>
<id>snapshots</id>
<url>http://some.ocal.net:9090/artifactory/plugins-snapshots</url>
</pluginRepository>
</pluginRepositories>
<id>stuffuser</id>
</profile>
</profiles>
<activeProfiles>
<activeProfile>stuffuser</activeProfile>
</activeProfiles>
</settings>
Now, this all seems right for me, but for some reason it is
continually hitting repo1.maven.org for stuff, and not going through
my proxy.
Can anyone shed some light on what I'm doing wrong?
Thanks!
- Nelz
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]