Return to list

Report a problem about this suggest

Souci Pom wiki

Bonjour, 

pour mettre en place un site en Lutèce, je suis en train de suivre votre wiki.
Par contre j'ai un souci quand j'effectue le mvn site-assembly pour la première fois

Il arrive pas à trouver le projet dans le repository sité dans le pom. Peut-être que ce dernier n'est plus à jour :roll: 

J'espère que vous pourriez me pointer la mise à jour à faire. Merci

Voilà la trace DOS

[code]C:\LuteceEnvironnement\workspace\mon-lutece>mvn lutece:site-assembly
[INFO] Scanning for projects...
Downloading: http://dev.lutece.paris.fr/maven_repository/fr/paris/lutece/lutece-
parent-pom/2.17/lutece-parent-pom-2.17.pom
Downloading: http://repo1.maven.org/maven2/fr/paris/lutece/lutece-parent-pom/2.1
7/lutece-parent-pom-2.17.pom
[INFO] ------------------------------------------------------------------------
[ERROR] FATAL ERROR
[INFO] ------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: fr.paris.lutece:mon-lutece:lutece-site:0.0.1-SNAPSHOT

Reason: Cannot find parent: fr.paris.lutece:lutece-parent-pom for project: fr.pa
ris.lutece:mon-lutece:lutece-site:0.0.1-SNAPSHOT for project fr.paris.lutece:mon
-lutece:lutece-site:0.0.1-SNAPSHOT


[INFO] ------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.reactor.MavenExecutionException: Cannot find parent: fr.paris.l
utece:lutece-parent-pom for project: fr.paris.lutece:mon-lutece:lutece-site:0.0.
1-SNAPSHOT for project fr.paris.lutece:mon-lutece:lutece-site:0.0.1-SNAPSHOT
        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:301)
        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: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
: fr.paris.lutece:lutece-parent-pom for project: fr.paris.lutece:mon-lutece:lute
ce-site:0.0.1-SNAPSHOT for project fr.paris.lutece:mon-lutece:lutece-site:0.0.1-
SNAPSHOT
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1369)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildInternal(Def
aultMavenProjectBuilder.java:820)
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromSourceFi
leInternal(DefaultMavenProjectBuilder.java:505)
        at org.apache.maven.project.DefaultMavenProjectBuilder.build(DefaultMave
nProjectBuilder.java:197)
        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 'fr.paris.lute
ce:lutece-parent-pom' not found in repository: Unable to download the artifact f
rom any repository

  fr.paris.lutece:lutece-parent-pom:pom:2.17

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  lutece (http://dev.lutece.paris.fr/maven_repository)

 for project fr.paris.lutece:lutece-parent-pom
        at org.apache.maven.project.DefaultMavenProjectBuilder.findModelFromRepo
sitory(DefaultMavenProjectBuilder.java:602)
        at org.apache.maven.project.DefaultMavenProjectBuilder.assembleLineage(D
efaultMavenProjectBuilder.java:1365)
        ... 17 more
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: Unable
to download the artifact from any repository

  fr.paris.lutece:lutece-parent-pom:pom:2.17

from the specified remote repositories:
  central (http://repo1.maven.org/maven2),
  lutece (http://dev.lutece.paris.fr/maven_repository)


        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:555)
        ... 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:332)
        at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(De
faultArtifactResolver.java:200)
        ... 20 more
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 42 seconds
[INFO] Finished at: Thu Oct 15 09:30:43 CEST 2009
[INFO] Final Memory: 1M/4M
[INFO] ------------------------------------------------------------------------[/code]


57

Return to list