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

Ryan McGuinness commented on TOMEE-1581:
----------------------------------------

As a parameter, but not a way to override and replace as part of the creation 
process, at least the way I read it. It is designed along the lines of : path 
to endorsed libs. (I may have read it wrong.) But what I really want is to be 
able to download (similar to the lib process); remove and add endorsed libs. An 
example of this is: hibernate-jpa-2.0.jar; javassist.jar; cache-api.jar. These 
must be at the endorsed library level, but I don't want to have to maintain 
them outside of the build process.

> Create endorsed class loader in Embedded TomEE arquillian 
> ----------------------------------------------------------
>
>                 Key: TOMEE-1581
>                 URL: https://issues.apache.org/jira/browse/TOMEE-1581
>             Project: TomEE
>          Issue Type: New Feature
>          Components: TomEE Maven Plugin
>    Affects Versions: 2.0.0, 1.7.1, 1.7.2
>            Reporter: Ryan McGuinness
>            Priority: Minor
>
> For custom composed containers, it would be useful to add an endorsed 
> libraries section to the configuration to ensure the class loaders run as 
> they would at runtime. In cases where an API may be overridden in endorsed to 
> update the functionality of LIB jars. Or replace the JPA container with 
> Hibernate.
> <configuration>
>                     <tomeeVersion>1.7.1</tomeeVersion>
>                     <tomeeClassifier>plus</tomeeClassifier>
>                     <removeDefaultWebapps>true</removeDefaultWebapps>
>                    <endorsed>
>                        <lib></lib>
>                    </endorsed>
>                     <libs>
>                    </libs>
> </configuration>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to