Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[jetty-users] Jetty Maven Plugin Artifact Name Change

Everyone,

From the mailing lists and from the bug reports we're seeing a
bit of confusion over the jetty maven plugin versions, so read
on if you're a plugin user.

The jetty maven plugin was traditionally identified as:

<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>

This artifactId is valid for the jetty-6.x series,
but *incorrect* for the new jetty-7 series. It has changed to:

<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>


Now, the confusing part is that we unfortunately made a couple of early jetty-7 releases from a now dead-ended branch of code under the old "maven-jetty-plugin" artifactId.

**************************************************************
This means that if you're using that artifactId and you haven't explicitly provided a <version> element, you will most likely be using the dead-ended 7.0.0pre5 release.
**************************************************************

To keep using the jetty-6.x series of the plugin, please provide
an explicit version number. The most recent release is 6.1.20,
with 6.1.21 scheduled to come out within the next week. So please
update your pom to:

<groupId>org.mortbay.jetty</groupId>
<artifactId>maven-jetty-plugin</artifactId>
<version>6.1.20</version>

To transition to the new jetty-7 codebase, please update your
poms to:

<groupId>org.mortbay.jetty</groupId>
<artifactId>jetty-maven-plugin</artifactId>

It should not be necessary to provide a version number, but
for the record, 7.0.0.RC5 is the most recent release, with
7.0.0.RC6 also due to come out within the next week.

We're looking at making another release under the old  maven-jetty-plugin
artifact id that will print out a warning as a reminder to either
switch to the new artifactId or to explicitly provide a 6.x version number.
Here's the jira for that: http://jira.codehaus.org/browse/JETTY-1103

Sorry for the confusion, hope that helps clear things up,
Jan
--
Jan Bartel, Webtide LLC | janb@xxxxxxxxxxx | http://www.webtide.com


Back to the top