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]>
webtide.com <http://www.webtide.com/> - intalio.com/jetty
Expert advice, services and support from from the Jetty & CometD experts
eclipse.org/jetty - cometd.org


On Thu, May 8, 2014 at 2:11 PM, Jonathan Albrecht <
[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]
> 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