You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dave Feltenberger <da...@gmail.com> on 2007/10/02 16:59:46 UTC

Multi-module build failing to resolve classifier

All -

I have a multi-module build (maybe 15 modules in all), and one of the
projects is failing to resolve a dependency on an artifact with a
classifier.

WebServiceProject
 - WAR artifact
 - client stubs (using a classifier)

ProjectConsumingWebService
 - depends on WebServiceProject-client

When I do a build of the entire project, ProjectConsumingWebService is
failing to resolve the client dependency.  But when I run a bulid of
*only* the ProjectConsumingWebService, it works fine.

Anyone have any ideas?

I've seen this bug:
http://jira.codehaus.org/browse/MECLIPSE-287

But it appears to be specific to the Eclipse Plugin.

Thanks.

Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Multi-module build failing to resolve classifier

Posted by Dave Feltenberger <da...@gmail.com>.
Actually, I should clarify: ProjectConsumingWebService does NOT fail
to resolve the dependency - at least, Maven doesn't complain that it
can't find it - but it is not adding it to the build path, because I
get compilation errors related to missing classes that are in the
client classifier.

On 10/2/07, Dave Feltenberger <da...@gmail.com> wrote:
> All -
>
> I have a multi-module build (maybe 15 modules in all), and one of the
> projects is failing to resolve a dependency on an artifact with a
> classifier.
>
> WebServiceProject
>  - WAR artifact
>  - client stubs (using a classifier)
>
> ProjectConsumingWebService
>  - depends on WebServiceProject-client
>
> When I do a build of the entire project, ProjectConsumingWebService is
> failing to resolve the client dependency.  But when I run a bulid of
> *only* the ProjectConsumingWebService, it works fine.
>
> Anyone have any ideas?
>
> I've seen this bug:
> http://jira.codehaus.org/browse/MECLIPSE-287
>
> But it appears to be specific to the Eclipse Plugin.
>
> Thanks.
>
> Dave
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org