Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jetty-dev] problem with latest jetty maven plugin 8.0.3.v20111011

Federico,

I think possibly the problem is with the version of maven being used to execute
the plugin.

I did change the names of the configuration tags so they are more consistent and meaningful, although they use the mojo parameter "alias" mechanism to preserve backward compatibility with the old names. I tested this works against maven versionĀ  3.0.3.

Similarly with the dependencies, it seems to work against maven version 3.0.3.

Could you upgrade to maven 3.0.3 and see if the issues go away? If so, I will write up a wiki page and/or blog about maven versions and the plugin.

thanks
Jan

On 19 October 2011 01:38, Federico Fissore <federico@xxxxxxxxxxx> wrote:
Hello all

since we haven't specified the version, some days ago it happened that the latest maven jetty plugin (8.0.3.v20111011) was used to run our webapps and we have had two problems with it

the first was that the plugin expected the tag to be named "<webApp>" while until version 8.0.1.v20110908 it was "<webAppConfig>", and the fix was trivial

the second problem was blocking: apparently, the dependencies aren't loaded at all

proof in the linked bz2 [1], which contains the result of a
mvn archetype:generate
plus a dependency to spring-web and a reference to a listener (just to load something)
the exception is quite clear: ClassNotFoundException

any hints on that?

btw, where is the source code repository of the plugin? maybe looking at the code changes would allow some debugging

thanks in advance

federico

[1] http://fissore.org/files/jetty_plugin_20111011.tar.bz2
_______________________________________________
jetty-dev mailing list
jetty-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/jetty-dev


Back to the top