Ok, the snapshot site plugin works for me. But I stil can't use the site:stage goal ! Here is the output :
[INFO] Scanning for projects... [INFO] Reactor build order: ... [INFO] Searching repository for plugin with prefix: 'site'. [INFO] ---------------------------------------------------------------------------- [ERROR] BUILD FAILURE [INFO] ---------------------------------------------------------------------------- [INFO] Required goal not found: site:stage [INFO] ---------------------------------------------------------------------------- [INFO] For more information, run Maven with the -e switch [INFO] ---------------------------------------------------------------------------- [INFO] Total time: 1 second [INFO] Finished at: Tue Mar 07 15:33:52 CET 2006 [INFO] Final Memory: 2M/4M [INFO] ---------------------------------------------------------------------------- Should I add something to my pom.xml ? Thanks. On 3/6/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > I added the cvs.apache repository and I got further, but now I get the > same > error, from a different cause. > It seems that the skin is looking for a appname-[version]-site.xml and all > I > have is a site.xml: > ========================================================== > > [INFO] Velocimacro : VM library template macro registration complete. > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in > templates > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined inline > may > NOT replace previous VM definitions > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline will be > global in scope if allowed. > [INFO] Velocimacro : initialization complete. > [INFO] Velocity successfully started. > [INFO] Preparing surefire-report:report > [INFO] No goals needed for project - skipping > [INFO] Preparing jdepend:generate > [INFO] No goals needed for project - skipping > [INFO] [site:site] > [WARNING] Error loading report org.apache.maven.changelog.ChangeLogReport- > AbstractMethodError: canGenerateReport() > [WARNING] Error loading report > org.apache.maven.changelog.FileActivityReport > - AbstractMethodError: canGenerateReport() > [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - > AbstractMethodError: canGenerateReport() > [WARNING] Error loading report > org.apache.maven.plugin.taglist.TagListReport > - AbstractMethodError: canGenerateReport() > Downloading: > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site_en.xml > [WARNING] Unable to get resource from repository backup > (http://repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site_en.xml > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site.xml > [WARNING] Unable to get resource from repository backup > (http://repo1.maven.org/maven2) > Downloading: > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site.xml > [WARNING] Unable to get resource from repository central > (http://repo1.maven.org/maven2) > [INFO] > > ---------------------------------------------------------------------------- > [ERROR] BUILD FAILURE > [INFO] > > ---------------------------------------------------------------------------- > [INFO] The skin does not exist: Unable to determine the release version > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > [INFO] > > ---------------------------------------------------------------------------- > [INFO] Trace > org.apache.maven.BuildFailureException: The skin does not exist: Unable to > determine the release version > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > DefaultLifecycleExecutor.java:552) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal( > DefaultLifecycleExecutor.java:485) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > DefaultLifecycleExecutor.java:455) > at > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > (DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > DefaultLifecycleExecutor.java:139) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > 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:324) > 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.plugin.MojoFailureException: The skin does not > exist: Unable to determine the release version > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > at > org.apache.maven.plugins.site.SiteMojo.getSkinArtifactFile(SiteMojo.java > :1363) > at org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java > :336) > at > org.apache.maven.plugin.DefaultPluginManager.executeMojo( > DefaultPluginManager.java:415) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > DefaultLifecycleExecutor.java:531) > ... 16 more > [INFO] > > ---------------------------------------------------------------------------- > [INFO] Total time: 22 seconds > [INFO] Finished at: Mon Mar 06 10:49:16 PST 2006 > [INFO] Final Memory: 16M/30M > [INFO] > > ---------------------------------------------------------------------------- > > > > > > > --- > Thank You > Mick Knutson > > Sr. Java/J2EE Consultant > BASE logic, inc. > (415) 648-1804 (S.F., CA) > http://www.BASELogic.com > > Washington Mutual (WAMU) (Emeryville, California) > --- > > > > > >From: "Wayne Fay" <[EMAIL PROTECTED]> > >Reply-To: "Maven Users List" <[email protected]> > >To: "Maven Users List" <[email protected]> > >Subject: Re: [m202] mvn site:site with many modules does not tie docs > >together...??? > >Date: Mon, 6 Mar 2006 12:36:11 -0600 > > > >This has been reported in JIRA and a fix has been posted in the bug. > > > >Go look at the Maven JIRA under the MSITE product and you'll find it. > >You need to download a file and register it in your local repository, > >iirc. > > > >Wayne > > > > > >On 3/6/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > > A new error now: > > > ============ > > > > > > [INFO] Velocimacro : error using VM library template > >VM_global_library.vm : > > > org.apache.velocity.exception.ResourceNotFoundException: Unable to > find > >r > > > esource 'VM_global_library.vm' > > > [INFO] Velocimacro : VM library template macro registration complete. > > > [INFO] Velocimacro : allowInline = true : VMs can be defined inline in > > > templates > > > [INFO] Velocimacro : allowInlineToOverride = false : VMs defined > inline > >may > > > NOT replace previous VM definitions > > > [INFO] Velocimacro : allowInlineLocal = false : VMs defined inline > will > >be > > > global in scope if allowed. > > > [INFO] Velocimacro : initialization complete. > > > [INFO] Velocity successfully started. > > > [INFO] Preparing surefire-report:report > > > [INFO] No goals needed for project - skipping > > > [INFO] Preparing jdepend:generate > > > [INFO] No goals needed for project - skipping > > > [INFO] [site:stage] > > > [WARNING] Error loading report > >org.apache.maven.changelog.ChangeLogReport - > > > AbstractMethodError: canGenerateReport() > > > [WARNING] Error loading report > >org.apache.maven.changelog.FileActivityReport > > > - AbstractMethodError: canGenerateReport() > > > [WARNING] Error loading report org.apache.maven.plugin.jxr.JxrReport - > > > AbstractMethodError: canGenerateReport() > > > [WARNING] Error loading report > >org.apache.maven.plugin.taglist.TagListReport > > > - AbstractMethodError: canGenerateReport() > > > Downloading: > > > > > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site_en.xml > > > [WARNING] Unable to get resource from repository backup > > > (http://repo1.maven.org/maven2) > > > Downloading: > > > > > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site_en.xml > > > [WARNING] Unable to get resource from repository central > > > (http://repo1.maven.org/maven2) > > > Downloading: > > > > > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site.xml > > > [WARNING] Unable to get resource from repository backup > > > (http://repo1.maven.org/maven2) > > > Downloading: > > > > > > http://repo1.maven.org/maven2/com/furl/furl/1.2.3.5_11/furl-1.2.3.5_11-site.xml > > > [WARNING] Unable to get resource from repository central > > > (http://repo1.maven.org/maven2) > > > [INFO] artifact org.apache.maven.skins:maven-default-skin: checking > for > > > updates from backup > > > [INFO] artifact org.apache.maven.skins:maven-default-skin: checking > for > > > updates from central > > > [INFO] > > > > > >---------------------------------------------------------------------------- > > > [ERROR] BUILD FAILURE > > > [INFO] > > > > > >---------------------------------------------------------------------------- > > > [INFO] The skin does not exist: Unable to determine the release > version > > > > > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > > > > > > > [INFO] > > > > > >---------------------------------------------------------------------------- > > > [INFO] Trace > > > org.apache.maven.BuildFailureException: The skin does not exist: > Unable > >to > > > determine the release version > > > > > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > > > > > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > DefaultLifecycleExecutor.java:552) > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeStandaloneGoal > (DefaultLifecycleExecutor.java:485) > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal( > DefaultLifecycleExecutor.java:455) > > > at > > > > > > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures > (DefaultLifecycleExecutor.java:303) > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments( > DefaultLifecycleExecutor.java:270) > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute( > DefaultLifecycleExecutor.java:139) > > > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java > :322) > > > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > > > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > > > 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:324) > > > 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.plugin.MojoFailureException: The skin does > >not > > > exist: Unable to determine the release version > > > > > > org.apache.maven.skins:maven-default-skin:jar:RELEASE > > > > > > > > > at > > > > >org.apache.maven.plugins.site.SiteMojo.getSkinArtifactFile(SiteMojo.java > :1363) > > > at > >org.apache.maven.plugins.site.SiteMojo.execute(SiteMojo.java:336) > > > at > > > > >org.apache.maven.plugins.site.SiteStageMojo.execute(SiteStageMojo.java > :111) > > > at > > > > >org.apache.maven.plugin.DefaultPluginManager.executeMojo( > DefaultPluginManager.java:415) > > > at > > > > >org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals( > DefaultLifecycleExecutor.java:531) > > > ... 16 more > > > [INFO] > > > > > >---------------------------------------------------------------------------- > > > [INFO] Total time: 24 seconds > > > [INFO] Finished at: Mon Mar 06 10:21:20 PST 2006 > > > [INFO] Final Memory: 16M/30M > > > [INFO] > > > > > >---------------------------------------------------------------------------- > > > > > > c:\opt\furl\furlm2\trunk> > > > > > > > > > > > > > > > > > > > > > > > > --- > > > Thank You > > > Mick Knutson > > > > > > Sr. Java/J2EE Consultant > > > BASE logic, inc. > > > (415) 648-1804 (S.F., CA) > > > http://www.BASELogic.com > > > > > > Washington Mutual (WAMU) (Emeryville, California) > > > --- > > > > > > > > > > > > > > > >From: "Wayne Fay" <[EMAIL PROTECTED]> > > > >Reply-To: "Maven Users List" <[email protected]> > > > >To: "Maven Users List" <[email protected]> > > > >Subject: Re: [m202] mvn site:site with many modules does not tie docs > > > >together...??? > > > >Date: Mon, 6 Mar 2006 11:44:27 -0600 > > > > > > > >The maven-site-plugin is also available as 2.0-SNAPSHOT and > > > >2.0-beta-3-SNAPSHOT on Codehaus Maven snapshot repo: > > > > > > > http://snapshots.maven.codehaus.org/maven2/org/apache/maven/plugins/maven-site-plugin/ > > > > > > > > <repository> > > > > <id>Maven Snapshots</id> > > > > <url>http://snapshots.maven.codehaus.org/maven2/</url> > > > > <snapshots> > > > > <enabled>true</enabled> > > > > </snapshots> > > > > <releases> > > > > <enabled>false</enabled> > > > > </releases> > > > > </repository> > > > > > > > >Wayne > > > > > > > >On 3/6/06, Alexandre Poitras <[EMAIL PROTECTED]> wrote: > > > > > To use a snapshot version, you need to add this in the > repositories > > > > > section of your pom : > > > > > > > > > > <repository> > > > > > <id>...</id> > > > > > <name>...</name> > > > > > <layout>default</layout> > > > > > > ><url>http://cvs.apache.org/maven-snapshot-repository/</url> > > > > > <snapshots> > > > > > <checksumPolicy>ignore</checksumPolicy> > > > > > <updatePolicy>always</updatePolicy> > > > > > <enabled>true</enabled> > > > > > </snapshots> > > > > > </repository> > > > > > > > > > > On 3/6/06, Fran�ois-Xavier Busch <[EMAIL PROTECTED]> wrote: > > > > > > Hi, > > > > > > > > > > > > I am also interested by gathering all modules reports with the > >site > > > >plugin, > > > > > > so I have 2 questions : > > > > > > - I tried the site:stage goal but maven answers : "Required goal > >not > > > >found: > > > > > > site:stage" > > > > > > - I wanted to use the last version of the site plugin but how > >could I > > > >know > > > > > > what is the snapshot version ? I tried 2.0-SNAPSHOT but is > doesn't > > > >seem to > > > > > > work. > > > > > > > > > > > > Thanks. > > > > > > > > > > > > On 3/4/06, Alexandre Poitras <[EMAIL PROTECTED]> > wrote: > > > > > > > > > > > > > > A new version of the site plugin hasn't been released in a > >while. > > > >This > > > > > > > bug is fixed in the snapshot version. > > > > > > > > > > > > > > On 3/3/06, Marcin Cetnarski <[EMAIL PROTECTED]> wrote: > > > > > > > > Hello Mick, > > > > > > > > > > > > > > > > > > > > > > > > MK> I have a project that contains about 8 different > modules, > >and > > > > > > > sub-modules. > > > > > > > > MK> When I run site:site, the docs seem to get run for the > >whole > > > > > > > project, but > > > > > > > > MK> the main index.html does not tie the docs together like > >they > > > >did in > > > > > > > m102. > > > > > > > > > > > > > > > > MK> What am I missing to get a cohesive set of docs? > > > > > > > > > > > > > > > > First of all you should use snapshot version of > >maven-site-pugin > > > >(and > > > > > > > > some snapshot artifacts from doxia module). It works fine > with > > > > > > > multiprojects. If > > > > > > > > you want to see an offline version of site, use site:stage > >mojo. > > > > > > > > > > > > > > > > ... > > > > > > > > <reporting> > > > > > > > > <plugins> > > > > > > > > <plugin> > > > > > > > > <groupId>org.apache.maven.plugins</groupId> > > > > > > > > <artifactId>maven-site-plugin</artifactId> > > > > > > > > <configuration> > > > > > > > > <stagingDirectory>E:/stage</stagingDirectory> > > > > > > > > </configuration> > > > > > > > > </plugin> > > > > > > > > </plugins> > > > > > > > > </reporting> > > > > > > > > ... > > > > > > > > > > > > > > > > -- > > > > > > > > Best regards, > > > > > > > > Marcin Cetnarski > > > > > > > > > > > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > > > Alexandre Poitras > > > > > > > Qu�bec, Canada > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > -- > > > > > Alexandre Poitras > > > > > Qu�bec, Canada > > > > > > > > > > > >--------------------------------------------------------------------- > > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > > >--------------------------------------------------------------------- > > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > >
