Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] duplicate pom.properties

Hello all. I’m using m2e 1.2 with IBM RAD 8.5 and most of maven stuff actually works very fine now. Especially deployment to local WebSphere test environment. This is really great, Well done!

 

I still have one strange issue... I’m using  command line to build an ear artifact to deploy to the sentral server, but here I got duplicate files in META_INF\maven\<artifact>\directory

 

In my web-module

 

c:\RAD85\workspace\asaptrigger\asaptrigger-web\target\asaptrigger-web-2.5.0-SNAPSHOT.war\META-INF\maven\no.klp.asaptrigger\asaptrigger-web\

there is 4 files, instead of 2. It contains two pom.properties and 2 pom.xml. This is not possible on a file system, but inside a war(zip) there is possible.

 

One pom.properties has #Generated by Maven Integration for Eclipse the other has #Generated by Maven

 

The reason seems to be that my m2e is generating a pom.properties and pom.xml, and also a maven (v 3.0.3) clean install from the command line is creating the same set of files.

 

I see clearly that m2e is generating (and instantly re-generating on a delete) 2 new pom files in the workspace.

 

How can I get rid of this ?

Med vennlig hilsen

Bjørn Willy Arntzen


Back to the top