[ 
https://issues.apache.org/jira/browse/OFBIZ-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14527064#comment-14527064
 ] 

Ron Wheeler commented on OFBIZ-6271:
------------------------------------

Maven profiles are inherently evil and draw otherwise good people over to the 
dark side.
The https://maven.apache.org/plugins/maven-antrun-plugin/ can be used as Adam 
suggested but this requires the end user to build a maven project.

I favour a proper installer that allows one to install or upgrade their 
installation in a simple way that is defined in configuration and code that can 
be tested rather than in documentation which gets out of date and depends on 
the user's interpretation of what is written and their abiilty to follow 
instructions and type things accurately.
The installer can be built with Maven as a project.

If someone want to buld a custom installer, they just change the dependencies 
in the installer POM to point to their custom jar files that will override the 
Maven Central official OFBiz jars. 
They can substitute splash pages, panel text, readme, licenses, seed data or 
whatever is required to distribute their custom OFBiz.
THe complexity of seed data, demo data and test data can be hidden from the 
system administrator which could allow theOFBIZ dev team to rethink the data 
loading process witout worrying about complexity.

The installer can offer a default install and offer the person doing the 
install the abililty to ignore components or install options.

It can also do some sanity checks prior to installation.
It can automatically detect the OS to do the "right" things - desktop 
shortcuts, Windows registry entries, add to start menu - to make the 
installation process easier.
This makes support easier since the installations should become much more 
consistent.

> build management with maven
> ---------------------------
>
>                 Key: OFBIZ-6271
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-6271
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: ALL COMPONENTS
>            Reporter: Adam Heath
>            Priority: Minor
>         Attachments: console.log
>
>
> This is a new build system; the primary goal will be to not require any 
> changes to existing ofbiz layouts(for backwards compatibility, at least 
> initially).
> These pom.xml files are completely new; the existing build.xml infrastructure 
> will continue to exist.  The existing build.xml will never call into 
> maven(which is what processes the pom.xml), and maven will never call into 
> build.xml either.
> I have already committed a working pom.xml for the top level, and 
> framework/start.  Shortly, I will be adding framework/base and 
> framework/entity, but into this branch.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to