tiles-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Todd Wilkinson" ...@dealsqueal.com>
Subject Re: cannot build tiles2
Date Fri, 01 Jun 2007 20:01:10 GMT
I was able to solve the problem-
I'm behind a corporate proxy firewall.  I just had to modify the maven
settings.xml

> Hi-
> I am having trouble building tiles2.
> I'm not at all familiar with maven (only ant) so I'm not sure what the
> problem is.
> Here is my output:
>
> C:\tiles-2.0.3\src>mvn package
> [INFO] Scanning for projects...
> Downloading:
> http://people.apache.org/repo/m2-snapshot-repository/org/apache/tiles/tiles-master/1/tiles-master-1.pom
> Downloading:
> http://people.apache.org/builds/tiles/${pom.version}/m2-staging-repository//org/apache/tiles/tiles-master/1/tiles-master-1.pom
> Downloading:
> http://repo1.maven.org/maven2/org/apache/tiles/tiles-master/1/tiles-master-1.pom
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] FATAL ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
>
>
> Project ID: org.apache.tiles:tiles-parent:pom:2.0.3
>
> Reason: Cannot find parent: org.apache.tiles:tiles-master for project:
> org.apache.tiles:tiles-parent:pom:2.0.3
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Trace
> org.apache.maven.reactor.MavenExecutionException: Cannot find parent:
> org.apache.tiles:tiles-master for project: org.apache.tiles:tiles-pare
> nt:pom:2.0.3
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:378)
>         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:290)
>         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:125)
>         at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>         at
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>         at java.lang.reflect.Method.invoke(Method.java:597)
>         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.tiles:tiles-master for project: org.apache.tile
> s:tiles-parent:pom:2.0.3
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1264)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(DefaultMavenProjectBuilder.java:749)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFileInternal(DefaultMavenProjectBuilder.java:479)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMavenProjectBuilder.java:200)
>         at org.apache.maven.DefaultMaven.getProject(DefaultMaven.java:537)
>         at
> org.apache.maven.DefaultMaven.collectProjects(DefaultMaven.java:467)
>         at
> org.apache.maven.DefaultMaven.getProjects(DefaultMaven.java:364)
>         ... 11 more
> Caused by: org.apache.maven.project.ProjectBuildingException: POM
> 'org.apache.tiles:tiles-master' not found in repository: Unable to downloa
> d the artifact from any repository
>
>   org.apache.tiles:tiles-master:pom:1
>
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   tiles.build
> (http://people.apache.org/builds/tiles/${pom.version}/m2-staging-repository/),
>   central (http://repo1.maven.org/maven2)
>
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:573)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(DefaultMavenProjectBuilder.java:1260)
>         ... 17 more
> Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException:
> Unable to download the artifact from any repository
>
>   org.apache.tiles:tiles-master:pom:1
>
> from the specified remote repositories:
>   apache.snapshots (http://people.apache.org/repo/m2-snapshot-repository),
>   tiles.build
> (http://people.apache.org/builds/tiles/${pom.version}/m2-staging-repository/),
>   central (http://repo1.maven.org/maven2)
>
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:197)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:73)
>         at
> org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepository(DefaultMavenProjectBuilder.java:526)
>         ... 18 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:324)
>         at
> org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:185)
>         ... 20 more
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 4 seconds
> [INFO] Finished at: Fri Jun 01 14:37:47 EDT 2007
> [INFO] Final Memory: 1M/4M
> [INFO]
> ------------------------------------------------------------------------
>
> could it be because the ${pom.version} is not being resolved when trying
> to download the repository?
>
> Thanks!
>
>



Mime
View raw message