[
https://issues.apache.org/jira/browse/OFBIZ-6271?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14524204#comment-14524204 ]
Adam Heath commented on OFBIZ-6271:
-----------------------------------
Ok, quick update.
Building a single component is not possible, by going into applications/product, and doing a "mvn clean compile". However, there is a maven way to do it:
==
mvn -pl org.apache.ofbiz:ofbiz-product compile
==
Doing this from the top-level will then deal with just the "list" of artifacts(you can give several). Also, you can use "-am" which will also run the goals against everything the project list *depends* on, which is actually way cool.
==
mvn -am -pl org.apache.ofbiz:ofbiz-product clean package
==
The above command will not only deal with product, but base, entity, security, service, common, content, party, webapp. Note, that widget and entityext(and others) are not included.
> 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)