Thanks for the quick reply. I’ll look into your suggestions as well. We’re 
saddled with a rather strange build system right now so I don’t have much 
flexibility.

Jon

From: [email protected] [mailto:[email protected]] 
On Behalf Of Joakim Erdfelt
Sent: May-08-14 5:25 PM
To: JETTY user mailing list
Subject: Re: [jetty-users] jetty-distribution maven dependencies missing

Good point, we'll fix this for the next Jetty release.
To be fair, having the zip as a dependency is rather strange.

If you are unpacking or using the dependency plugin with the 
jetty-distribution, it might make more sense to use it as an <artifactItem> in 
the plugin configuration specifically.
Or you could use the assembly plugin and its descriptor xml to unpack / include 
the distribution too.

--
Joakim Erdfelt <[email protected]<mailto:[email protected]>>
webtide.com<http://www.webtide.com/> - 
intalio.com/jetty<http://intalio.com/jetty>
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty<http://eclipse.org/jetty/> - cometd.org<http://cometd.org/>

On Thu, May 8, 2014 at 2:11 PM, Jonathan Albrecht 
<[email protected]<mailto:[email protected]>>
 wrote:
I’m trying to include the jetty distribution in a maven project with:

        <dependency>
            <groupId>org.eclipse.jetty</groupId>
            <artifactId>jetty-distribution</artifactId>
            <version>9.1.4.v20140401</version>
            <type>zip</type>
        </dependency>

But when I build with maven I get:

Could not find artifact org.eclipse.jetty:test-jetty-webapp:war:9.1.4.v20140401…

This used to work with jetty 8 because the test-jetty-webapp and similar 
dependencies were in maven central but now in the 9.x series it isn’t.

Is there some way to make it work?

Thanks,

Jon

_______________________________________________
jetty-users mailing list
[email protected]<mailto:[email protected]>
https://dev.eclipse.org/mailman/listinfo/jetty-users

_______________________________________________
jetty-users mailing list
[email protected]
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to