Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Maven version issue

Hi,

I have finished the modernisation of some of the release engineering documentation I started in December - you can find the command line build instructions in the repo at https://git.eclipse.org/c/cdt/org.eclipse.cdt.git/tree/README.md

Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Thu, 16 Jan 2020 at 07:21, Jonah Graham <jonah@xxxxxxxxxxxxxxxx> wrote:
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

 

 

[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:

 

 

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