Maven 2.x EJB Plugin

clientExclude(s) does not work

Details

  • Type: Bug Bug
  • Status: Closed Closed
  • Priority: Major Major
  • Resolution: Fixed
  • Affects Version/s: 2.0
  • Fix Version/s: 2.1
  • Component/s: None
  • Labels:
    None
  • Environment:
    Maven 2.0.4
  • Number of attachments :
    0

Description

I've tried each and every configuration of <clientExcludes> and <clientIncludes> to control what is being put into the ejb-client JAR, but nothing really works. I expect the configuration
<clientExcludes>
<clientExclude>**</clientExclude>
</clientExcludes>
to produce an empty JAR - but it doesn't.

What I really need to do is to exclude ejb-jar.xml and jboss.xml from the client jar because JBoss 4 will still (try to) deploy the JAR file because these XMLs are in it, even if it is given as java module in the application.xml. Leaving these files there leads the whole idea of a client JAR ad adsurdum.

Issue Links

Activity

Hide
Mike R. Haller added a comment -

Seems to be fixed in 2.1-SNAPSHOT.

Show
Mike R. Haller added a comment - Seems to be fixed in 2.1-SNAPSHOT.
Hide
darren hartford added a comment -

When will 2.1 be released to include this fix?

Show
darren hartford added a comment - When will 2.1 be released to include this fix?
Hide
darren hartford added a comment -

I checked the roadmap for this 2.1 version, and it doesn't look like there are any outstanding issues.

When will 2.1 be released to include this fix? I do not see it yet at http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-ejb-plugin/

Show
darren hartford added a comment - I checked the roadmap for this 2.1 version, and it doesn't look like there are any outstanding issues. When will 2.1 be released to include this fix? I do not see it yet at http://www.ibiblio.org/maven2/plugins/org/apache/maven/plugins/maven-ejb-plugin/
Hide
Dennis Lundberg added a comment -

Can someone confirm that this has been fixed in 2.1-SNAPSHOT?

Show
Dennis Lundberg added a comment - Can someone confirm that this has been fixed in 2.1-SNAPSHOT?
Hide
Stefan Seidel added a comment -

Yes should've done that before: definitely fixed, up and running fine here in an locally built 2.1-SNAPSHOT.

Show
Stefan Seidel added a comment - Yes should've done that before: definitely fixed, up and running fine here in an locally built 2.1-SNAPSHOT.
Hide
Dennis Lundberg added a comment -

Closing.

Show
Dennis Lundberg added a comment - Closing.

People

Vote (5)
Watch (3)

Dates

  • Created:
    Updated:
    Resolved: