Thank you Tim,
I'm still struggling.
I tried the same on another computer. And get another error.
Context:
Apache Maven 2.2.0 (r788681; 2009-06-26 15:04:01+0200)
Java version: 1.6.0_03
Java home: C:\Program Files\Java\jdk1.6.0_03\jre
Default locale: de_DE, platform encoding: Cp1252
OS name: "windows vista" version: "6.0" arch: "x86" Family: "windows"
Result below.
Any help welcome.
Thank you, alux
D:\lang\lift\liftweb>mvn scala:doc
[INFO] Scanning for projects...
[INFO] Reactor build order:
[INFO] Lift Web Framework
[INFO] Lift Base Components
[INFO] Lift Common
[INFO] Lift Actor
[INFO] Lift Json
[INFO] Lift Util
[INFO] Lift WebKit
[INFO] Lift Modules
[INFO] Lift Widgets
[INFO] Lift Persistence Components
[INFO] Lift Mapper
[INFO] Lift JPA
[INFO] Lift Record
[INFO] Lift TestKit
[INFO] Lift OSGi
[INFO] Lift Wizard
[INFO] Lift Machine
[INFO] Lift Textile
[INFO] Lift Facebook
[INFO] Lift AMQP
[INFO] Lift XMPP
[INFO] Lift OpenID
[INFO] Lift OAuth
[INFO] Lift PayPal
[INFO] Lift JTA
[INFO] Lift Archetypes
[INFO] lift-archetype-blank
[INFO] lift-archetype-basic
[INFO] lift-archetype-jpa-basic
[INFO] lift-archetype-jpa-blank
[INFO] lift-archetype-jpa-blank-single
[INFO] Lift Core (full lift)
[INFO] Lift Sites
[INFO] Lift Example
[INFO] OSGi Examples for Lift
[INFO] OSGi Examples for Lift - Hello
[INFO] Skittr Example
[INFO] HelloLift example application
[INFO] HelloDarwin tutorial application
[INFO] JPA Demo Master
[INFO] JPADemo-spa
[INFO] JPADemo-web
[INFO] Lift Flot widget example
[INFO] HTTP Authentication example
WAGON_VERSION: 1.0-beta-2
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Web Framework
[INFO] task-segment: [scala:doc]
[INFO]
------------------------------------------------------------------------
[INFO] [scala:doc {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Base Components
[INFO] task-segment: [scala:doc]
[INFO]
------------------------------------------------------------------------
Downloading:
http://scala-tools.org/repo-releases/javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository scala-tools.release (http://scala-tools.or
g/repo-releases)
Downloading:
http://scala-tools.org/repo-snapshots/javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository scala-tools.snapshot (http://scala-tools.o
rg/repo-snapshots)
Downloading:
http://scala-tools.org/repo-releases/javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository scala-tools.org (http://scala-tools.org/re
po-releases)
Downloading:
http://scala-tools.org/repo-snapshots/javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository scala-tools.org - snapshots (http://scala-
tools.org/repo-snapshots)
Downloading:
http://download.java.net/maven/2//javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository maven2-repository.dev.java.net (http://dow
nload.java.net/maven/2/)
Downloading:
http://specs.googlecode.com/svn/maven2//javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository specs-repository (http://specs.googlecode.
com/svn/maven2/)
Downloading:
http://repo1.maven.org/maven2/javax/script/script-js/1.0/script-js-1.0.pom
[INFO] Unable to find resource 'javax.script:script-js:pom:1.0' in
repository central (http://repo1.maven.org/maven2)
[INFO] [scala:doc {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[WARNING] No source files found in D:\lang\lift\liftweb\lift-base\src
\main\scala
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Common
[INFO] task-segment: [scala:doc]
[INFO]
------------------------------------------------------------------------
[INFO] [scala:doc {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO] Checking for multiple versions of scala
16.11.2009 20:28:59 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
16.11.2009 20:28:59 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
16.11.2009 20:28:59 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
16.11.2009 20:28:59 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for each classes
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Actor
[INFO] task-segment: [scala:doc]
[INFO]
------------------------------------------------------------------------
[INFO] [scala:doc {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO] Checking for multiple versions of scala
16.11.2009 20:29:02 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
16.11.2009 20:29:02 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
16.11.2009 20:29:02 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
16.11.2009 20:29:02 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for each classes
failed to find baseUri for (net.liftweb.common, GenericActor, false
failed to find baseUri for (net.liftweb.common, ForwardableActor,
false
failed to find baseUri for (net.liftweb.common, Box, false
failed to find baseUri for (net.liftweb.common, Box, false
failed to find baseUri for (net.liftweb.common, Box, false
failed to find baseUri for (net.liftweb.common, TypedActor, false
failed to find baseUri for (net.liftweb.common, SimpleActor, false
failed to find baseUri for (net.liftweb.common, Box, false
[INFO]
------------------------------------------------------------------------
[INFO] Building Lift Json
[INFO] task-segment: [scala:doc]
[INFO]
------------------------------------------------------------------------
[INFO] [scala:doc {execution: default-cli}]
[INFO] Checking for multiple versions of scala
[INFO] Checking for multiple versions of scala
D:\lang\lift\liftweb\lift-base\lift-json\src\main\scala\net\liftweb
\json\JsonAST.scala:19: error: JsonAST is already def
ined as package JsonAST
object JsonAST {
^
D:\lang\lift\liftweb\lift-base\lift-json\src\main\scala\net\liftweb
\json\JsonAST.scala:221: error: JsonDSL is already de
fined as package JsonDSL
object JsonDSL extends Implicits with Printer {
^
D:\lang\lift\liftweb\lift-base\lift-json\src\main\scala\net\liftweb
\json\JsonParser.scala:21: error: JsonParser is alrea
dy defined as package JsonParser
object JsonParser {
^
16.11.2009 20:29:04 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for overview
16.11.2009 20:29:04 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write page for all-classes (list)
16.11.2009 20:29:04 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write index.html
16.11.2009 20:29:04 org.scala_tools.vscaladoc.HtmlRenderer render
INFO: write doc for each classes
three errors found
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] wrap: org.apache.maven.reporting.MavenReportException: wrap:
Process exited with an error: 1(Exit value: 1)
[INFO]
------------------------------------------------------------------------
[INFO] For more information, run Maven with the -e switch
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 19 seconds
[INFO] Finished at: Mon Nov 16 20:29:04 CET 2009
[INFO] Final Memory: 14M/28M
[INFO]
------------------------------------------------------------------------
D:\lang\lift\liftweb>
On 16 Nov., 17:42, Timothy Perrett <[email protected]> wrote:
> Quite obviously I meant the latter....
>
> Not sure why your getting that error, changes is a standard plugin.
> Please provide your maven version and java version.
>
> Cheers, Tim
>
> On Nov 16, 3:19 pm, alux <[email protected]> wrote:
>
>
>
> > I'm not offline in the moment, I can use the web to build the docs,
> > the problem is, it doesnt work.
>
> > 'mvn -o scala:doc from the root pom.xml'
> > at the command line? doesnt look like any maven call I have seen til
> > now.
>
> > Or do you mean
> > mvn -o scala:doc
> > in the directory with the root pom (I assume this is the liftweb
> > directory).
>
> > Well, I tried your line, and got this 'org.apache.maven.plugins:maven-
> > changes-plugin:pom' not found thing again.
>
> > Thanks, alux
>
> > On 16 Nov., 16:06, Timothy Perrett <[email protected]> wrote:
>
> > > The command you need when your offline is:
>
> > > mvn -o scala:doc from the root pom.xml
>
> > > Doing this command on a fresh lift clone gives you docs for 1.1-SNAPSHOT,
> > > not 1.0. I would highly recommend using 1.1 now... a lot has changed
> > > since 1.0
>
> > > Cheers, Tim
>
> > > On 16 Nov 2009, at 14:27, alux wrote:
>
> > > > Hello all,
>
> > > > I got some difficulties working with lift, and heard this is the place
> > > > to ask.
>
> > > > The current problem seems simple. I want to get the API docs to read
> > > > them offline. But there is no (findable) place to download them. Why?
> > > > The typical time to dig into an API is while travelling, and thats
> > > > sometimes without web.
>
> > > > So I learned I have to download the sources, and do "mvn install
> > > > scala:doc"
>
> > > > Fine, lets give it a try.
>
> > > > Well, btw., I'm actually very happy about lift using Maven. Its not an
> > > > easy tool, but I use it at job, and in my company its definitely a
> > > > selling point for lift.
>
> > > > So I do
>
> > > > git clone git://github.com/dpp/liftweb.git
>
> > > > cd liftweb
>
> > > > mvn install scala:doc
>
> > > > And it misses some zeigermann xml package. Version 1.1. The
> > > > sourceforge version is 1.0b2 - ??
>
> > > > I find some 1.1 version (incl POM) of it at the jboss site. Of course
> > > > I dont knwo whether thats the right one, but without alternatives in
> > > > sight, I give it a try. And get
>
> > > > unable to download from any repo
> > > > 'org.apache.maven.plugins:maven-changes-plugin:pom:2.1'
>
> > > > So I'm stuck. (This seems not to be because of the zeigerman stuff -
> > > > its pom doesnt have references.)
>
> > > > Well, any help anybody?
>
> > > > And, if we are at it:
> > > > What do I have to do to produce the docs for lift 1.0, instead of the
> > > > 1.1 snapshot? (probably some git thing?)
>
> > > > Thank you very much,
>
> > > > regards, alux- Zitierten Text ausblenden -
>
> > > - Zitierten Text anzeigen -- Zitierten Text ausblenden -
>
> - Zitierten Text anzeigen -
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Lift" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---