Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-users] jetty-distribution maven dependencies missing

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: jetty-users-bounces@xxxxxxxxxxx [mailto:jetty-users-bounces@xxxxxxxxxxx] 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 <joakim@xxxxxxxxxxx>

Expert advice, services and support from from the Jetty & CometD experts

 

On Thu, May 8, 2014 at 2:11 PM, Jonathan Albrecht <jonathan.albrecht@xxxxxxxxxxxxxxxxxx> 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
jetty-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-users

 


Back to the top