Hi,

Actually this is a WTP bug :
https://bugs.eclipse.org/bugs/show_bug.cgi?id=247090 You may want to vote
for its resolution.

<https://bugs.eclipse.org/bugs/show_bug.cgi?id=248206>FYI
org.eclipse.jst.component.dependency
is needed so WTP knows it needs to deploy Maven dependencies.
So don't mess with it please, for your own sake :-)

I don't know any workaround so far, as the bug seems rather harmless.

regards,

Fred Bricon


On Thu, Jan 15, 2009 at 7:10 PM, Kariem Hussein <[email protected]>wrote:

> Hello,
>
> I hope somebody can help me here, as I believe this is just a small
> error, but I cannot find the solution. I have 3 simple projects, which
> can be packaged using Maven and don't show any errors in Eclipse:
> - bb-web (web)
> - bb-service (ejb)
> - bb-ear (ear)
>
> When I try to deploy "ear" (Run As > Run On Server), the resulting
> deployment looks like this:
>
> bb.ear/
>  - lib/ (containing dependencies of bb-service)
>  - META-INF/
>  - WEB-INF/
>   - lib/
>  - bb.war
>  - bb-service.jar
>  - another-ejb-dep.jar (needed by bb-service.jar)
>
> All artifacts in the EAR are ok, except for the WEB-INF directory. It
> is located in the root of the EAR file and contains all the libraries
> needed by the WAR (inside a subdirectory "lib"). There is also another
> WEB-INF directory with the full contents in bb.war, where it should
> be.
>
> I would not mind, because the normal packaging uses maven outside of
> eclipse, but after deploying with this structure the server keeps
> undeploying and redeploying the EAR.
>
> When I remove the attribute "org.eclipse.jst.component.dependency"
> from the Maven classpath container in bb-web/.classpath, both
> WEB-INF/lib directories are not created (the one in ear/ and in
> ear/bb-web).
>
> My system:
>  - Eclipse 3.4
>  - WTP 3.0.3
>  - Maven Integration for Eclipse 0.9.6
>  - JBoss AS Tools 2.0.0.CR1
>  - JBoss 5.0.0.GA
>
> I hope somebody here knows what to do.
>
>
> Thank you,
> Kariem
>
> ---------------------------------------------------------------------
> To unsubscribe from this list, please visit:
>
>    http://xircles.codehaus.org/manage_email
>
>
>

Reply via email to