Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] JAR used by WTP contains source code instead of classes

It seems your jar project has <wb-resource deploy-path="/" source-path="/src"/> in its .settings/org.eclipse.wst.common.component

Does updating your Maven Project configuration help? You can follow these instructions : https://issues.sonatype.org/browse/MECLIPSEWTP-182?focusedCommentId=140523&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-140523 or try reimporting your jar project as a maven project, having deleted all eclipse project config files beforehand.

If you have a test project to attach to https://issues.sonatype.org/browse/MECLIPSEWTP-182, that'd be helpful.

HIH,

Fred Bricon 


On Thu, Jan 12, 2012 at 3:03 PM, Asaf Mesika <asaf.mesika@xxxxxxxxx> wrote:
Hi,

I have a WAR project and a JAR project it depends on.
From some reason, the deployed jar in the lib folder in wtpwebapps/myapp.war/WEB-INF/lib, contains the source code (java files) instead of the class files.

It has the following sttructure:
main/java/com/..../aaa.java
...
main/resources/....

This looks like a serious bug by the WTP connector for M2E.

Does anyone knows a way around this?


Asaf


_______________________________________________
m2e-users mailing list
m2e-users@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/m2e-users




--
"Have you tried turning it off and on again" - The IT Crowd

Back to the top