You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Mick Knutson <mi...@gmail.com> on 2006/09/18 22:04:19 UTC

[m204] want to deploy site to local hard drive withouth scm

How can I deploy, and/or stage my entire site (including sub-modules)
locally to c:\stage

-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Mick Knutson <mi...@gmail.com>.
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 <mi...@gmail.com> 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 <ma...@iki.fi> 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 < mickknutson@gmail.com> wrote:
> > >>
> > >> Embedded error:
> > >>
> > c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.html
> > >> (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 < franz.see@gmail.com> 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: users-unsubscribe@maven.apache.org
> > >> > > For additional commands, e-mail: users-help@maven.apache.org
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >> > 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<http://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: users-unsubscribe@maven.apache.org
> > >> > For additional commands, e-mail: users-help@maven.apache.org
> > >> >
> > >> >
> > >>
> > >>
> > >> --
> > >>
> > >> Thanks
> > >>
> > >> DJ MICK
> > >> http://www.djmick.com
> > >> http://www.myspace.com/mickknutson
> > >>
> > >
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>



-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Mick Knutson <mi...@gmail.com>.
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 <ma...@iki.fi> 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 <mi...@gmail.com> wrote:
> >>
> >> Embedded error:
> >> c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.html
> >> (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 < franz.see@gmail.com> 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: users-unsubscribe@maven.apache.org
> >> > > For additional commands, e-mail: users-help@maven.apache.org
> >> > >
> >> > >
> >> > >
> >> >
> >> > 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<
> 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: users-unsubscribe@maven.apache.org
> >> > For additional commands, e-mail: users-help@maven.apache.org
> >> >
> >> >
> >>
> >>
> >> --
> >>
> >> Thanks
> >>
> >> DJ MICK
> >> http://www.djmick.com
> >> http://www.myspace.com/mickknutson
> >>
> >
> >
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Markku Saarela <ma...@iki.fi>.
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 <mi...@gmail.com> wrote:
>>
>> Embedded error:
>> c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.html 
>> (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 < franz.see@gmail.com> 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: users-unsubscribe@maven.apache.org
>> > > For additional commands, e-mail: users-help@maven.apache.org
>> > >
>> > >
>> > >
>> >
>> > 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<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: users-unsubscribe@maven.apache.org
>> > For additional commands, e-mail: users-help@maven.apache.org
>> >
>> >
>>
>>
>> -- 
>>
>> Thanks
>>
>> DJ MICK
>> http://www.djmick.com
>> http://www.myspace.com/mickknutson
>>
>
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Mick Knutson <mi...@gmail.com>.
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 <mi...@gmail.com> wrote:
>
> Embedded error:
> c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.html (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 < franz.see@gmail.com> 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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> > >
> > >
> >
> > 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<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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
>
>
> --
>
> Thanks
>
> DJ MICK
> http://www.djmick.com
> http://www.myspace.com/mickknutson
>



-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Mick Knutson <mi...@gmail.com>.
Embedded error:
c:\opt\npi\target\site\stage\localhost\c:\opt\fullsite\integration.html (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 <fr...@gmail.com> 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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> >
>
> 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
> --
> 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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>


-- 

Thanks

DJ MICK
http://www.djmick.com
http://www.myspace.com/mickknutson

Re: [m204] want to deploy site to local hard drive withouth scm

Posted by franz see <fr...@gmail.com>.


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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
> 
> 

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
-- 
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: [m204] want to deploy site to local hard drive withouth scm

Posted by Markku Saarela <ma...@iki.fi>.
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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org