Site-deploy is how its done in Maven2. I guess site:deploy is a maven1 goal.
I just ran 'mvn site' and I do get index.html in each and every target/site dir. Could it be that an exception is thrown somewhere in the process? -Ronny -----Opprinnelig melding----- Fra: Mick Knutson [mailto:[EMAIL PROTECTED] Sendt: 19. september 2006 21:21 Til: Maven Users List Emne: Re: [m204] want to deploy site to local hard drive withouth scm Got a bit further by running mvn site-deploy instead of site:deploy But, there are no index.html files in any of the project modules. So there is still a dead link. It seems there is not an index.html generated ever. Why? On 9/19/06, Mick Knutson <[EMAIL PROTECTED]> wrote: > > A bit further. > But now, I get a site, that does not have an index.html, but when I > open any of the html files, there are links to my sub-modules, but the > links are dead as the sub-module site files did not seem to get moved over. > > > > > On 9/19/06, Markku Saarela <[EMAIL PROTECTED]> wrote: > > > > First you must run mvn site:site and after that mvn site:deploy > > > > - markku > > > > Mick Knutson wrote: > > > And then mvn site:deploy: > > > > > > > > > c:\opt\npi>mvn site:deploy > > > [INFO] Scanning for projects... > > > [INFO] Reactor build order: > > > [INFO] npi > > > [INFO] common > > > [INFO] common-jar > > > [INFO] properties-configuration > > > [INFO] common-war > > > [INFO] project-web > > > [INFO] npi-webproject > > > [INFO] project-ear > > > [INFO] Searching repository for plugin with prefix: 'site'. > > > [INFO] > > > > > -------------------------------------------------------------------- > > -------- > > > > > > [INFO] Building npi > > > [INFO] task-segment: [site:deploy] > > > [INFO] > > > > > -------------------------------------------------------------------- > > -------- > > > > > > [INFO] [site:deploy] > > > file:///c:/stage - Session: Opened file:///c:/stage - Session: > > > Disconnecting file:///c:/stage - Session: Disconnected [INFO] > > > > > -------------------------------------------------------------------- > > -------- > > > > > > > > [INFO] Building common > > > [INFO] task-segment: [site:deploy] > > > [INFO] > > > > > -------------------------------------------------------------------- > > -------- > > > > > > [INFO] [site:deploy] > > > > > > > > > This created a directory called "C:\stage\stage\localhost" but > > > there were no files in it. > > > > > > > > > > > > On 9/19/06, Mick Knutson < [EMAIL PROTECTED]> wrote: > > >> > > >> Embedded error: > > >> > > c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.h > > tml > > >> (The > > >> filename, directory name, or volume label syntax is incorrect) > > >> > > >> > > >> Thsi was with mvn site:stage and this declaration: > > >> > > >> <distributionManagement> > > >> <site> > > >> <id>delta-npi-site</id> > > >> <name>Delta NPI Web</name> > > >> <url> file:///c:/opt/fullsite</url> > > >> </site> > > >> </distributionManagement> > > >> > > >> > > >> > > >> > > >> On 9/18/06, franz see < [EMAIL PROTECTED]> wrote: > > >> > > > >> > > > >> > > > >> > > > >> > Markku Saarela wrote: > > >> > > > > >> > > Put your parent pom.xml site configuration using file > > >> > > protocol > > >> > > > > >> > > <distributionManagement> > > >> > > <site> > > >> > > <id>website</id> > > >> > > <url>file:///c:/stage </url> > > >> > > </site> > > >> > > </distributionManagement> > > >> > > > > >> > > - markku > > >> > > > > >> > > Mick Knutson wrote: > > >> > >> How can I deploy, and/or stage my entire site (including > > >> sub-modules) > > >> > > > >> > >> locally to c:\stage > > >> > >> > > >> > > > > >> > > > > >> > > > > >> ----------------------------------------------------------------- > > >> ---- > > >> > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > >> > > For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > > > >> > > > > >> > > > > >> > > > >> > Good day to you, Mick, > > >> > > > >> > For more info, you can also take a look at [1] and go to the > > >> "Staging a > > >> > Site" section. However, [1] has not yet been released. Thus, if > > >> > you > > > > >> have > > >> > any > > >> > comments or suggestions, please feel free to let us know about > > >> > it > > so > > >> > that we > > >> > can improve it. > > >> > > > >> > Thanks, > > >> > Franz > > >> > > > >> > [1] > > >> http://people.apache.org/~oching/maven-site-plugin/usage.html<htt > > >> p://people.apache.org/%7Eoching/maven-site-plugin/usage.html> > > < http://people.apache.org/%7Eoching/maven-site-plugin/usage.html> > > >> > > >> > -- > > >> > View this message in context: > > >> > > > >> > > http://www.nabble.com/-m204--want-to-deploy-site-to-local-hard-drive > > -withouth-scm-tf2293502.html#a6382567 > > >> > > >> > Sent from the Maven - Users mailing list archive at Nabble.com . > > >> > > > >> > > > >> > > > -------------------------------------------------------------------- > > - > > >> > To unsubscribe, e-mail: [EMAIL PROTECTED] > > >> > For additional commands, e-mail: [EMAIL PROTECTED] > > >> > > > >> > > > >> > > >> > > >> -- > > >> > > >> Thanks > > >> > > >> DJ MICK > > >> http://www.djmick.com > > >> http://www.myspace.com/mickknutson > > >> > > > > > > > > > > > > > > > -------------------------------------------------------------------- > > - To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > -- > > Thanks > > DJ MICK > http://www.djmick.com > http://www.myspace.com/mickknutson > -- Thanks DJ MICK http://www.djmick.com http://www.myspace.com/mickknutson !DSPAM:45104343227147818312239! --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]