Questions tagged [m2e-wtp]

52 questions
1
vote
1 answer

In m2e multimodule project delinking of classpath of imported projects

Let's say I have. top/ |-parent/pom.xml |-module1/pom.xml |-module2/pom.xml ->depends on module1-SNAPSHOT.jar One of the nice feature of m2e is that all that, if I import two multimodule modules in eclipse, and if one of them is dependent on other…
samarjit samanta
  • 1,285
  • 2
  • 16
  • 29
1
vote
1 answer

Eclipse mars m2e & groovy eclipse compiler?: no source folders

I tried to import a maven multimodule project that worked with eclipse luna into eclipse mars. This multi-module maven project has no source folder in eclipse mars, the dependencies are also not present: I can't add the src/main/java folder as a…
Mark
  • 590
  • 7
  • 17
1
vote
1 answer

How to customize m2e-wtp deployment?

In my project, I have some aar dependencies. I don't want deploy these aar files into the WEB-INF/lib folder. I want to deploy them in some other folders. But I can't find where to set the m2e-wtp plugin do this. My pom file is like:
Chris
  • 6,431
  • 10
  • 44
  • 59
1
vote
0 answers

Eclipse + Tomcat + maven + filtered web.xml url-pattern, namingException

I am using Maven to filter (among other things) my web.xml as follows: In web.xml: > > CAS Authentication Filter > > ${cas.filter.pattern} >
Nena
  • 681
  • 1
  • 10
  • 27
1
vote
0 answers

Eclipse not publishing web.xml filled by Maven

Continuing my prior question (Maven: how to fill a variable in web.xml file), I realized that the values written in web.xml are not passed to the deployed web.xml. Let me show what is happening: I am running a web application in Tomcat through WTP…
Rafael Afonso
  • 595
  • 1
  • 10
  • 28
1
vote
0 answers

Cannot add maven dependencies to deployment assembly in ejb packaging

I have a project with a POM that looks like this:
Jannik Jochem
  • 1,516
  • 1
  • 14
  • 28
1
vote
1 answer

Websphere application server classpath container empty while using m2e plugin in Eclipse

I'm working on an existing project that was recently converted to use Maven. It's a multi-module EAR project for Websphere Application Server 7.0. Our current development environment is Eclipse Juno with the latest versions of m2e-wtp plugin and…
Archa5238
  • 47
  • 7
1
vote
0 answers

How to make Eclipse treat Maven merged uberwar as a Web Project

I have a relative big Maven build. And it produced a merged war file through the maven-cargo-plugin. However, when I tried to provide a Debug environment for devs, this Maven project is not treated as Web Project in Eclipse. How to make eclipse…
Mingtao Zhang
  • 148
  • 10
1
vote
1 answer

How to fix error "Validating org/eclipse/m2e/wtp/MavenWtpPlugin"

I have Eclipse (Juno SR2) with both M2E (1.3), M2E-WTP (0.17) and WebSphere Dev Tools for v.8. The problem started after Websphere Dev tools installation. It says in error dialog : "Validating" "org/eclipse/m2e/wtp/MavenWtpPlugin". In Eclipse logs…
Tomasz O.
  • 534
  • 7
  • 13
1
vote
5 answers

How do i uninstall m2e in eclipse kepler

I just download eclipse kelper and found out the m2e and m2e-wtp plugins had been installed,and the new m2e plugins has no "package" of the lifecycle,how do i uninstall…
Sine Chen
  • 11
  • 1
  • 1
  • 3
1
vote
2 answers

Compiling LESS CSS with Maven and m2e-wtp

I'm trying to compile LESS CSS files with lesscss-maven-plugin, both in pure maven (with command line) and within Eclipse (Juno). In the lesscss-maven-plugin, I need to define an output directory, but I noticed that in Eclipse WTP copies files from…
DenisGL
  • 1,190
  • 1
  • 16
  • 31
0
votes
1 answer

Eclipse project facets in Maven projects

I'm starting to work with Maven in Eclipse but when I create a Maven project with several children projects, let's say: -Maven project -Web project -EJB project -JSF project Each of the children projects has a different set of facets in…
CIOC
  • 1,385
  • 3
  • 19
  • 48
0
votes
1 answer

STS 3.7 issue for maven compile plugin

Today i downloaded STS version 3.7.2 for 64 bit machine. In that i import my maven project and i get below error Description Resource Path Location Type CoreException: Could not get the value for parameter compilerId for plugin execution…
manohar reddy
  • 39
  • 1
  • 8
0
votes
1 answer

Eclipse WTP and Maven project producing two artifacts

I have a maven jar project common_platform that is producing the usual .jar file and also a .war overlay (using the maven-assembly-plugin) I have another maven project with war packaging, it's including both those artifacts. Now I want to use WTP to…
Jakub Bochenski
  • 3,113
  • 4
  • 33
  • 61
0
votes
1 answer

Can maven treat WEB-INF\lib the way eclipse (and m2e) does?

I have a servlet/jsp web project which runs fine on eclipse and is exported as war fine (once I clean it that is). I mavenized the project deleting all of the dependencies from the WEB-INF\lib folder except a homebrew jar (the output of another…
Mr_and_Mrs_D
  • 32,208
  • 39
  • 178
  • 361