Questions tagged [m2eclipse]

m2eclipse is a Plug-in for the Eclipse IDE that defines Eclipse Project structures by analyzing Maven Project models

Filter by
Sorted by
Tagged with
0 votes
1 answer
27 views

Remove maven suggestion from Eclipse quickfix menu

How can I remove the M2 suggestion from the quickfix menu? I constantly add maven dependencies to my pom.xml by mistake when I want to use the CTRL+1 feature. I tried to reduce the Content Assist ...
Jotschi's user avatar
  • 3,380
1 vote
0 answers
47 views

maven index not available in eclipse

The searching dependency/plugins functions in eclipse doesn't work, I tried to use the suggested answers here, but just found that the menu options are unavailable to my installation, why is that? see ...
fluter's user avatar
  • 13.3k
0 votes
1 answer
21 views

Spring tool suite 4.18.1.RELEASE maven pom auto suggetion not working

Open pom.xml with MAVEN POM EDITOR or xml editor,the auto suggesion/content assist not working. Checked the following settings 1、xml editor content asssist 2、Keys bind Maven pom editor
Mr Lou's user avatar
  • 1,767
0 votes
1 answer
30 views

Plugin execution not covered by lifecycle configuration from module projects

I have the main project, called yyy. I have a subproject, a module called yyy-common-test. Both are recognized as Maven projects. As you can see in the pic, the module identifies the parent Maven ...
user1182625's user avatar
0 votes
1 answer
65 views

Getting this error while launching a Jetty app "Launching application_name". 'java.lang.String org.eclipse.m2e.core.embedder.ArtifactKey.groupId()"

This is the output log for the error that i'm getting on the console. An internal error occurred during: "Launching application-name". org.eclipse.m2e.core.embedder.ArtifactKey.groupId()...
Arun A's user avatar
  • 13
0 votes
0 answers
104 views

Why doesn't the option to rebuild Maven index show up when right-clicking central in Eclipse?

Recently, I've been working on a maven project in eclipse. When I try to search dependencies to add in the pom.xml, nothing shows up. So, I went online and saw that a solution was to rebuild the index ...
SpartanCao's user avatar
1 vote
1 answer
128 views

Import maven project to Eclipse gives a bunch of "cannot be resolved to a type" errors in for tests

I import https://github.com/pf4j/pf4j to Eclipse 4.27.0 with M2E plugin installed and got bunch of errors in test folder: Description Resource Path Location Type AbstractExtensionFinder ...
sdorof's user avatar
  • 539
0 votes
0 answers
60 views

Error when scanning project with Mend Advise

I installed the Mend Advise plugin for Spring Tools. When I scan my project, I am getting the following error for all my projects: An internal error occured during: "Collect Dependencies for test-...
user2999870's user avatar
3 votes
1 answer
211 views

Maven Artifact Resolver not seeing latest plugins on Maven Central on my machine

I am using Maven 3.9.1 on Windows 10. I also use Eclipse EE 2023-03, which contains m2e (Eclipse's support for Maven). I am checking a POM for plugin version updates using the Versions Maven Plugin, ...
Garret Wilson's user avatar
0 votes
1 answer
63 views

Why does Eclipse add M2_REPO to Java Build Pat > Libraries > Classpath?

Eclipse will automatically add M2_REPO/... to the Project > Properties > Java Build Path > Libraries > Classpath. Here is a picture showing this. Instead, I would like to only see Maven ...
Nathan's user avatar
  • 8,232
0 votes
0 answers
17 views

m2e logback-test.xml not found during incremental build

In a simple Maven project, that I am editing with Eclipse 2022-12 and installing and testing with m2e, I am getting this warning in Eclipse Error Log window: !ENTRY org.eclipse.m2e.logback.appender 2 ...
ngong's user avatar
  • 832
0 votes
0 answers
24 views

Eclipse (+WTP) not filtering resource files

Remark: I do have searched for similar questions but found no solution that worked, hence I dare to ask this again. Please bare with me! I am using Eclipse (Version: 2022-12 (4.26.0) / Build id: ...
mmo's user avatar
  • 3,959
1 vote
0 answers
480 views

Errors in eclipse pom.xml but maven clean install is successful

It seems that the property ${user.dir} is recognized by Maven but not recognized by Eclipse. I am seeing the errors below in the pom.xml file in eclipse everywhere then there is a reference to this ...
tarekahf's user avatar
  • 808
4 votes
2 answers
3k views

maven update in Eclipse: Could not update project

I am doing first steps in REST with Jersey following here using m2e. It works fine deployed on tomcat 10.1, after a few adaptions to tomcat 10 and Java-17. Now, I'd like to do a next step and put ...
ngong's user avatar
  • 832
1 vote
0 answers
97 views

Why rebuild of Kotlin application removes target class files in Eclipse?

I'm trying to setup an app written in Kotlin, built on Maven and using Spring Boot in Eclipse. I manage to run the application only if I do Maven build of the project which generates class files in ...
ssanchozz's user avatar
0 votes
0 answers
30 views

How to refer to a project and not jar while running test cases in Maven

I have a maven Project A which has Project B in its dependencies. Now, the Project A has few test cases which refers to a xml file inside Project B. When I run this test cases in Project A, through ...
Subhranil Sengupta's user avatar
0 votes
1 answer
1k views

Not able to install Groovy Eclipse plugin in Eclipse 2022-12

I haven't installed the Groovy Eclipse plugin for a while because I mostly did not need it anymore. However, I'm now looking at one project that I need this for. I'm using Eclipse 2022-12. When I ...
David M. Karr's user avatar
3 votes
1 answer
725 views

Eclipse failure during a maven update

First of all, probably my question is not well asked or is too easy or too simple but I'm a little bit novice and Vaadin and I can't figure what is happening. When I try to update the maven project ...
Samuel Góngora's user avatar
1 vote
1 answer
53 views

Eclipse: compile errors when processing maven-apt-plugin-generated source files

I have a project that uses JPA QueryDSL. For that we use the com.mysema.maven:maven-apt-plugin to generate the so-called Q-classes (i.e. Java-code) in Maven phase generate-sources. The generated files ...
mmo's user avatar
  • 3,959
0 votes
0 answers
38 views

Eclipse "Maven repository viewer" doesn't list packages in local/global repo

My environment is pre-setting on a costumed maven proxy as global repo. And in my Eclipse (Spring tools suite4), when I open the "maven repository" view from "Window"->"...
Bill's user avatar
  • 187
0 votes
0 answers
64 views

Unable to make 'spring legacy project' in Eclipse

I use M2 macbook air, and Eclipse Version: 2022-09 (4.25.0) I plug in 'spring 3' at Eclipse IDE and create 'Spring Legacy Project' and its template was 'Spring MVC Project'. but "Marketplace ...
INIS2's user avatar
  • 1
0 votes
0 answers
272 views

Eclipse 2022-09: Maven Update Failed >>> org.eclipse.m2e.core.project

org.eclipse.m2e.core.project.configurator.ProjectConfigurationRequest.getProject()' I'm having this issue and wasn't able to proceed on Updating Project. I already checked on this post... Eclipse 2022-...
Mark's user avatar
  • 1
0 votes
1 answer
545 views

Cannot invoke "org.eclipse.jdt.internal.compiler.lookup.ArrayBinding.elementsType()" because "arrayBinding" is null

I'm using SpringToolSuite: Version: 4.16.1.RELEASE Build Id: 202210240748 Revision: 4e8e5b4a7f22310c0505603e0659a2b7083aaffb Together with m2e Eclipse.org - m2e M2E Maven Integration for Eclipse ...
Andreas Höhmann's user avatar
0 votes
1 answer
41 views

How to configure m2e source editor to use WTP xml editor

From what I understand from this : https://bugs.eclipse.org/bugs/show_bug.cgi?id=561415, the source tab editor is configurable. I have found no documentation on how to configure it. Right now, it ...
Filip's user avatar
  • 946
0 votes
1 answer
165 views

Maven resources plugin disable default packing of /src/resources/

I have a maven project in eclipse and want to use the mave-resources-plugin to pack my resources to a jar. I managed to pack it as I like, but have one issue remaining: the 'default-resources' ...
roediGERhard's user avatar
0 votes
0 answers
65 views

Compilation error on antlr3 files in Eclipse 2022-09

Eclipse version: 2022-09 Eclipse m2e version: 2.0.4 antlr version: 3 antlr3-maven-plugin: 3.5.3 I have a project with a Logic.g file. Everything was working OK on a previous version of Eclipse (where ...
mmalmeida's user avatar
  • 1,047
3 votes
2 answers
49 views

Eclipse Java IDE restore

I was developing a plugin, using Eclipse IDE for java developers (Version: 2021-09 (4.21.0) Build id: 20210910-1417) During development, when I run it as an eclipse application, it opens a runtime-...
Vince Molnar's user avatar
1 vote
1 answer
70 views

Can't install m2e plugin into IBM RTC Eclipse 6.0.6.1

I want to integrate maven plugin into Eclipse RTC client (Team Concert, version 6.0.6.1). How to fix it? Thks I've tried to use other versions of that plugin: https://download.eclipse.org/technology/...
prista's user avatar
  • 21
5 votes
0 answers
525 views

Java update issue : <do you trust unassigned content of unassigned origin>

I don't know what I may have changed locally, but when I attempted to install update, got this error below: I was unable to continue, can someone who may be familiar with the root cause show me a way....
Omutwar's user avatar
  • 51
1 vote
0 answers
142 views

eclipse duplicate deployment descriptors with maven webapp

I get multiple deployment descriptors on every sub package I create within every new webapp project. Why is that, why is there no java source folder by default and do I have to f* around with this or ...
roediGERhard's user avatar
0 votes
1 answer
163 views

Unlink project as a maven dependency of another project in Spring Tool Suite

I have some projects with many json files that when compiling them with maven generate many java bean classes and I have a main project that has the maven dependency of these other projects. Well, if ...
Corporativo's user avatar
0 votes
2 answers
461 views

Eclipse / M2E reset Deployment Assembly on each Update Maven Project

I have been having numerous problems with Eclipse on two different Macs since Eclipse upgraded to 2022-09 (4.25.0). After many fresh installs and imports, I am still having an issue with with the ...
Thad's user avatar
  • 917
1 vote
0 answers
435 views

How to enable search in add dependency in latest version of m2e maven integration

Latest update of m2e plugin changed how indexing works and the method described in Eclipse : Maven search dependencies doesn't work will not work, since Maven Repositories View is marked for ...
Julian's user avatar
  • 11
0 votes
1 answer
51 views

loader constraint violation error when adding maven dependency in target defination

I am trying to add third party libraries in target definition of an xtext project. Could you please provide some hints about the probable cause for this issue.
vks2106's user avatar
  • 316
1 vote
1 answer
1k views

How to debug a Maven application in Eclipse

Let me start by clarifying I have check every possible resource, tutorial, video, other stackoverflow questions that I could get my hands on that are related in order to try and find an answer to this....
After_Sunset's user avatar
0 votes
0 answers
148 views

Got This Error after Installing Darkest Theme from marketplace in STS Spring

An internal error occurred during: "Initializing Java Tooling". Cannot invoke "org.eclipse.m2e.jdt.internal.BuildPathManager.getSavedContainer(org.eclipse.core.resources.IProject)" ...
Purushottam's user avatar
0 votes
0 answers
84 views

Disable Eclipse warnings programatically in single Maven module generating sources?

I have a multi-module Maven project, in which one module is responsible for invoking OpenAPI generator on our openapi.yaml file resulting in a lot of Java sources under target/ which is then compiled ...
user18619318's user avatar
0 votes
1 answer
107 views

Rest assured with Testng - Error coming in delete request

"contacts": [ "Expected a list of items but got type "int"."
Rajat goel's user avatar
1 vote
0 answers
166 views

Maven Build Unresolved Compilation Problem Missing Type

I am converting my application to Maven and I have hit a problem I'm not able to figure out. The project has no errors in the workspace (eclipse, using m2e plugin), no errors in the build log, and no ...
Reed Simpson's user avatar
1 vote
1 answer
2k views

Maven dependency tree / hierarchy not showing the truth

I was going to migrate an old Ant project existing of multiple single java projects to a multi-module maven project. All the libraries for have been stored in one local folder. For building up the ...
J. Doe's user avatar
  • 142
0 votes
0 answers
258 views

Unable to import javax.sql.Connection in groovy script and unable to run groovy within Eclipse

How can I import javax.sql.Connection in a Groovy script? How can I configure m2e to work in eclipse I have a dependency on a jar file I created which uses classes with javax.sql.Connection and I can ...
user939857's user avatar
0 votes
0 answers
62 views

How to make M2E (Maven for eclipse) include required eclipse projects in WAR

I'm starting to use Maven (M2E) on Eclipse. I have two projects ->Tools ->Main The Main project requires the Tools project. I add "Tools" under the "Main"->"...
Alberto Marchi's user avatar
0 votes
0 answers
86 views

Installing m2e 1.8 into oxygen eclipse

I am trying to install Oomph 1.8 into an existing eclipse install (oxygen) under Linux (CentOS 7). When I installed Oomph 1.8, I get an error due to missing dependency on m2e. I am trying to resolve ...
lmnca's user avatar
  • 1
2 votes
0 answers
473 views

Unable to use Maven dependency in Eclipse RCP application when using Target Platform

I have a large Eclipse RCP application with lots of transitive dependencies. Currently, these are manually copied into the classpath but that's a significant administrative overhead I'd like to avoid, ...
JackPGreen's user avatar
0 votes
0 answers
225 views

Cheking out maven project from SCM doesn't work

Please help me out. I'm using this eclipse version. I have installed the m2e-egit connector as I have a git URL to import the project but when I tried to apply my URL I don't see the SCM type as ...
Vijay Rathod's user avatar
0 votes
1 answer
9k views

Eclipse giving error while building project - java.lang.IllegalArgumentException: Malformed \uxxxx encoding

error message while building project Getting below error in eclipse 2021-12 while building project Errors occurred during the build. Errors running builder 'Java Builder' on project 'xxx'. ...
Karan Chavan's user avatar
0 votes
1 answer
289 views

Eclipse m2e fail where maven build succeeds - due to plugin execution not covered by lifecycle?

I have a project where maven build from eclipse m2e fails, but mvn clean install from the command line succeeds. Its a multi module project ( parent and children ) which defines several custom ...
Gonen I's user avatar
  • 5,596
0 votes
0 answers
112 views

Why is m2e putting the wrong version of some artifacts into the .classpath file?

I am currently using Eclipse 2021-12 on Windows. I work almost exclusively on Java (1.8) Maven projects that are stored in Git. I noticed that a project that I just started looking at (cloned it from ...
David M. Karr's user avatar
0 votes
0 answers
400 views

Maven: How to compile with and without download Artifact Sources|Javadoc through parameters?

In Maven for a cloned project (even multi-module) from GitHub if the mvn compile command is executed mostly happens the following: it downloads all the dependencies declared according in the pom.xml ...
Manuel Jordan's user avatar
0 votes
1 answer
548 views

No marketplace entries found to handle avro-maven-plugin:1.8.2:idl-protocol in Eclipse. Please see Help for more information

IDE used ECLIPSE I am trying to pull in a project which has AVRO schema compilation using IDL protocol. I am getting below error by Maven. Solutions tried : Error when importing Maven-GWT project (&...
Jsingh's user avatar
  • 45

1
2 3 4 5
27