What version of Maven are you using (mvn -version)?

Also, it may seem silly but you need to be connected to the internet for
Maven to work properly.

On Wed, Dec 10, 2008 at 6:29 PM, mike beckerle <[EMAIL PROTECTED]> wrote:

>
> Ok, that helped. Lots happened but....I still get a bunch of errors.
> I can follow the instructions here in that it can't seem to download
> scala, but the lift-related stuff is a surprise to me.
>
> ...mike
>
> [INFO]
> ------------------------------------------------------------------------
> [ERROR] BUILD ERROR
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Failed to resolve artifact.
>
> Missing:
> ----------
> 1) org.scala-lang:scala-library:jar:2.7.2
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=org.scala-lang -
> DartifactId=scala-library -Dversion=2.7.2 -Dpackaging=jar -Dfile=/path/
> to/file
>
>  Alternatively, if you host your own repository you can deploy the
> file there:
>      mvn deploy:deploy-file -DgroupId=org.scala-lang -
> DartifactId=scala-library -Dversion=2.7.2 -Dpackaging=jar -Dfile=/path/
> to/file -Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) org.scala-lang:scala-library:jar:2.7.2
>
> 2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> core -Dversion=0.10-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.liftweb -DartifactId=lift-
> core -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>
> 3) net.liftweb:lift-util:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> util -Dversion=0.10-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.liftweb -DartifactId=lift-
> util -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-util:jar:0.10-SNAPSHOT
>
> 4) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> webkit -Dversion=0.10-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.liftweb -DartifactId=lift-
> webkit -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-webkit:jar:0.10-SNAPSHOT
>
> 5) net.liftweb:lift-mapper:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> mapper -Dversion=0.10-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.liftweb -DartifactId=lift-
> mapper -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-mapper:jar:0.10-SNAPSHOT
>
> 6) net.liftweb:lift-machine:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> machine -Dversion=0.10-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.liftweb -DartifactId=lift-
> machine -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-machine:jar:0.10-SNAPSHOT
>
> 7) net.liftweb:lift-record:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> record -Dversion=0.10-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.liftweb -DartifactId=lift-
> record -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-record:jar:0.10-SNAPSHOT
>
> 8) net.liftweb:lift-textile:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> textile -Dversion=0.10-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.liftweb -DartifactId=lift-
> textile -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-textile:jar:0.10-SNAPSHOT
>
> 9) net.liftweb:lift-facebook:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> facebook -Dversion=0.10-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.liftweb -DartifactId=lift-
> facebook -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-facebook:jar:0.10-SNAPSHOT
>
> 10) net.liftweb:lift-amqp:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> amqp -Dversion=0.10-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.liftweb -DartifactId=lift-
> amqp -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-amqp:jar:0.10-SNAPSHOT
>
> 11) net.liftweb:lift-xmpp:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> xmpp -Dversion=0.10-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.liftweb -DartifactId=lift-
> xmpp -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-xmpp:jar:0.10-SNAPSHOT
>
> 12) net.liftweb:lift-widgets:jar:0.10-SNAPSHOT
>
>  Try downloading the file manually from the project website.
>
>  Then, install it using the command:
>      mvn install:install-file -DgroupId=net.liftweb -DartifactId=lift-
> widgets -Dversion=0.10-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.liftweb -DartifactId=lift-
> widgets -Dversion=0.10-SNAPSHOT -Dpackaging=jar -Dfile=/path/to/file -
> Durl=[url] -DrepositoryId=[id]
>
>  Path to dependency:
>        1) com.liftworkshop:todo:war:1.0-SNAPSHOT
>        2) net.liftweb:lift-core:jar:0.10-SNAPSHOT
>        3) net.liftweb:lift-widgets:jar:0.10-SNAPSHOT
>
> ----------
> 12 required artifacts are missing.
>
> for artifact:
>  com.liftworkshop:todo:war:1.0-SNAPSHOT
>
> from the specified remote repositories:
>  scala-tools.org (http://scala-tools.org/repo-releases),
>  scala-tools.org.snapshots (http://scala-tools.org/repo-snapshots),
>  central (http://repo1.maven.org/maven2)
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 25 seconds
> [INFO] Finished at: Wed Dec 10 19:23:14 EST 2008
> [INFO] Final Memory: 7M/13M
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 25 seconds
> [INFO] Finished at: Wed Dec 10 19:23:14 EST 2008
> [INFO] Final Memory: 7M/13M
>
>
> [INFO]
> ------------------------------------------------------------------------
> [INFO] For more information, run Maven with the -e switch
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 1 minute 25 seconds
> [INFO] Finished at: Wed Dec 10 19:23:14 EST 2008
> [INFO] Final Memory: 7M/13M
>
> On Dec 10, 6:45 pm, "Jorge Ortiz" <[EMAIL PROTECTED]> wrote:
> > You need to cd into the project directory
> >
> >   cd todo
> >
> > --j
> >
> > On Wed, Dec 10, 2008 at 5:30 PM, mike beckerle <[EMAIL PROTECTED]>
> wrote:
> >
> > > Lifters,
> >
> > > I tried to follow David Pollack's ToDo example to start trying out
> > > lift.
> >
> > > It dies on me before we even get started. I am running maven 2.0.9 on
> > > Ubuntu.
> >
> > > Any help resolving this greatly appreciated.
> >
> > > The first big mvn command succeeds:
> >
> > >  mvn archetype:create -U \
> > >  -DarchetypeGroupId=net.liftweb \
> > > -DarchetypeArtifactId=lift-archetype-basic \
> > > -DarchetypeVersion=0.10-SNAPSHOT \
> > > -DremoteRepositories=http://scala-tools.org/repo-snapshots\<http://scala-tools.org/repo-snapshots%5C>
> > > -DgroupId=com.liftworkshop -DartifactId=todo
> >
> > > The next step fails:
> >
> > > mvn jetty:run
> >
> > > [INFO] Scanning for projects...
> > > [INFO] Searching repository for plugin with prefix: 'jetty'.
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [ERROR] BUILD ERROR
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] The plugin 'org.apache.maven.plugins:maven-jetty-plugin' does
> > > not exist or no valid version could be found
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] For more information, run Maven with the -e switch
> > > [INFO]
> > >
> ------------------------------------------------------------------------
> > > [INFO] Total time: < 1 second
> > > [INFO] Finished at: Tue Dec 09 18:54:24 EST 2008
> > > [INFO] Final Memory: 1M/4M
> > > [INFO]
> > >
> ------------------------------------------------------------------------
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to