IIRC : Lift is tested with jetty 6.1+ and not with 7+ => using the
maven plugin 6.1.x and not the 7+ (with the new name)


On Sun, Mar 8, 2009 at 13:45, valstadsve <[email protected]> wrote:
>
> I think the problem is the artifactId being used: "maven-jetty-
> plugin". As I understand it, codehaus has renamed it to the more
> mavenista-compliant "jetty-maven-plugin": 
> http://mojo.codehaus.org/jetty-maven-plugin/
>
> This is catered to by various forwarding mechanisms in the repos out
> there, such as here:
>
> http://repo2.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/7.0.0.pre5/maven-jetty-plugin-7.0.0.pre5.pom
>
> However, these mechanisms of maven add their own dimension of
> potential trouble, and combined with users' local repositories and
> maven proxies (we run archiva), you get seemingly willfully odd
> behavior at times. At least on my setup, the build breaks on the
> current poms, but it goes through when I rename the maven-jetty-plugin
> artifactIds to jetty-maven-plugin.
>
> Looking at the Lift framework now, I think it might be the best way to
> get some fun and learning out of the upcoming web application project
> at work.
>
> Kjetil
>
> On Feb 27, 1:40 am, David Pollak <[email protected]>
> wrote:
>> On Thu, Feb 26, 2009 at 4:37 PM, Meredith Gregory
>> <[email protected]>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 <
>> > [email protected]> 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 <
>> >> [email protected]> 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....
>> >>> Downloading:
>> >>>http://scala-tools.org/repo-releases/org/mortbay/jetty/maven-jetty-pl...
>> >>> Downloading:
>> >>>http://repo1.maven.org/maven2/org/mortbay/jetty/maven-jetty-plugin/6....
>> >>> [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 frameworkhttp://liftweb.net
>> >> Beginning Scalahttp://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
>>
>> --
>> Lift, the simply functional web frameworkhttp://liftweb.net
>> Beginning Scalahttp://www.apress.com/book/view/1430219890
>> Follow me:http://twitter.com/dpp
>> Git some:http://github.com/dpp
>
> >
>

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