- About Scala
- Documentation
- Code Examples
- Software
- Scala Developers
Re: [Lift] Re: jetty dependency weirdness
Fri, 2009-02-27, 01:41
On Thu, Feb 26, 2009 at 4:37 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
David,
i did. that. and. other. things.
Eventually, it just started working again. Software: can't live with it; can't kill it.
It's a problem with the Maven plugin. It's never particularly happen if all the repositories are not available. It caused "issues" for me yesterday when I was giving a Scala preso and didn't have network access.
Best wishes,
--greg
On Thu, Feb 26, 2009 at 4:18 PM, David Pollak <feeder.of.the.bears@gmail.com> wrote:
Greg,
Try mvn -o compile and see if that makes a difference.
Thanks,
David
On Thu, Feb 26, 2009 at 3:35 PM, Meredith Gregory <lgreg.meredith@gmail.com> wrote:
Lifted,
i'm suddenly unable to build. Anyone else experiencing this particular division of joy?
Best wishes,
--greg
bash-3.2$ mvn compile [INFO] Scanning for projects...[INFO] ------------------------------------------------------------------------[INFO] Building dspace[INFO] task-segment: [compile][INFO] ------------------------------------------------------------------------ Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.15.rc5/maven-jetty-plugin-6.1.15.rc5.pom Downloading: http://scala-tools.org/repo-releases/org/mortbay/jetty/maven-jetty-plugin/6.1.15.rc5/maven-jetty-plugin-6.1.15.rc5.jar Downloading: http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6.1.15.rc5/maven-jetty-plugin-6.1.15.rc5.jar [INFO] ------------------------------------------------------------------------[ERROR] BUILD FAILURE[INFO] ------------------------------------------------------------------------[INFO] A required plugin was not found: Plugin could not be found - check that the goal name is correct: Unable to download the artifact from any repository
Try downloading the file manually from the project website.
Then, install it using the command: mvn install:install-file -DgroupId=org.mortbay.jetty -DartifactId=maven-jetty-plugin -Dversion=6.1.15.rc5 -Dpackaging=maven-plugin -Dfile=/path/to/file
Alternatively, if you host your own repository you can deploy the file there: mvn deploy:deploy-file -DgroupId=org.mortbay.jetty -DartifactId=maven-jetty-plugin -Dversion=6.1.15.rc5 -Dpackaging=maven-plugin -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.15.rc5
from the specified remote repositories: central (http://repo1.maven.org/maven2), scala-tools.org (http://scala-tools.org/repo-releases)
org.mortbay.jetty:maven-jetty-plugin:maven-plugin:6.1.15.rc5
from the specified remote repositories: central (http://repo1.maven.org/maven2), scala-tools.org (http://scala-tools.org/repo-releases)
[INFO] ------------------------------------------------------------------------[INFO] For more information, run Maven with the -e switch[INFO] ------------------------------------------------------------------------ [INFO] Total time: 1 second[INFO] Finished at: Thu Feb 26 15:33:38 PST 2009[INFO] Final Memory: 2M/5M[INFO] ------------------------------------------------------------------------ bash-3.2$
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105
+1 206.650.3740
http://biosimilarity.blogspot.com
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp
--
L.G. Meredith
Managing Partner
Biosimilarity LLC
806 55th St NE
Seattle, WA 98105
+1 206.650.3740
http://biosimilarity.blogspot.com
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Lift" group.
To post to this group, send email to liftweb@googlegroups.com
To unsubscribe from this group, send email to 2Bunsubscribe [at] googlegroups [dot] com" target="_blank" rel="nofollow">liftweb+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/liftweb?hl=en
-~----------~----~----~----~------~----~------~--~---
--
Lift, the simply functional web framework http://liftweb.net
Beginning Scala http://www.apress.com/book/view/1430219890
Follow me: http://twitter.com/dpp
Git some: http://github.com/dpp