[
http://jira.amdatu.org/jira/browse/AMDATU-485?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12874#comment-12874
]
Matthijs Hendriks commented on AMDATU-485:
------------------------------------------
Below is a suggested change for the web.wink pom to be found, providing an
approach that is little cleaner than the one provided by Bram. My version
inlines some of the code instead of including all jars in Wink jar. However,
there still is code that is unused. Because of the fact that this is quite a
lot and Maven does not support a way to exclude multiple packages (only to
include), it would be a hell of a job to find out which packages should be
included and to do so.
Are we sure that this is the only & correct way to use Apache Wink? They
provide a wink-server and a wink-client next to the extension bundles (for for
example JSON support) and we use the aggregate bundle. This makes me think the
same things could be done as now, but using the server c.q. client bundle
instead of the aggregate bundle, which is a lot bigger. And if this is
possible, what changes are needed?
CHANGE:
Replace the current Embed-Dependency line with (I had some trouble with
creating a patch):
{noformat}<Embed-Dependency>*;scope=compile;inline=org/json/**|org/slf4j/**|org/apache/wink/client/**|org/apache/wink/providers/**|org/apache/wink/server/**|org/apache/wink/common/**</Embed-Dependency>{noformat}
> Clean up Wink bundle packaging
> ------------------------------
>
> Key: AMDATU-485
> URL: http://jira.amdatu.org/jira/browse/AMDATU-485
> Project: Amdatu
> Issue Type: Improvement
> Components: Amdatu Web
> Reporter: Bram de Kruijff
> Priority: Minor
> Fix For: Backlog
>
> Attachments: rest-wink_model.patch
>
>
> The Wink base REST provider is builds from the embedded
> "wink-aggregate-jar-osgi" artifact. This results in dragging in stuff it does
> not need, which is why the imports have to be negated and transitive
> dependencies are not embedded, which is why then some more imports have to be
> negated. Attached patch provides a "cleaner approach"
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
http://jira.amdatu.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers