aspose file tools*
The moose likes Ant, Maven and Other Build Tools and the fly likes Problem Creating Project with mvn archetype:create -DarchetypeCatalog=http://tapestry.apache.com Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » Ant, Maven and Other Build Tools
Bookmark "Problem Creating Project with mvn archetype:create -DarchetypeCatalog=http://tapestry.apache.com" Watch "Problem Creating Project with mvn archetype:create -DarchetypeCatalog=http://tapestry.apache.com" New topic
Author

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

Tom Franck
Greenhorn

Joined: May 19, 2012
Posts: 7
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

Joined: May 14, 2008
Posts: 5845
    
    7

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.


JBoss In Action
Tom Franck
Greenhorn

Joined: May 19, 2012
Posts: 7
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

Joined: May 19, 2012
Posts: 7
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

Joined: May 14, 2008
Posts: 5845
    
    7

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
 
subject: Problem Creating Project with mvn archetype:create -DarchetypeCatalog=http://tapestry.apache.com