Hi I believe that this resources.zip archive is actually the maven repository that you need to build with. You need to put it under JetspeedTraining/maven/repository. Then you need to point your maven repository in the settings.xml to it.
I had similiar problems until I found the answer in the mailing list. Regards Larry On 4/24/07, David Dyer <[EMAIL PROTECTED]> wrote:
Having some trouble with generating the jetexpress portal as outlined in the tutorial. I've unzipped the resources.zip from here:http://www.bluesunrise.com/training/ to a JetspeedTraining/resources directory as well as the jetexpress.zip to the JetspeedTraining directory. When I do the mvn archetype: create, the build appears to be working up to the initialization of the velocimacro It then fails as follows: [INFO] [archetype:create] [INFO] Defaulting package to group ID: org.apache.portals.tutorial Downloading: http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/portal- archetype/2.1-dev/portal-archetype-2.1-dev.jar [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Error creating from archetype Embedded error: Archetype does not exist: Unable to download the artifact from a ny repository Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.apache.portals.jetspeed-2 -DartifactI d=portal-archetype \ -Dversion=2.1-dev -Dpackaging=jar -Dfile=/path/to/file org.apache.portals.jetspeed-2:portal-archetype:jar:2.1-dev from the specified remote repositories: central (http://repo1.maven.org/maven2) I've tried navigating with a browser to find the .jar file from http://repo1.maven.org/maven2 but under http://repo1.maven.org/maven2/org/apache/portals/jetspeed-2/ there is no portal-archetype directory. Can anyone advise me on where I can find the portal-archetype-2.1-dev.jar? Thanks, David -- David Dyer Artifact Software Inc. [EMAIL PROTECTED] (514) 995-2830 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
