[ 
https://issues.apache.org/jira/browse/CHAIN-48?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13700319#comment-13700319
 ] 

Benedikt Ritter commented on CHAIN-48:
--------------------------------------

This will be fixed when we release 2.0. The trunk already has several 
submodules. We should have a look at the actual OSGi meta data that is created.
                
> OSGi bundle without web framework dependencies
> ----------------------------------------------
>
>                 Key: CHAIN-48
>                 URL: https://issues.apache.org/jira/browse/CHAIN-48
>             Project: Commons Chain
>          Issue Type: Wish
>    Affects Versions: 1.2
>            Reporter: Paul Mietz Egli
>            Priority: Minor
>             Fix For: 2.0
>
>
> Thanks for providing the OSGi manifest for commons-chain!  It would be nice 
> for those of us that aren't using chain with a web framework to split the 
> library into two bundles, one for the base functionality and another which 
> adds all of the web functionality.  I don't want Faces, EL, JSTL, and all of 
> that just to use Chain programatically.  Maybe you could publish a 
> commons-chain-base bundle without the web dependencies?
> As a workaround, I modified the POM to exclude the web classes by adding the 
> following complier plugin config:
> {code:xml}
> <plugin>
>   <artifactId>maven-compiler-plugin</artifactId>
>   <configuration>
>     <excludes>
>       <exclude>**/web/**</exclude>
>     </excludes>
>     <testExcludes>
>       <exclude>**/web/**</exclude>
>       <exclude>**/ContextBaseTestCase.java</exclude>
>       <exclude>**/TestContextTestCase.java</exclude>
>     </testExcludes>
>   </configuration>
> </plugin>
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to