[
https://issues.apache.org/jira/browse/SHINDIG-1691?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ate Douma updated SHINDIG-1691:
-------------------------------
Description:
As proposed on dev@shindig mailing list before, this issue is about
enhancements for the Maven build configuration and modules to improve embedding
and extending shindig-server for downstream projects like Apache Rave and
further.
The full proposal thread can be found here:
http://mail-archives.apache.org/mod_mbox/shindig-dev/201201.mbox/%3C4F1F68F8.5010801%40douma.nu%3E
In short, my proposal is the following, and I'll post a patch for these changes
up for review shortly:
a) Move java/server/src/main/java/* (sample container code)
to new jar module java/sample-container
b) Move java/server/src/main/webapps/*
to new (shallow) war module java/server-resources
c) Move resources currently merged into server module from ./../content and
../../config also into new (shallow) war module java/server-resources
d) Add new pom module java/server-dependencies which (only) defines
the runtime dependencies needed for the shindig-server module
Note: this should also add new dependency on shindig-sample-container
e) The remainder of the shindig-server module then only needs to have
dependencies on the shindig-server-resources (war overlay) and
shindig-server-dependencies (pom), as well as some needed test only
dependencies for the remaining "endtoend" unit-tests
The end result of the above will again be a shindig-server war equal to the
current shindig-server war but now downstream users can more easily embed and
extend it, with proper maven (transitive) dependency resolution support.
The above changes really are quite trivial and will have zero impact for
development and current end usages.
was:
As proposed on dev@shindig mailing list before, this issue is about
enhancements for the Maven build configuration and modules to improve embedding
and extending shindig-server for downstream projects like Apache Rave and
further.
The full proposal thread can be found here:
http://mail-archives.apache.org/mod_mbox/shindig-dev/201201.mbox/raw/%3C4F1F68F8.5010801%40douma.nu%3E
In short, my proposal is the following, and I'll post a patch for these changes
up for review shortly:
a) Move java/server/src/main/java/* (sample container code)
to new jar module java/sample-container
b) Move java/server/src/main/webapps/*
to new (shallow) war module java/server-resources
c) Move resources currently merged into server module from ./../content and
../../config also into new (shallow) war module java/server-resources
d) Add new pom module java/server-dependencies which (only) defines
the runtime dependencies needed for the shindig-server module
Note: this should also add new dependency on shindig-sample-container
e) The remainder of the shindig-server module then only needs to have
dependencies on the shindig-server-resources (war overlay) and
shindig-server-dependencies (pom), as well as some needed test only
dependencies for the remaining "endtoend" unit-tests
The end result of the above will again be a shindig-server war equal to the
current shindig-server war but now downstream users can more easily embed and
extend it, with proper maven (transitive) dependency resolution support.
The above changes really are quite trivial and will have zero impact for
development and current end usages.
> Maven project enhancements to improve embedding and extending shindig-server
> ----------------------------------------------------------------------------
>
> Key: SHINDIG-1691
> URL: https://issues.apache.org/jira/browse/SHINDIG-1691
> Project: Shindig
> Issue Type: Improvement
> Components: Build, Java
> Affects Versions: 3.0.0
> Reporter: Ate Douma
> Fix For: 3.0.0
>
>
> As proposed on dev@shindig mailing list before, this issue is about
> enhancements for the Maven build configuration and modules to improve
> embedding and extending shindig-server for downstream projects like Apache
> Rave and further.
> The full proposal thread can be found here:
> http://mail-archives.apache.org/mod_mbox/shindig-dev/201201.mbox/%3C4F1F68F8.5010801%40douma.nu%3E
> In short, my proposal is the following, and I'll post a patch for these
> changes up for review shortly:
> a) Move java/server/src/main/java/* (sample container code)
> to new jar module java/sample-container
> b) Move java/server/src/main/webapps/*
> to new (shallow) war module java/server-resources
> c) Move resources currently merged into server module from ./../content and
> ../../config also into new (shallow) war module java/server-resources
> d) Add new pom module java/server-dependencies which (only) defines
> the runtime dependencies needed for the shindig-server module
> Note: this should also add new dependency on shindig-sample-container
> e) The remainder of the shindig-server module then only needs to have
> dependencies on the shindig-server-resources (war overlay) and
> shindig-server-dependencies (pom), as well as some needed test only
> dependencies for the remaining "endtoend" unit-tests
> The end result of the above will again be a shindig-server war equal to the
> current shindig-server war but now downstream users can more easily embed and
> extend it, with proper maven (transitive) dependency resolution support.
> The above changes really are quite trivial and will have zero impact for
> development and current end usages.
>
--
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