The funny thing is when I used my new settings (below) the thing
actually downloaded things.. I dunno if this is the correct behaviour..
I've taken this new setting from here and added the previous proxy and
localrepo tags:
http://www.hibernate.org/422.html
I created a new blank directory in F:\m2ws (this time my repo is in
F:\m2repo, I'm using different machine but the environment settings
should be the same with the previous threads)
And then ran these two commands:
mvn clean install
mvn eclipse:eclipse
the output is at the end of this post..
so getting back to my previous question,
it's shouldn't be a proxy/connection error.. was it an archetype
thing..?
any help or hint/link would do me real good..
thanks
johan
=======================
The new settings:
<settings>
<localRepository>F:\m2repo</localRepository>
<proxies>
<proxy>
<active>true</active>
<protocol>http</protocol>
<host>www-proxy.ag-it.com</host>
<port>8080</port>
<id>agit</id>
</proxy>
</proxies>
<profiles>
<profile>
<id>standard-extra-repos</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<repositories>
<repository>
<id>jboss</id>
<url>http://repository.jboss.com/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<repository>
<id>jboss-snapshot</id>
<url>http://snapshots.jboss.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</repository>
</repositories>
<pluginRepositories>
<pluginRepository>
<id>jboss-plugins</id>
<url>http://repository.jboss.com/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</pluginRepository>
<pluginRepository>
<id>jboss-snapshot-plugins</id>
<url>http://snapshots.jboss.org/maven2</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>true</enabled>
</snapshots>
</pluginRepository>
</pluginRepositories>
</profile>
</profiles>
</settings>
===============================
The new logs:
F:\m2ws>mvn clean install
[INFO] Scanning for projects...
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Maven Default Project
[INFO] task-segment: [clean, install]
[INFO]
------------------------------------------------------------------------
----
[INFO] artifact org.apache.maven.plugins:maven-clean-plugin: checking
for updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugi
n/2.1.1/maven-cle
an-plugin-2.1.1.pom
1K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/3/m
aven-plugins-3.po
m
6K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-parent/4/maven-pare
nt-4.pom
9K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/apache/3/apache-3.pom
3K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-clean-plugi
n/2.1.1/maven-cle
an-plugin-2.1.1.jar
6K downloaded
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: clean. It requires a project with an
existing pom.xml, but the build is no
t using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Wed Jun 13 22:35:46 GMT+07:00 2007
[INFO] Final Memory: 1M/2M
[INFO]
------------------------------------------------------------------------
F:\m2ws>mvn eclipse:eclipse
[INFO] Scanning for projects...
[INFO] Searching repository for plugin with prefix: 'eclipse'.
[INFO] artifact org.apache.maven.plugins:maven-eclipse-plugin: checking
for updates from central
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plu
gin/2.3/maven-ecl
ipse-plugin-2.3.pom
4K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugins/7/m
aven-plugins-7.po
m
13K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-surrogate-pa
rent/5/maven-plug
in-surrogate-parent-5.pom
10K downloaded
Downloading:
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-eclipse-plu
gin/2.3/maven-ecl
ipse-plugin-2.3.jar
107K downloaded
[INFO]
------------------------------------------------------------------------
----
[INFO] Building Maven Default Project
[INFO] task-segment: [eclipse:eclipse]
[INFO]
------------------------------------------------------------------------
----
[INFO] Preparing eclipse:eclipse
[INFO] No goals needed for project - skipping
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Cannot execute mojo: eclipse. It requires a project with an
existing pom.xml, but the build is
not using one.
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 22 seconds
[INFO] Finished at: Wed Jun 13 22:36:09 GMT+07:00 2007
[INFO] Final Memory: 1M/3M
[INFO]
------------------------------------------------------------------------
F:\m2ws>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]