Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] Strange bug with directory/jar of dependency

Dear all,

I have a new problem with m2e.

I am using :
* m2e - Maven Integration for
Eclipse	1.2.0.20120903-1050	org.eclipse.m2e.feature.feature.group	Eclipse.org
- m2e
* m2e connector for mavenarchiver pom
properties	0.15.0.201207090125-signed-201209140800	org.sonatype.m2e.mavenarchiver.feature.feature.group	Sonatype,
Inc.
* m2e-wtp - Maven Integration for WTP
(Incubation)	0.17.0.20121108-1856	org.eclipse.m2e.wtp.feature.feature.group	Eclipse.org
- m2e-wtp
* eclipse juno

...and I suddenly have a very strange bug after starting from a fresh
clone of a project.

This project is a war artefact having numerous dependencies (in-house
dependencies include ~10 artefacts).

One of them is a war included as an overlay. Files are copied ok.
All the others are classic jars.

They are all copied of in

<workspace>\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\senateurs\WEB-INF\lib

except for two of them. Instead of the jar files, I get two directories
named after the jars containing the unzipped jar content. I do not
understand why. Those artefacts have (I think) no special configuration.

So, if my dependency tree is

main.war
|--- A.war
|--- B.jar
|    |--- C.jar
|    |--- D.jar
|--- E.jar

etc.

<workspace>\.metadata\.plugins\org.eclipse.wst.server.core\tmp0\wtpwebapps\senateurs\WEB-INF\lib
the right files copied from main.war sources and resources and from A.war
+ D.jar, E.jar, etc. and two directories named B.jar and C.jar containing
those jar unzipped content.

Eclipse is complaining during the clean/publish process. If I manually
remote the two directories at this phase, it sometimes copies the B.jar
and C.jar files (as I think it should).

Do you have an idea of the cause of this bug ?

Thanks in advance,

Ludovic

|
| AVANT D'IMPRIMER, PENSEZ A L'ENVIRONNEMENT.
|



Back to the top