Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-dev] BuildContext null in Mojo when executed from within Eclipse
  • From: Oliver Drotbohm <odrotbohm@xxxxxxxxxx>
  • Date: Wed, 25 Nov 2020 19:54:59 +0000
  • Accept-language: de-DE, en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=vmware.com; dmarc=pass action=none header.from=vmware.com; dkim=pass header.d=vmware.com; arc=none
  • Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=RBYqV5GvkQkeD7wv3OfcUBDDeOPbwCgln26ORYNv/s0=; b=NtfaOoCc1pmzzdtBtXpEG/RgVIS2jjoazv9xlUZU9tMF7a5r0pt8DIdPK9mH6o5HlZMVWB8KANgUlos2dZgvqlyfTc/gzQ8krYIp3uEFa4j/VChlAemKtuBR6NwaA7mT2t4ljq/gZqm1S/kEsmqxOASpfK1KqnzuGw8YZXDoEA09D9/HxkFUBR92bg9owb2XfNYtyCj5F6c4AcOqreHMYu2s0wKLxIMH/nUUdyP7IU5MCW7iNhuBPtoG6H3XdRb2jxIJ/ZPV/hjn32pnzJKdFeiZYUqNqKjv6iaztLoJIN2oq4iG1F/hCcHFWXH1MUThGaX8F4cjFAg9LEvVsHjgxw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hz10dBI7Yv1WFvPC6t4khmMm1x5nyGg/jWKdFYkym3Ml46VxtN7mB/7O7JzPTetWrDpEFBRvMgfmTHJVDOgsbuyNOcvt9nQIuId3TVExd8nzfNdGUoI2wcnvK0eD3nvqG8p5zxJkFErKV742kaCyAFUEDtJqd2Bj+OqPTPDWF32TJT0+aioeLz6caE/Sw+fl3GyN4TD8jBuQSrFbpE47vK+ejI4kHuf+KTPhzX2eT2VWWIvlNyDlJtss7r2RVWJd+1iOS0H+KTimaUVk8NX/tvDUfUk2q0+yfDaakqzhqH2kpO0+JMhesPLVzddyGBz5AapdcO7zUF9wcWhD8PBdsA==
  • Delivered-to: m2e-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/m2e-dev>
  • List-help: <mailto:m2e-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/m2e-dev>, <mailto:m2e-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/m2e-dev>, <mailto:m2e-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHWw2TancOwsIkNI0K803oIDwTk4w==
  • Thread-topic: BuildContext null in Mojo when executed from within Eclipse

Hi all,

I followed the guidelines for Mojo implementations and m2e interaction described here [0] and see the BuildContext instance in my Mojo to be populated when running a build from the command line and debugging it in Eclipse. However, if I use the Maven Plugin in some other project, I see it being executed on incremental compilation but the BuildContext instance inside my Mojo class staying null.

Anything obvious I am missing that could cause this?

Cheers,
Ollie

[0] https://www.eclipse.org/m2e/documentation/m2e-making-maven-plugins-compat.html

Attachment: signature.asc
Description: Message signed with OpenPGP


Back to the top