[jbosstools-issues] [JBoss JIRA] (JBIDE-18764) Weird behavior of the packaging exclusions support

Fred Bricon (JIRA) issues at jboss.org
Tue Nov 18 10:14:39 EST 2014


     [ https://issues.jboss.org/browse/JBIDE-18764?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Fred Bricon updated JBIDE-18764:
--------------------------------
    Description: 
I have a multi-module maven project with ear, war, ejb ...
The excludejars-web/pom.xml defines <packagingExcludes>WEB-INF/lib/*</packagingExcludes>

When deploying excludejars-ear to WF, the excludejars-ear/excludejars-web-0.0.1-SNAPSHOT.war/WEB-INF/lib directory is empty, as expected.

Now if you remove <packagingExcludes>WEB-INF/lib/*</packagingExcludes> from the excludejars-web/pom.xml , Update the Maven project configuration (Alt-F5) on the excludejars-web project,  org.eclipse.wst.common.component is updated to contain <property name="component.exclusion.patterns"/>

When you do a full publish on the ear project, excludejars-ear/excludejars-web-0.0.1-SNAPSHOT.war/WEB-INF/lib  is still empty. Same thing if you invoke "clean" on the WF server adapter.

The only way to get the jars deployed is to remove the ear from WF, clean, then add the ear back. 

  was:
I have a multi-module maven project with ear, war, ejb ...
The war project defines <packagingExcludes>WEB-INF/lib/*</packagingExcludes>

When deploying the EAR to WF, the war/WEB-INF/lib directory is empty, as expected.

Now if you remove <packagingExcludes>WEB-INF/lib/*</packagingExcludes> from the war pom.xml, Update the Maven project configuration (Alt-F5) on the web project,  org.eclipse.wst.common.component is updated to contain <property name="component.exclusion.patterns"/>

When you do a full publish on the ear project, war/WEB-INF/lib is still empty. Same thing if you invoke "clean" on the WF server adapter.

The only way to get the jars deployed is to remove the ear from WF, clean, then add the ear back 



> Weird behavior of the packaging exclusions support
> --------------------------------------------------
>
>                 Key: JBIDE-18764
>                 URL: https://issues.jboss.org/browse/JBIDE-18764
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 4.2.0.Final
>            Reporter: Fred Bricon
>         Attachments: excludejars.zip
>
>
> I have a multi-module maven project with ear, war, ejb ...
> The excludejars-web/pom.xml defines <packagingExcludes>WEB-INF/lib/*</packagingExcludes>
> When deploying excludejars-ear to WF, the excludejars-ear/excludejars-web-0.0.1-SNAPSHOT.war/WEB-INF/lib directory is empty, as expected.
> Now if you remove <packagingExcludes>WEB-INF/lib/*</packagingExcludes> from the excludejars-web/pom.xml , Update the Maven project configuration (Alt-F5) on the excludejars-web project,  org.eclipse.wst.common.component is updated to contain <property name="component.exclusion.patterns"/>
> When you do a full publish on the ear project, excludejars-ear/excludejars-web-0.0.1-SNAPSHOT.war/WEB-INF/lib  is still empty. Same thing if you invoke "clean" on the WF server adapter.
> The only way to get the jars deployed is to remove the ear from WF, clean, then add the ear back. 



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbosstools-issues mailing list