maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mr Debasis <debasis1...@gmail.com>
Subject Maven site generation is taking 3 hrs
Date Sat, 12 Sep 2009 13:36:09 GMT

Hi all,
 I am using maven site:stage goal to generate the site for my proejct.

 Project structure is like below
  Parent
    |_module1
    |      |-module1 pom.xml
    |_module2
    |      |_module 2 pom.xml
    |_module3
    |      |_module 3 pom.xml
    |
    -Parent pom.xml

my build is successful but with some errors.That why may be it is taking too
much time to generate the site.below is my stack trace where you can see how
much time it took to build

[INFO]
------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
------------------------------------------------------------------------
[INFO] aglite-platform ....................................... SUCCESS
[15.677s]
[INFO] agliteCore ............................................ SUCCESS
[1:02:09.952s]
[INFO] agLiteAdmin ........................................... SUCCESS
[58:21.990s]
[INFO] agLiteDemo ............................................ SUCCESS
[41:08.746s]
[INFO]
------------------------------------------------------------------------
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 161 minutes 59 seconds
[INFO] Finished at: Sat Sep 12 18:01:36 IST 2009
[INFO] Final Memory: 19M/109M
[INFO]
------------------------------------------------------------------------

Below is error stack 

[ERROR] ProjectBuildingException error : 
org.apache.maven.project.ProjectBuildingException: POM
'velocity-tools:velocity-tools' not found in repository: Unable to download
the artifact from any repository

  velocity-tools:velocity-tools:pom:1.4

from the specified remote repositories:
  central (http://kmsrv9/artifactory/repo/),
  snapshots (http://kmsrv9/artifactory/repo/)
 for project velocity-tools:velocity-tools
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:590)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:233)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:211)
	at
org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:316)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDescriptionsAndURLs(DependenciesRenderer.java:917)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing(DependenciesRenderer.java:868)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing(DependenciesRenderer.java:894)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.printDependencyListing(DependenciesRenderer.java:894)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyTree(DependenciesRenderer.java:493)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionProjectDependencyGraph(DependenciesRenderer.java:480)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:266)
	at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
	at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:239)
	at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:93)
	at
org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute(AbstractProjectInfoReport.java:162)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
	at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:52)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  velocity-tools:velocity-tools:pom:1.4

from the specified remote repositories:
  central (http://kmsrv9/artifactory/repo/),
  snapshots (http://kmsrv9/artifactory/repo/)

	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:208)
	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:83)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:552)
	... 28 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
	at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:357)
	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:193)
	... 30 more
[ERROR] Artifact: opensymphony:ognl:jar:2.6.11 has no file.
[ERROR] Artifact: org.antlr:antlr-runtime:jar:3.1.1 has no file.
[ERROR] Artifact: org.apache.ode:ode-jacob:jar:1.2 has no file.
[ERROR] Artifact: org.apache.ode:ode-utils:jar:1.2 has no file.
[ERROR] Artifact: org.apache.struts:struts2-core:jar:2.0.9 has no file.
[ERROR] Artifact: org.aspectj:aspectjrt:jar:1.6.5 has no file.
[ERROR] Artifact: org.aspectj:aspectjweaver:jar:1.6.5 has no file.
[ERROR] Artifact: org.drools:drools:pom:5.0.1 has no file.
[ERROR] Artifact: org.drools:drools-api:jar:5.0.1 has no file.
[ERROR] Artifact: org.drools:drools-compiler:jar:5.0.1 has no file.
[ERROR] Artifact: org.drools:drools-core:jar:5.0.1 has no file.
[ERROR] Artifact: org.eclipse.jdt:core:jar:3.4.2.v_883_R34x has no file.
[ERROR] Artifact: org.eclipse.persistence:eclipselink:jar:1.0.2 has no file.
[ERROR] Artifact: org.mvel:mvel2:jar:2.0.10 has no file.
[ERROR] Artifact: org.springframework:spring:jar:2.5.5 has no file.
[ERROR] Artifact: org.springframework:spring-aop:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-beans:jar:2.5.5 has no file.
[ERROR] Artifact: org.springframework:spring-context:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-context-support:jar:2.5.5 has
no file.
[ERROR] Artifact: org.springframework:spring-core:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-dao:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-jdbc:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-support:jar:2.0.8 has no file.
[ERROR] Artifact: org.springframework:spring-test:jar:2.5.6 has no file.
[ERROR] Artifact: org.springframework:spring-web:jar:2.5.5 has no file.
[ERROR] Artifact: org.springframework:spring-webmvc:jar:2.5.5 has no file.
[ERROR] Artifact: org.springframework.security:spring-security-acl:jar:2.0.4
has no file.
[ERROR] Artifact:
org.springframework.security:spring-security-core:jar:2.0.4 has no file.
[ERROR] Artifact:
org.springframework.security:spring-security-core-tiger:jar:2.0.4 has no
file.
[ERROR] Artifact: org.springframework.ws:spring-oxm:jar:1.5.4 has no file.
[ERROR] Artifact: org.springframework.ws:spring-ws-core:jar:1.5.4 has no
file.
[ERROR] Artifact: org.springframework.ws:spring-xml:jar:1.5.4 has no file.
[ERROR] Artifact: stax:stax-api:jar:1.0.1 has no file.
[ERROR] Artifact: velocity:velocity-dep:jar:1.5 has no file.
[ERROR] Artifact: velocity-tools:velocity-tools:jar:1.4 has no file.
[ERROR] Artifact: wsdl4j:wsdl4j:jar:1.6.1 has no file.
[ERROR] Artifact: xpp3:xpp3_min:jar:1.1.4c has no file.
[WARNING] Unable to create Maven project from repository.
org.apache.maven.project.ProjectBuildingException: POM 'com.sun:tools' not
found in repository: System artifact: com.sun:tools:pom:1.5.0:system has no
file attached

  com.sun:tools:pom:1.5.0

 for project com.sun:tools
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:590)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:233)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:211)
	at
org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:316)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyRepositoryLocations(DependenciesRenderer.java:733)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:280)
	at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
	at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:239)
	at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:93)
	at
org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute(AbstractProjectInfoReport.java:162)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
	at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:52)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
System artifact: com.sun:tools:pom:1.5.0:system has no file attached

  com.sun:tools:pom:1.5.0


	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:119)
	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:83)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:552)
	... 23 more
url = http://kmsrv9/artifactory/repo/
Downloading:
http://kmsrv9/artifactory/repo//velocity-tools/velocity-tools/1.4/velocity-tools-1.4.pom
[WARNING] Unable to create Maven project from repository.
org.apache.maven.project.ProjectBuildingException: POM
'velocity-tools:velocity-tools' not found in repository: Unable to download
the artifact from any repository

  velocity-tools:velocity-tools:pom:1.4

from the specified remote repositories:
  central (http://kmsrv9/artifactory/repo/),
  snapshots (http://kmsrv9/artifactory/repo/)
 for project velocity-tools:velocity-tools
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:590)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:233)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:211)
	at
org.apache.maven.report.projectinfo.dependencies.RepositoryUtils.getMavenProjectFromRepository(RepositoryUtils.java:316)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderSectionDependencyRepositoryLocations(DependenciesRenderer.java:733)
	at
org.apache.maven.report.projectinfo.dependencies.renderer.DependenciesRenderer.renderBody(DependenciesRenderer.java:280)
	at
org.apache.maven.reporting.AbstractMavenReportRenderer.render(AbstractMavenReportRenderer.java:79)
	at
org.apache.maven.report.projectinfo.DependenciesReport.executeReport(DependenciesReport.java:239)
	at
org.apache.maven.reporting.AbstractMavenReport.generate(AbstractMavenReport.java:93)
	at
org.apache.maven.report.projectinfo.AbstractProjectInfoReport.execute(AbstractProjectInfoReport.java:162)
	at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:579)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:498)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:265)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:191)
	at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:149)
	at org.apache.maven.DefaultMaven.execute_aroundBody0(DefaultMaven.java:223)
	at
org.apache.maven.DefaultMaven.execute_aroundBody1$advice(DefaultMaven.java:304)
	at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:1)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody2(MavenEmbedder.java:904)
	at
org.apache.maven.embedder.MavenEmbedder.execute_aroundBody3$advice(MavenEmbedder.java:304)
	at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:1)
	at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:63)
	at org.apache.maven.cli.MavenCli.main(MavenCli.java:52)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
Unable to download the artifact from any repository

  velocity-tools:velocity-tools:pom:1.4

from the specified remote repositories:
  central (http://kmsrv9/artifactory/repo/),
  snapshots (http://kmsrv9/artifactory/repo/)

	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:208)
	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:83)
	at
org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:552)
	... 23 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to
download the artifact from any repository
	at
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:357)
	at
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:193)
	... 25 more
         

-- 
View this message in context: http://www.nabble.com/Maven-site-generation-is-taking-3-hrs-tp25414510p25414510.html
Sent from the Maven - Users mailing list archive at Nabble.com.


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


Mime
View raw message