Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Problem Creating Project with mvn archetype:create -DarchetypeCatalog=http://tapestry.apache.com

 
Tom Franck
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I installed maven-3.0.4 (also tried with Maven 2.2.1) and tried to create a project with the following command: mvn archetype:generate -DarchetypeCatalog=http://tapestry.apache.org

But I keep on getting the following error:



I tried it on another location, to make sure it's not a poblem because of a proxy blocking the download but i get the same error.
Any help with this would be greatly apreciated.
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just now tried the same command and it worked for me (asked which archetype and then asked for the artifact coordinates). So I suspect network issues, which is usually one of the following:

a) You are behind a proxy and you need to make proxy settings

b) The Tapestry server was down at the time you tired this (or there was some other temporary network glitch such as DNS being down).

c) You are working in a corporate environment and your IT department has blocked access.
 
Tom Franck
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's none of the above.
I tried to create it at 3 different locations , on 2 different pc's (worked on a friends pc, but not mine).

Any idea what else it could be?
 
Tom Franck
Greenhorn
Posts: 7
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your suggestions made me check if my firewall was off though.
It wasn't turned off properly, so I deinstalled my AVG.

Now it works like a charm, Thankyou!
 
Peter Johnson
author
Bartender
Posts: 5852
7
Android Eclipse IDE Ubuntu
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Guess I need to add item #4 to my list:

4) Your firewall is blocking outgoing traffic (check your firewall settings). Also, inadvertently blocking is way easier to do than you think. If you ever told your firewall to not allow a specific Java program to to out to the network, you have effectively block all Java programs because the firewall software cannot tell between them (they all run as java.exe).
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic