incubator-odf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yegor Kozlov (Created) (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ODFTOOLKIT-290) Consolidate build of ODFToolkit sub-projects
Date Tue, 04 Oct 2011 12:17:34 GMT
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



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: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message