Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Maven version issue
  • From: Ming Cheng <chengm349@xxxxxxxxxxx>
  • Date: Mon, 20 Jan 2020 04:12:13 +0000
  • Accept-language: en-US
  • Arc-authentication-results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=OlpQc5cgO/I4X19zHI0w7vqYSfY929E06WvRfhkMzhc=; b=MxgETB90NY0ZBHNvn+XH2CemD0qFK0H8Q8Wew4rWDnChBvnhcAv8innINuWtdpksC38sW6sQ9a2oCHvN8OHSYF5RBzQJozLdAyCennl0BTeEgoQMXBWZp49bdl2GWKDtK206px4T1RF5QhZQDcmh6FdCWKOAuj2FaUXMcAALjo7+RBjaoQB/olrYy9YwjoInHbZkv456ji2ei0Gf0kMeEm1pFZ05285R3c6jV+8M+O8zw9ID5Iav5Pv9XI8tWwIuEBtDUhXAURaHWicwnVtS/QQPu6Na2/Xxv/f01Tt1zIgunftZRy/pD1axrSFhbUuWGAoM3cSv3/lkq+Jv2cpsdw==
  • Arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=WMCeagS6kaMynbuL36Wp4G5b2d/1u2WpkLA410CVLCo+qA5lzx7g4Se/XKBbIjCjC9KhwQoi1BqyHSvk9mip0HjhuHcNYm/0hKp6ztLacfDOtHGB3ftxZ3Fo+04+pXBb7q5GRijmZbmZrtM6cqTNPlps4E6bExSPDIiG2zGuQXVTajSphXMfHcgAZGeG7oBKYw5hB9t3grDeUoK/RsWGvFMQQo4K2yTHLSh6s9LhzHIfh9oM1vNa4OqNfWCg41siG2/ZCmeEQ7uzIRTJtpQ7d6V/nYyWTJo2VKuAqu9KllJrfqdbGdTXnrFYaLm1IL+yCJ2Vdhz0ke+tbDKg7FyngQ==
  • Delivered-to: cdt-dev@xxxxxxxxxxx
  • List-archive: <https://www.eclipse.org/mailman/private/cdt-dev>
  • List-help: <mailto:cdt-dev-request@eclipse.org?subject=help>
  • List-subscribe: <https://www.eclipse.org/mailman/listinfo/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=subscribe>
  • List-unsubscribe: <https://www.eclipse.org/mailman/options/cdt-dev>, <mailto:cdt-dev-request@eclipse.org?subject=unsubscribe>
  • Thread-index: AQHVzCZzONtTXPMCRki9tc5IVMfayqftNo0AgAWx52g=
  • Thread-topic: [cdt-dev] Maven version issue

Hi Jonah and All,

 

Thanks for the advice that I can now build ALL CDT jars after a couple of months!

 

Now I tried to add a couple of JOptionPane.showMessageDialog stmt in file NewClassCodeGenerator.java and I could compile successfully also.

 

I want my Eclipse to use this new org.eclipse.cdt.ui-6.6.100-SNAPSHOT.jar in my Eclipse CDT version:

 

Eclipse IDE for C/C++ Developers

 

Version: 2018-09 (4.9.0)

Build id: 20180917-1800

 

How to do it?

 

If I simply replace org.eclipse.cdt.ui_6.3.1.201809121146.jar with org.eclipse.cdt.ui-6.6.100-SNAPSHOT.jar, Eclipse will give me an error:

 

 

In my com.umlet.plugin code, I called NewClassCodeGenerator.

 

Thanks.

 

Sent from Mail for Windows 10

 

From: Jonah Graham
Sent: Thursday, January 16, 2020 8:21 PM
To: CDT General developers list.
Subject: Re: [cdt-dev] Maven version issue

 

On Linux try in a terminal:

 

cd path-to-cdt

mvn package 

 

Jonah

 

On Wed., Jan. 15, 2020, 23:52 Ming Cheng, <chengm349@xxxxxxxxxxx> wrote:

Hi,

 

Now I run Eclipse committers on Linux trying to avoid any possible windows env bug since I don’t know how to install dockers and jenkinfilers. Still my humble objective is to build CDT jars. I imported CDT source code 9.10.0 and right-click Maven build

 

cid:image002.png@01D5CC6B.C28041D0

 

[INFO] BUILD FAILURE

[INFO] ------------------------------------------------------------------------

[INFO] Total time:  02:46 min

[INFO] Finished at: 2020-01-16T12:45:26+08:00

[INFO] ------------------------------------------------------------------------

[ERROR] Failed to execute goal org.apache.maven.plugins:maven-enforcer-plugin:3.0.0-M3:enforce (enforce-maven-version) on project org.eclipse.cdt.core.native: org.apache.maven.plugins.enforcer.RequireMavenVersion failed with message:

[ERROR] Detected Maven Version: 3.6.1 is not in the allowed range [3.6.0,3.6.0].

[ERROR] -> [Help 1]

[ERROR]

[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.

[ERROR] Re-run Maven using the -X switch to enable full debug logging.

[ERROR]

[ERROR] For more information about the errors and possible solutions, please read the following articles:

[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException

 

My current Eclipse version is:

Eclipse IDE for Eclipse Committers

 

Version: 2019-06 (4.12.0)

Build id: 20190614-1200

 

 

I also downloaded older build like 2019-03/2018-12 etc. But the bundled maven version are 3.5.3. (So which Eclipse uses 3.6.0 maven?)

 

It seems impossible to change Maven usage setting within Eclipse:

 

cid:image004.png@01D5CC6B.C1DE5C80

 

I tried and couldn’t save.

 

Thanks.

 

Sent from Mail for Windows 10

 

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

 


Back to the top