[ https://issues.apache.org/jira/browse/CONNECTORS-402?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13204126#comment-13204126 ]
Karl Wright commented on CONNECTORS-402: ---------------------------------------- I can think of two models that might resolve (1) and (5). That model would involve having a "build-image" target pretty much everywhere there's a "build" target today. Then the image targets would depend on build-image rather than on build. This is not ideal because if you forget and do a "build" first, or you try to run tests, etc. you will construct an image that includes things that should not be shipped. But this is the way it works today to a large extent anyhow. The alternative is to just exclude things when building the image. That is, during the build process where there are two differing results (depending on whether the result is included in the release image) we build BOTH of them, and exclude the "proprietary" one when we zip up the binary for distribution. This means that there would be two versions of each example, for instance - a non-proprietary version, and a proprietary one. Similarly, there would be two connectors.xml files; one non-proprietary, and one proprietary. > Separate the proprietary / non-proprietary deliverables for each connector > -------------------------------------------------------------------------- > > Key: CONNECTORS-402 > URL: https://issues.apache.org/jira/browse/CONNECTORS-402 > Project: ManifoldCF > Issue Type: Improvement > Components: Build > Affects Versions: ManifoldCF 0.4 > Reporter: Piergiorgio Lucidi > Assignee: Karl Wright > Fix For: ManifoldCF 0.5 > > Original Estimate: 24h > Remaining Estimate: 24h > > As we have spoken today this ticket is dedicated to try to work on the build > process to separate proprietary and non-proprietary libraries in the release > package. > In this way, for example, we could have a standard way to release a specific > library for the connector (mcf-alfresco-connector) without release > proprietary libraries and allow users to add proprietary libraries in a > specific folder "connector-lib-proprietary" that could be added to the > ManifoldCF classloader. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira