On Apr 21, 2008, at 5:15 PM, <[EMAIL PROTECTED]> <[EMAIL PROTECTED] > wrote:

Well, maybe not so perfect for me yet :-)

I have shifted to the maven tutorial as suggested earlier by David Taylor. I'm following its instructions, doing exactly as it says (I think - i.e. I've said that before and been wrong, but hopefully not this time :-)). I'm using the command shown in the tutorial:

mvn archetype:create - DarchetypeGroupId=org.apache.portals.jetspeed-2 - DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1 - DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress - Dversion=1.0

...Most of it seems to be working ok, but am getting a build error as shown in this log (skip down to near the bottom):


[INFO] ------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: org.apache.portals.jetspeed-2
ArtifactId: portal-archetype
Version: 2.1

Reason: Unable to locate resource in repository


from the specified remote repositories:
 central (http://repo1.maven.org/maven2)



I think we only have version 2.1.3 in the central repo:

http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal-archetype/

Try changing your command above to (2.1.3):

mvn archetype:create - DarchetypeGroupId=org.apache.portals.jetspeed-2 - DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1.3 - DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress - Dversion=1.0

You are better off using the latest version anyway

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to