maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Anders Hammar <and...@hammar.net>
Subject Re: Compiling maven plugin and using it in the same project.
Date Mon, 25 Feb 2013 21:32:50 GMT
Are you using Maven 2 or 3? I'm guessing 2.x...

/Anders


On Mon, Feb 25, 2013 at 9:18 PM, Mariusz Pluciński <
plucinski.mariusz@gmail.com> wrote:

> Hello,
>
> I would like to ask, is there any way to have two project: maven plugin
> and project using the plugin as submodules of the same root project, and
> compile them just by "mvn package" (orinstall) called for root project?
>
> I have tried to do it this way, but got an error:
>
> Unresolveable build extension: Plugin <plugin project id was here> or one
> of its dependencies could not be resolved: Could not find artifact <again
> the same id>.
>
> In case of dependencies, there is no problem to find artifact being
> submodule parallel to currently built project - maven understands, that it
> should build e.g. dependency jar before building the dependent one. Is it
> possible to make him do this with plugin?
>
> Best regards,
> Mariusz Pluciński
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message