portals-jetspeed-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From David Sean Taylor <da...@bluesunrise.com>
Subject Re: Maven error in tutorial
Date Tue, 22 Apr 2008 03:39:12 GMT

On Apr 21, 2008, at 5:15 PM, <benethridge@charter.net> <benethridge@charter.net 
 > 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: jetspeed-user-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-user-help@portals.apache.org


Mime
View raw message