Java

NAVIGATION
CATEGORIES
REFERRENCE
LINKS
  • Created: (MECLIPSE-167) .component assumes all dependenciesshould be packaged in WAR

    0 answers - 1334 bytes - related search similar search Add To My Delicious Add To My Stumble Upon Add To My Google Mark Add To My Facebook Add To My Digg Add To My Reddit

    component assumes all dependencies should be packaged in WAR
    Key: MECLIPSE-167
    URL:
    Project: Maven 2.x Eclipse Plugin
    Issue Type: Bug
    Components: WTP support
    Reporter: Shelley L
    Priority: Critical
    applications are packaged such that the JAR dependencies are packaged within the EAR, not the WARs. The dependencies are listed in the WAR in order to generate the MANIFEST.MF class-path entries, and to add compile dependencies to the .classpath. These dependencies are excluded from the packaged WAR, however, via the maven-war-plugin's warSourceExcludes configuration: <warSourceExcludes>WEB-INF/lib/*.jar</warSourceExcludessince they reference the EAR. [Related: MWAR-9]
    The Eclipse Plugin WTP configuration file generation currently assumes that all WAR project dependencies should be packaged and deployed in the WAR. Each dependency is listed as a "dependent-module" with a deploy-path of "/WEB-INF/lib" in the .component file.
    This causes the dependencies to be duplicated and packaged in the EAR and in every WAR when the project is published to an app server.
    The eclipse-plugin should expose additional WTP configuration or read the war-plugin's configuration in order to exclude these dependencies from being packaged and deployed within the WAR.

Re: Created: (MECLIPSE-167) .component assumes all dependenciesshould be packaged in WAR


max 4000 letters.
Your nickname that display:
In order to stop the spam: 5 + 4 =
QUESTION ON "Java"

EMSDN.COM