maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "EJ Ciramella" <ecirame...@upromise.com>
Subject RE: Exception during "Dependencies" report.
Date Wed, 10 Jun 2009 11:01:27 GMT

Yes - I reran with -X and looked at the exact pom and there doesn't seem to be an issue.

I'm pretty sure it's maven flaking out - look at what happened when I tried a newer version
of maven!

-----Original Message-----
From: Lukas Theussl [mailto:ltheussl@apache.org]
Sent: Wed 6/10/2009 3:02 AM
To: Maven Users List
Subject: Re: Exception during "Dependencies" report.
 

Did you investigate this warning?

[WARNING] Unable to create Maven project from repository.
org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM.
for project <package> at
E:\work\m2Repo\<packagename>\1.0.0.1\<modulename>-1.0.0.1.jar

Did you try running with -X to see where it comes from?

HTH,
-Lukas


EJ Ciramella wrote:
> Any feedback?
> 
> I didn't see any associated jira's...
> 
> -----Original Message-----
> From: EJ Ciramella [mailto:eciramella@upromise.com] 
> Sent: Friday, June 05, 2009 1:20 PM
> To: Maven Users List
> Subject: RE: Exception during "Dependencies" report.
> 
> I tried upgrading to:
> 
> <groupId>org.apache.maven.plugins</groupId>
> <artifactId>maven-project-info-reports-plugin</artifactId>
> <version>2.1.1</version>
> 
> But that's even worse - I can see it just scanning the repositories over
> and over and over - endlessly.
> 
> Any suggestions?
>            
> 
> -----Original Message-----
> From: EJ Ciramella [mailto:eciramella@upromise.com]
> Sent: Friday, June 05, 2009 10:36 AM
> To: users@maven.apache.org
> Subject: Exception during "Dependencies" report.
> 
> I'm really confused as to why maven is all of a sudden looking at a jar
> and complaining it's not a pom - any suggestions anyone?
>  
> [INFO] Generating "Source Repository" report.
> [INFO] Generating "Issue Tracking" report.
> [INFO] Generating "Project Summary" report.
> [INFO] Generating "Project Plugins" report.
> [INFO] Generating "Dependencies" report.
> [ERROR] ProjectBuildingException error :
> [WARNING] Unable to create Maven project from repository.
> org.apache.maven.project.InvalidProjectModelException: Not a v4.0.0 POM.
> for project <package> at
> E:\work\m2Repo\<packagename>\1.0.0.1\<modulename>-1.0.0.1.jar
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMav
> enProjectBuilder.java:1581)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.readModel(DefaultMav
> enProjectBuilder.java:1553)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromReposit
> ory(DefaultMavenProjectBuilder.java:560)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(
> DefaultMavenProjectBuilder.java:249)
>         at
> org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMave
> nProjectFromRepository(RepositoryUtils.java:316)
>         at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRe
> nderer.renderSectionDependencyRepositoryLocations(DependenciesRenderer.j
> ava:623)
>         at
> org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRe
> nderer.renderBody(DependenciesRenderer.java:274)
>         at
> org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMa
> venReportRenderer.java:65)
>         at
> org.apache.maven.report.projectinfo.DependenciesReport.executeReport(Dep
> endenciesReport.java:239)
>         at
> org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenRep
> ort.java:90)
>         at
> org.apache.maven.plugins.site.ReportDocumentRenderer.renderDocument(Repo
> rtDocumentRenderer.java:139)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.renderModule(Def
> aultSiteRenderer.java:269)
>         at
> org.apache.maven.doxia.siterenderer.DefaultSiteRenderer.render(DefaultSi
> teRenderer.java:101)
>         at
> org.apache.maven.plugins.site.SiteMojo.renderLocale(SiteMojo.java:129)
>         at
> org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:96)
>         at
> org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginMa
> nager.java:451)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(Default
> LifecycleExecutor.java:558)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifec
> ycle(DefaultLifecycleExecutor.java:499)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultL
> ifecycleExecutor.java:478)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandle
> Failures(DefaultLifecycleExecutor.java:330)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(
> DefaultLifecycleExecutor.java:291)
>         at
> org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifec
> ycleExecutor.java:142)
>         at
> org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:336)
>         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.jav
> a:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor
> Impl.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)
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message