Skip to main content

All Questions

Tagged with
Filter by
Sorted by
Tagged with
1 vote
1 answer
120 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
0 votes
1 answer
401 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
  • 6,069
0 votes
1 answer
604 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 vote
1 answer
549 views

How can I import or use Maven pom snippets or macros in the main pom file?

The Eclipse IDE requires the snippet below in the <pluginManagement> (details don't matter). Is there a way to import such a Maven fragment from another file? Does Maven have any macro/import/...
Gabriel Petrovay's user avatar
0 votes
1 answer
2k views

difference between mvn clean install -U and eclipse project => Maven => Update Project

Are both the things are doing the something different or not? As the second one, when you right click on any maven project on eclipse go to Maven and then Update project. First is pretty much clear ...
Indrajeet Gour's user avatar
0 votes
0 answers
58 views

Eclipse, importing maven project errors in installing m2e connectors

On my Ubunutu 18.04 system with JDK-11.0.2, I am using Spring Tool Suite 4 (Version: 4.3.2.RELEASE) to import an existing maven project that freshly cloned from remote repository. During the ...
Amir-Mousavi's user avatar
  • 4,553
1 vote
1 answer
341 views

Can I execute maven plugin whith Eclipse m2e UPDATE?

I have a maven project and I want to ask Eclipse to copy a dependency jar to WEB-INF/lib when I do right click -> Maven -> Update Project ... By using the following plugin, I can copy the jar doing ...
Samy's user avatar
  • 121
0 votes
2 answers
582 views

Eclipse doesns't show project explorer properly

I'm using eclipse neon. I have created a maven project and create a package com.prueba.account and then I have created many packages inside. But eclipse shows me all packages as an independent project ...
Gary's user avatar
  • 1
0 votes
1 answer
6k views

Maven Plugin Error in Eclipse oxygen

Can anyone help me with this? Could not calculate build plan: Plugin org.apache.maven.plugins:maven-resources-plugin:2.6 or one of its dependencies could not be resolved: Failed to read artifact ...
karthikchowdary's user avatar
5 votes
1 answer
46k views

Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.6.0:java

I am trying to execute the testNG main class using pom.xml file by using the below command in Maven Run Configurations. exec:java -Dexec.mainClass=com.selenium.controls.TestNGMainClass Here, I am ...
MoNa's user avatar
  • 471
1 vote
0 answers
271 views

How do I compile in debug mode? (eclipse, java, maven, javafx-maven-plugin)

I want to debug my application made in javafx and maven. I know that mavenDebug exists but I could not make it work with eclipse, I tried several alternatives to try to debug but not succeed. The only ...
Lázaro Fernandes's user avatar
0 votes
0 answers
70 views

Do not see compile time error in eclipse maven project

I have created maven project in eclipse but I don't see any compile time error (red color indication) in eclipse but when i run maven clean install i can see compilation error Am i missing any maven ...
nat's user avatar
  • 566
0 votes
1 answer
464 views

Problems in dependencies using maven with ecplise

I do not know a lot about Maven, only the basics and that this causing me some problems. I'm using Ecplise Luna with maven (the EMBEDDED version 3.2.1 / 1.5.1.50109-1819) to manage my project. also ...
sThiago's user avatar
  • 225
0 votes
1 answer
115 views

PluginDescriptor is null in custom plug-in with M2E

If I run "Update Project..." in Eclipse Mars with M2E 1.6, the PluginDescriptor is null in my custom plug-in. @Mojo(name = "test", defaultPhase = LifecyclePhase.GENERATE_SOURCES, ...
dur's user avatar
  • 16.9k
0 votes
1 answer
725 views

using m2eclipse, how could I pass system property

I am new in using m2eclipse. I have a maven project imported into Eclipse and need to configure run as maven project. The maven command need to pass a system property: mvn -Dargline="-MyProperty=...
W.TAO's user avatar
  • 3
1 vote
0 answers
758 views

How to "Hello World" with maven plugin

I'm doing a Mojo "Hello World" with the plugin maven: package sample.plugin; /* * Copyright 2001-2005 The Apache Software Foundation. * * Licensed under the Apache License, Version 2.0 (the "...
ricardoramos's user avatar
1 vote
1 answer
2k views

Plugin execution not covered - maven-plugin-plugin:3.2:descriptor

I'm trying to develop a plugin for maven using Mojo with the following command line: mvn archetype:generate \ -DgroupId=sample.plugin \ -DartifactId=hello-maven-plugin \ -...
ricardoramos's user avatar
0 votes
3 answers
8k views

m2e extension is not installing in Eclipse Luna

When I am installing the m2e extension, it is giving me below error: I am using this url to download: http://download.eclipse.org/technology/m2e/releases Cannot complete the install because one or ...
AdityaK's user avatar
  • 339
0 votes
1 answer
79 views

Installing maven and the maven eclipse plugin?

I installed maven from here: http://maven.apache.org/download.cgi and also installed plugin for eclipse from the eclipse marketplace. This is a really dumb question, but what's the difference between ...
user2626417's user avatar
28 votes
17 answers
52k views

Maven does not create the "/target/m2e-wtp/web-resources" folder

I'm using Eclipse Luna. I'm working on a Maven project. When I try to run my application on a weblogic's application server, and exception is thrown with the message: weblogic.application....
Muhammad Gelbana's user avatar
1 vote
1 answer
712 views

maven-compiler-pulgin error while importing broadleaf project

I am trying to use the broadleaf So, I was following the "Get Started" instructions . I have integrated maven as described in the website. But i am facing the error like in the image. I do not know ...
pal sarkar's user avatar
11 votes
4 answers
5k views

Plugin execution not covered by lifecycle configuration for maven-plugin-plugin in m2e 1.5.x / Eclipse Luna

After upgrading to Eclipse Luna or to m2e 1.5.x and opening an existing workspace with Maven plugin projects, Eclipse complains that Plugin execution not covered by lifecycle configuration: org....
rec's user avatar
  • 10.9k
1 vote
1 answer
840 views

Cannot search for artifact in Eclipse Kepler using m2e plugin - "Gives Artifact id empty"

I recently installed maven plug-in in Eclipse Kepler. But when I try to add a dependency (open the pom.xml, go to dependencies tab and click add) I can input some string like "spring" in the search ...
Siya's user avatar
  • 11
6 votes
2 answers
2k views

Automatic update of generated css files via m2e

I'm using the lesscss-maven-plugin to generate different css files to the target directory (target\generated-sources) and then use maven-war-plugin to add this directory as an webResouce. Those files ...
mejoz's user avatar
  • 135
0 votes
1 answer
3k views

How to add .jar file dependencies to pom.xml file using m2eclipse plugin

I would like to add junit 4.10 to my dependencies for my pom.xml and also 2 other denpencies found https://code.google.com/p/google-gson/downloads/list and here https://code.google.com/p/mnist-tools/...
letter Q's user avatar
  • 15.3k
11 votes
2 answers
5k views

Maven discovery completed without finding any extensions

I have installed eclipse 4.3 on my system and recently installed the Maven integration plugin. I get the following error: Discovery completed without finding any extensions. Please check your ...
rkmax's user avatar
  • 18.1k
0 votes
1 answer
89 views

Can I have maven artifact run maven plugin when it is installed?

I have created a Maven plugin (called unpackTemplates) that unpacks a dependency jar file and copies resource files (in this case, templates) from it into a specific location in a project. Right now, ...
aarondev's user avatar
4 votes
2 answers
6k views

apt maven plugin fail to generate Q classes

I am fixing a legacy project that uses Querydsl apt. For some reason the apt-maven-plugin started to fail. The only workaround I found was to use the alter ego maven-processor-plugin. I have ...
mahery rafara's user avatar
0 votes
1 answer
89 views

Maven setting prefix of self-made plugin

today i tried something with making own plugins for maven. It worked great ;) After that i wated to set a prefix to use the maven comman in a shorter way. This worked great too ;) My problem now is: ...
user1882812's user avatar
0 votes
1 answer
500 views

HoloEverywhere 1.4.2 + Maven Not building the demo Android project

I have holoeveywhere "running" in eclipse and I can successully build the "HoloEverywhere Build", as referenced in this link. https://github.com/ChristopheVersieux/HoloEverywhere/wiki/Maven However, ...
aindurti's user avatar
  • 642
2 votes
3 answers
3k views

Spring Roo Jpa Setup fails, maven-eclipse-plugin issue?

I'm using spring roo version 1.2.3. Just a few days ago, the project creation with any package worked fine. But recently, if I create a project with WAR or POM packaging, then the Jpa Setup command ...
QuestionEverything's user avatar
0 votes
1 answer
5k views

How to add missing jars in Eclipse Maven based project

I am new to maven with eclipse. I am using m2e plugin(version 1.2.0). i have imported maven project, it is showing build path errors due to some jars are missing. How to add those jars to the build ...
Ramesh Kotha's user avatar
  • 8,322
3 votes
1 answer
583 views

How to exclude a source from those under source root?

In my project's pom.xml I have section responsible for generating sources: <plugin> <groupId>org.apache.cxf</groupId> <artifactId>cxf-codegen-...
Withheld's user avatar
  • 4,693
0 votes
1 answer
3k views

Switching from Maven command line interface to Eclipse Plugin

I'm working on a project that is built using maven to weave in AspectJ annotations when compiling. Up until now, it worked like this: 1) Turn off "Build Automatically" in eclipse 2) Make changes to ...
Yozarian22's user avatar
11 votes
3 answers
18k views

maven-scala-plugin giving pom file error

I'm testing java code using scala and maven. The maven-scala-plugin is returning a pom file error in Eclipse. Here is my pom snippet : <plugin> <groupId>org.scala-...
blue-sky's user avatar
  • 53.7k
0 votes
2 answers
509 views

How do get Eclipse / m2eclipse to accept a large project set up without hanging?

I am trying to import Apache James Server project into Eclipse. I had achieved to import, build and run nearly a week ago, but now i can not. Now it starts to hang on "Importing maven projects %93" ...
merveotesi's user avatar
  • 2,183
4 votes
1 answer
9k views

Deploy Artifact to Nexus from Eclipse

Is it possible to run mvn deploy from Eclipse using M2E? I have the distributionManagement section in my pom.xml and the server configured in my settings.xml, but I can't for the life of me see where ...
binarymelon's user avatar
1 vote
2 answers
2k views

Install "Android M2e" Plugin or basically "Android Configurator for M2E 0.4.2" in Eclipse Mobile Juno

Trying to install Android M2e plugin as given on http://rgladwell.github.com/m2e-android/ with no luck. I am getting this exception for "Android Configurator for M2E 0.4.2" Cannot complete the ...
lazyguy's user avatar
  • 963
14 votes
1 answer
15k views

Plugin execution not covered by lifecycle configuration

I am newbiee to maven. I am trying to add JAXB2 plugin and dependencies to generate xml files from xsd. When I add underneath dependencies then a error is thrown under markers:- Plugin execution not ...
Dhruv's user avatar
  • 1,728
3 votes
2 answers
2k views

m2e still gives an error saying "Plugin execution not covered by lifecycle configuration" even with explicit bindings in custom plugin

I'm building a plugin to do some code generation. I've followed the steps here for how to create a plugin: http://maven.apache.org/guides/plugin/guide-java-plugin-development.html Plugin Source: /*...
timmyonline's user avatar
0 votes
1 answer
631 views

Maven placeholder processor plugin

There is a task to process placeholders in ejb xml descriptors time during a compilation. For example {app.name}-Bean must become App-Bean if app.name=App. In ideal way this should be supported by ...
Stas's user avatar
  • 751
61 votes
11 answers
118k views

m2e lifecycle-mapping not found

I am trying to use the solution described here to solve the annoying "Plugin execution not covered by lifecycle configuration: org.codehaus.mojo:build-helper-maven-plugin:1.7:add-source (execution: ...
TraderJoeChicago's user avatar