cayenne-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CAY-2304) Custom ClassLoader for Maven and Gradle plugins that use project dependencies
Date Wed, 11 Apr 2018 12:34:01 GMT

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

ASF GitHub Bot commented on CAY-2304:
-------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/cayenne/pull/281


> Custom ClassLoader for Maven and Gradle plugins that use project dependencies
> -----------------------------------------------------------------------------
>
>                 Key: CAY-2304
>                 URL: https://issues.apache.org/jira/browse/CAY-2304
>             Project: Cayenne
>          Issue Type: Improvement
>          Components: Non-GUI Tools
>            Reporter: Nikita Timofeev
>            Assignee: Nikita Timofeev
>            Priority: Major
>              Labels: gradle, maven, pull-request-available
>             Fix For: 4.1.M2
>
>
> Currently Maven plugin requires its own dependency for the JDBC driver,
> that is most likely will be among project dependencies.
> We can potentially remove this duplication by utilizing custom {{ClassLoader}}(namely
{{URLClassLoader}}) in the plugin that will use project's dependencies as sources.
> Gradle plugin can have this feature too, but it is not completed yet (CAY-2301)
> Implementation note:
> - Plugins are already using cayenne DI so custom {{ClassLoader}} can be simply injected
via {{ClassLoaderManager}}.
> - {{MavenProject}} class is available from the plugin and exposes {{Artifacts}} that
are essentially dependencies available.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message