portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrew Goodnough <agoo...@gmail.com>
Subject Re: Problem building tutorial
Date Mon, 10 Aug 2009 20:59:11 GMT
I've fixed it.  I traced the problem to this pom file:
/home/agoodno/.m2/repository/org/apache/maven/shared/maven-shared-components/9/maven-shared-components-9.pom.
The contents contained a 404 response from the server.  Deleting it and
kicking off the build again has fixed it.

Andy

Caused by: org.apache.maven.project.InvalidProjectModelException: Not a
v4.0.0 POM. for project org.apache.maven.shared:maven-shared-components at
/home/agoodno/.m2/repository/org/apache/maven/shared/maven-shared-components/9/maven-shared-components-9.pom
    at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1599)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMavenProjectBuilder.java:1571)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:562)
    at
org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1392)


On Mon, Aug 10, 2009 at 3:34 PM, Andrew Goodnough <agoodno@gmail.com> wrote:

> Hi,
>
> I followed all the steps preceeding and then got this error while
> building.  Any ideas?  I upgrade from Maven 2.0.9 to 2.2.0 thinking it might
> help and it didn't.
>
> Andy
>
>
> ====================================
> agoodno@agoodno-desktop:~/work/dev/jetexpress$ mvn jetspeed:mvn
> -Dtarget=all
> [INFO] Scanning for projects...
> [INFO] Reactor build order:
> [INFO]   jetexpress portal project
> [INFO]   jetexpress portal
> [INFO]   jetexpress portlet application
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Building jetexpress portal project
> [INFO]    task-segment: [jetspeed:mvn] (aggregator-style)
> [INFO]
> ------------------------------------------------------------------------
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: null:maven-invoker:jar:2.0.8
>
> Reason: Cannot find parent: org.apache.maven.shared:maven-shared-components
> for project: null:maven-invoker:jar:2.0.8 for project
> null:maven-invoker:jar:2.0.8
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 second
> [INFO] Finished at: Mon Aug 10 15:25:20 CDT 2009
> [INFO] Final Memory: 3M/6M
> [INFO]
> ------------------------------------------------------------------------
> agoodno@agoodno-desktop:~/work/dev/jetexpress$
> ====================================
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message