[ http://jira.codehaus.org/browse/MSITE-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=142494#action_142494 ]
Michael Osipov commented on MSITE-171: -------------------------------------- Dennis, I tried again and gained following information: I deleted anything in my local repo but the artifacts are of course availabe on central repo. I made a svn co on the tag 2.4 and the site worked just because it pulled java-core-2.4.jar from central because java-demo has a dependency on it. {noformat} [INFO] ------------------------------------------------------------------------ [INFO] Building FCKeditor.Java Integration Demo Webapp [INFO] task-segment: [site] [INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/net/fckeditor/java-core/2.4/java-core -2.4.jar 48K downloaded [INFO] [antrun:run {execution: rewrite-site-links}] [INFO] Executing tasks [copy] Copying 1 file to D:\2.4\java-demo\src\site [INFO] Executed tasks [INFO] [site:site] [INFO] Generating "Project Team" report. [INFO] Generating "Issue Tracking" report. [INFO] Generating "Dependencies" report. [INFO] Generating "Source Repository" report. [INFO] Generating "Mailing Lists" report. [INFO] Generating "Project License" report. [INFO] Generating "Project Summary" report. [INFO] [INFO] [INFO] ------------------------------------------------------------------------ [INFO] Reactor Summary: [INFO] ------------------------------------------------------------------------ [INFO] FCKeditor.Java Integration ............................ SUCCESS [20.891s] [INFO] FCKeditor.Java Integration Core ....................... SUCCESS [44.359s] [INFO] FCKeditor.Java Integration Demo Webapp ................ SUCCESS [3.953s] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [INFO] BUILD SUCCESSFUL [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 10 seconds [INFO] Finished at: Sun Jul 20 14:29:49 CEST 2008 [INFO] Final Memory: 39M/63M [INFO] ------------------------------------------------------------------------ D:\2.4> {noformat} I did run mvn site on the current 2.5-SNAPSHOT from trunk: {noformat} [INFO] ------------------------------------------------------------------------ [INFO] Building FCKeditor.Java Integration Demo Webapp [INFO] task-segment: [site] [INFO] ------------------------------------------------------------------------ [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) net.fckeditor:java-core:jar:2.5-SNAPSHOT Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=net.fckeditor -DartifactId=java-core -D version=2.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=net.fckeditor -DartifactId=java-core -Dve rsion=2.5-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -Durl=[url] -Drepository Id=[id] Path to dependency: 1) net.fckeditor:java-demo:war:2.5-SNAPSHOT 2) net.fckeditor:java-core:jar:2.5-SNAPSHOT ---------- 1 required artifact is missing. for artifact: net.fckeditor:java-demo:war:2.5-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 minute 15 seconds [INFO] Finished at: Sun Jul 20 14:33:43 CEST 2008 [INFO] Final Memory: 40M/63M [INFO] ------------------------------------------------------------------------ D:\workspace_\fckeditor-java> {noformat} >From my point of view, this bug still exists is ans really annoying. > Site plugin uses plain dependencies for reactor projects instead of results > of earlier modules > ---------------------------------------------------------------------------------------------- > > Key: MSITE-171 > URL: http://jira.codehaus.org/browse/MSITE-171 > Project: Maven 2.x Site Plugin > Issue Type: Bug > Affects Versions: 2.0-beta-5 > Environment: Win XP, Linux > Reporter: Alex Rau > Attachments: install_site_runs.log, site_fails.log, > subsequent_site_runs.log > > > When creating a multi-module site the site plugin uses dependencies from > related modules from the repository instead of using artifacts from the same > execution. > That causes inconsistent reports on the sites. An example: > Project A has modules B and C defined. B is build first and a site for > project B is created. Then project C is build using a dependency either from > the local or remote repository. Therefore the site contains results which > rely on a build with an "out-dated" artifact used as dependency. This leads > to plainly wrong results when examining surefire-reports as Project C should > have been build with the (current) artifact of project B (taken from the same > execution of the site plugin). -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira