maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Erik Post (JIRA)" <j...@codehaus.org>
Subject [jira] Created: (MSHADE-43) spring.schemas and spring.handlers support
Date Tue, 11 Nov 2008 15:37:13 GMT
spring.schemas and spring.handlers support
------------------------------------------

                 Key: MSHADE-43
                 URL: http://jira.codehaus.org/browse/MSHADE-43
             Project: Maven 2.x Shade Plugin
          Issue Type: New Feature
    Affects Versions: 1.2
            Reporter: Erik Post
         Attachments: maven-shade-plugin-spring-support.patch

The attached patch adds support for merging the spring.schemas and spring.handlers files when
shading a project that has multiple spring dependencies. The spring.schemas and spring.handlers
files contain configuration data that is used by the Spring Framework when parsing context
configuration XML files.

The patch adds two resource transformers (SpringHandlersResourceTransformer and SpringSchemasResourceTransformer)
that merge the contents of all encountered spring.handlers and spring.schemas files, and puts
the merged files in the shaded jar. I based the code on the ComponentXmlResourceTransfomer.
Unit tests are included.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message