[
https://issues.apache.org/jira/browse/ODFTOOLKIT-290?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Florian Hopf updated ODFTOOLKIT-290:
------------------------------------
Fix Version/s: 0.5-incubating
> Consolidate build of ODFToolkit sub-projects
> --------------------------------------------
>
> Key: ODFTOOLKIT-290
> URL: https://issues.apache.org/jira/browse/ODFTOOLKIT-290
> Project: ODF Toolkit
> Issue Type: Improvement
> Reporter: Yegor Kozlov
> Assignee: Devin Han
> Fix For: 0.5-incubating
>
> Attachments: ip.patch
>
>
> As discussed on the dev list, we need to adjust the cross-module dependencies
> to compile against trunk instead of hardcoded ODFDOM 0.8.7, Taglets 0.8.7,
> etc.
> I made an attempt to consolidate Maven build and propose the following
> structure under a parent POM:
> {code}
> pom.xml (root) (modules:
> taglets,generator,xlst-runner,xslt-runner-task,odfdom,validator,simple)
> +---- taglets
> +-- pom.xml (parent: root)
> +---- generator
> +---- schema2template
> +-- pom.xml (parent: generator)
> +---- schema2template-maven-plugin
> +-- pom.xml (parent: generator: dependeny:
> schema2template)
> +---- xlst-runner
> +-- pom.xml (parent: root)
> +---- xlst-runner
> +-- pom.xml (parent: root)
> +---- xlst-runner-task
> +-- pom.xml (parent: root)
> +---- odfdom
> +-- pom.xml (parent: root dependeny: taglets)
> +---- validator
> +-- pom.xml (parent: root dependeny: odfdom)
> +---- simple
> +-- pom.xml (parent: root dependeny: odfdom)
> {code}
> Summary of changes:
> 1. All sub-projects inherit the parent POM. This allows us to build and test
> all components in one go.
> 2. As per http://www.apache.org/dev/publishing-maven-artifacts.html, the
> parent POM inherits the Apache POM.
> 3. I changed the groupId to "org.apache.odftoolkit". The Maven artifacts
> should fit in the Apache namespace.
> 4. Initial version is 0.5-SNAPSHOT
> 5. [IMPORTANT] To test the build I had to restore
> OdfFileDom#getAutomaticStyles(). Please revert this change after applying
> changes from https://issues.apache.org/jira/browse/ODFTOOLKIT-49
> Regards,
> Yegor
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira