Return-Path: Delivered-To: apmail-portals-jetspeed-user-archive@www.apache.org Received: (qmail 46599 invoked from network); 15 Apr 2008 11:27:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 15 Apr 2008 11:27:23 -0000 Received: (qmail 43404 invoked by uid 500); 15 Apr 2008 11:27:22 -0000 Delivered-To: apmail-portals-jetspeed-user-archive@portals.apache.org Received: (qmail 43373 invoked by uid 500); 15 Apr 2008 11:27:22 -0000 Mailing-List: contact jetspeed-user-help@portals.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Jetspeed Users List" Delivered-To: mailing list jetspeed-user@portals.apache.org Received: (qmail 43362 invoked by uid 99); 15 Apr 2008 11:27:22 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 04:27:22 -0700 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of benethridge@charter.net designates 209.225.8.182 as permitted sender) Received: from [209.225.8.182] (HELO mtai02.charter.net) (209.225.8.182) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 15 Apr 2008 11:26:37 +0000 Received: from aarprv03.charter.net ([10.20.200.73]) by mtai02.charter.net (InterMail vM.7.08.03.00 201-2186-126-20070710) with ESMTP id <20080415112649.WRLE922.mtai02.charter.net@aarprv03.charter.net>; Tue, 15 Apr 2008 07:26:49 -0400 Received: from fepweb01 ([10.20.200.51]) by aarprv03.charter.net with ESMTP id <20080415112648.WASW2828.aarprv03.charter.net@fepweb01>; Tue, 15 Apr 2008 07:26:48 -0400 Message-ID: <20080415072648.R2S1Z.269793.root@fepweb01> Date: Tue, 15 Apr 2008 4:26:48 -0700 From: To: Jetspeed Users List Subject: Re: Maven error in tutorial Cc: Andrew Strickland In-Reply-To: <94cd6be60804141727l39b54ba9p15bb07f25ba768bc@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) Sensitivity: Normal X-Originating-IP: from 96.32.244.176 by ssomail.charter.net; Tue, 15 Apr 2008 7:26:48 -0400 X-Chzlrs: 0 X-Virus-Checked: Checked by ClamAV on apache.org Thanks. So as to not waste any more of your time, sounds like I should drop this tutorial and shift to the maven tutorial, as per David Taylor. Hopefully I can use the maven tutorial code as Eclipse projects with some tweaking? Ben ---- Andrew Strickland wrote: > or rather, I guess that "null" corresponds to the groupId in the POM of the > express-demo project. Check to see if that has a value. > > On Mon, Apr 14, 2008 at 8:26 PM, Andrew Strickland > wrote: > > > without looking at the code, the problem to me seems to be the: > > * > > Caused by: org.apache.maven.project* > > *.ProjectBuildingException: Cannot find parent > > : org.apache.portals.tutorials**:portal-applications for project: > > null:express-dem > > o:war:null for project null:express-demo:war:null > > > > * > > Whatever the value of the express-demo pom artifactId is, it's not > > supposed to be "null". Just a guess though, > > > > Andy > > > > > > > > On Mon, Apr 14, 2008 at 6:58 PM, wrote: > > > > > > > > Hi. I'm trying to figure out why I'm getting this maven error, at this > > > point in the tutorial: > > > > > > http://portals.apache.org/tutorials/jetspeed-2-ant/03/build-it.html > > > > > > Below are details of the error: > > > > > > ---------------------------------------------------------------- > > > Directory of > > > C:\downloads\Apache\JetspeedTraining\workspace\jetexpress\applicat > > > ions\express-demo > > > > > > 04/14/2008 06:11 PM . > > > 04/14/2008 06:11 PM .. > > > 04/14/2008 06:11 PM 7,816 pom.xml > > > 04/14/2008 06:11 PM src > > > 1 File(s) 7,816 bytes > > > 3 Dir(s) 169,487,032,320 bytes free > > > > > > > > > C:\downloads\Apache\JetspeedTraining\workspace\jetexpress\applications\express-d > > > emo>mvn > > > [INFO] Scanning for projects... > > > Downloading: > > > http://repo1.maven.org/maven2/org/apache/portals/tutorials/portal-a > > > pplications/1.0/portal-applications-1.0.pom > > > [INFO] > > > ------------------------------------------------------------------------ > > > [ERROR] FATAL ERROR > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] Failed to resolve artifact. > > > > > > GroupId: org.apache.portals.tutorials > > > ArtifactId: portal-applications > > > Version: 1.0 > > > > > > Reason: Unable to download the artifact from any repository > > > > > > org.apache.portals.tutorials:portal-applications:pom:1.0 > > > > > > from the specified remote repositories: > > > central (http://repo1.maven.org/maven2) > > > > > > > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] Trace > > > org.apache.maven.reactor.MavenExecutionException: Cannot find parent: > > > org.apache > > > .portals.tutorials:portal-applications for project: > > > null:express-demo:war:null f > > > or project null:express-demo:war:null > > > at > > > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:292) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:129) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:287) > > > at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) > > > at > > > sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. > > > java:39) > > > at > > > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces > > > sorImpl.java:25) > > > at java.lang.reflect.Method.invoke(Method.java:585) > > > at > > > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > > > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > > > at > > > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > > > > > > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > > > Caused by: org.apache.maven.project.ProjectBuildingException: Cannot > > > find parent > > > : org.apache.portals.tutorials:portal-applications for project: > > > null:express-dem > > > o:war:null for project null:express-demo:war:null > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D > > > efaultMavenProjectBuilder.java:1370) > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def > > > aultMavenProjectBuilder.java:821) > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi > > > leInternal(DefaultMavenProjectBuilder.java:506) > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave > > > nProjectBuilder.java:198) > > > at > > > org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:583) > > > at > > > org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:461) > > > at > > > org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:365) > > > ... 11 more > > > Caused by: org.apache.maven.project.ProjectBuildingException: POM > > > 'org.apache.po > > > rtals.tutorials:portal-applications' not found in repository: Unable to > > > download > > > the artifact from any repository > > > > > > org.apache.portals.tutorials:portal-applications:pom:1.0 > > > > > > from the specified remote repositories: > > > central (http://repo1.maven.org/maven2) > > > for project org.apache.portals.tutorials:portal-applications > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo > > > sitory(DefaultMavenProjectBuilder.java:603) > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D > > > efaultMavenProjectBuilder.java:1366) > > > ... 17 more > > > Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: > > > Unable > > > to download the artifact from any repository > > > > > > org.apache.portals.tutorials:portal-applications:pom:1.0 > > > > > > from the specified remote repositories: > > > central (http://repo1.maven.org/maven2) > > > > > > at > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De > > > faultArtifactResolver.java:212) > > > at > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De > > > faultArtifactResolver.java:74) > > > at > > > org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo > > > sitory(DefaultMavenProjectBuilder.java:556) > > > ... 18 more > > > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable > > > to downl > > > oad the artifact from any repository > > > at > > > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(Def > > > aultWagonManager.java:331) > > > at > > > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De > > > faultArtifactResolver.java:200) > > > ... 20 more > > > [INFO] > > > ------------------------------------------------------------------------ > > > [INFO] Total time: < 1 second > > > [INFO] Finished at: Mon Apr 14 18:17:33 EDT 2008 > > > [INFO] Final Memory: 1M/2M > > > [INFO] > > > ------------------------------------------------------------------------ > > > > > > > > > C:\downloads\Apache\JetspeedTraining\workspace\jetexpress\applications\express-d > > > emo> > > > > > > --------------------------------------------------------------------------- > > > > > > As a side-issue, I've managed to work around many of the obvious errors > > > in the tutorial and gotten pretty far with the changes and "delta" deploys, > > > but it contains so many bugs and incorrect file locations and such, that > > > it's almost useless as a "tutorial" for newcomers...hard to see the forest > > > for all the trees. Of course, those who already have good experience with > > > jetspeed and/or portlets AND tomcat AND maven AND eclipse AND ant, will > > > probably be able to figure it out....but that's more background knowledge > > > than most newcomers will probably have...or are willing to learn for no > > > other reason than to learn portlets. > > > > > > The tutorial looks like it was quite good at one time, so it gives me > > > the feeling that this jetspeed (and maybe portlets in general) isn't being > > > actively advanced anymore. Is that so? > > > > > > Ben > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org > > > For additional commands, e-mail: jetspeed-user-help@portals.apache.org > > > > > > > > --------------------------------------------------------------------- To unsubscribe, e-mail: jetspeed-user-unsubscribe@portals.apache.org For additional commands, e-mail: jetspeed-user-help@portals.apache.org