Both compile and link are hooked into maven compile phase.  Normally
the native compile should get by very quickly since no code changes.
The link phase still have to rebuild. Currently there is no work
around.

-Dan

On Mon, Feb 28, 2011 at 5:53 AM, sintetik <sintet...@gmail.com> wrote:
> Hi,
>
> I'm trying to migrate my cpp project to native-maven-plugin.
> I've got buld succefull but there's a problem with repatable build. The
> problem is that both compilation and linking is repeated even is there was
> no changes in source code.
> All in all, i have total time for the first build (single module) 27 seconds
> and next build (same module, no changes) 22 seconds. Looks a bit weird.
>
> Is there any workaround for this?
> If not, is there any principal obstacle for patching native-maven-plugin to
> fix this?
>
> Regards,
> Sergey.
>
>
> --
> View this message in context: 
> http://maven.40175.n5.nabble.com/c-native-maven-plugin-redundant-linking-at-second-run-problem-tp3403291p3403291.html
> Sent from the Maven - Users mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@maven.apache.org
> For additional commands, e-mail: users-h...@maven.apache.org
>
>

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

Reply via email to