Hi Besides unzipping you need to point to that as the current repository for building, otherwise maven will not use it.
Did you change the settings.xml to point to it as described at the end of http://portals.apache.org/tutorials/jetspeed-2/01/first-steps.html ? Yes, the current tutorial has a lot of problems. It took me quite a while to get everything setup so it would first build then actually run correctly. There is an effort to fix all this, but I am not sure when it will be complete. Regards Larry On 4/24/07, David Dyer <[EMAIL PROTECTED]> wrote:
Thanks, tried it but it didn't work, either with the files/directories unzipped directly into JetspeedTraining/maven/repository, or to JetspeedTraining/maven/repository/resources. Still get the same error as in my previous message. Additionaly, it leads to an odd directory structure of JetspeedTraining/maven/repository/maven (amongst others of course). Also, if this is the case many references to file paths etc. in the tutorial are off (eg. the location of the settings.xml.jetexpress). Regards, David Larry Mitchell wrote: > 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] >> >> > >------------------------------------------------------------------------ > >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.5.463 / Virus Database: 269.5.9/773 - Release Date: 22/04/2007 8:18 PM > > -- David Dyer Artifact Software Inc. [EMAIL PROTECTED] (514) 995-2830 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]