Skip to content
  • Jörg Richter's avatar
    Restrucure POMs · 45b6ac43
    Jörg Richter authored
    Goals:
    
    1) Start development environment (with hot deployment enabled) directly from home directory, just by:
    
            mvn pax:run
    
       'cd deepamehta3-delivery' and '-P development' is not necessary anymore.
       (Both, the delivery directory and the development profile dosn't exist anymore.
       The delivery directory is now called 'deepamehta3-provision'.)
    
       Running with fresh runtime environment:
    
            mvn clean pax:run
    
    2) When building all modules the distribution zip file is not generated anymore.
       (Building all modules and generating a distribution is regarded as 2 distinct use cases.)
    
       Building all modules (from home directory):
    
            mvn install -P all
    
       Generating the distribution zip file:
    
            cd deepamehta3-distribution
            mvn package
    
    3) Keeping most configuration properties at a central location.
       The following properties are defined in the global POM (in home directory):
    
            dm3.database.path               (overridden in distribution POM)
            java.util.logging.config.file   (overridden in distribution POM)
            org.osgi.service.http.port
            file.encoding
            felix.log.level
            felix.fileinstall.dir           (along with all other felix.fileinstall properties)
    
       (Pending: revise 'plugin-parent' module)
    45b6ac43