Last modified by Vincent Massol on 2024/04/08 16:22

From version 96.3
edited by Vincent Massol
on 2017/05/10 12:15
Change comment: There is no comment for this version
To version 96.4
edited by Vincent Massol
on 2017/05/23 13:59
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -111,13 +111,13 @@
111 111  
112 112  = Building with Maven =
113 113  
114 -Now that you have installed Maven and checked out the [[Projects>>SourceRepository#HTopLevelProjects]] you wanted you'll want to build them. To build a project with Maven just issue the command:
114 +Now that you have installed Maven and checked out the [[Projects>>SourceRepository#HTopLevelProjects]] you wanted to work on, you'll want to build them or parts of them. A project is made of modules. To build a module in Maven just issue the command:
115 115  
116 116  {{code}}
117 117  mvn clean install
118 118  {{/code}}
119 119  
120 -Each project is made of modules. Thanks to XWiki's [[Continuous Integration setup>>DevelopmentPractices#HContinuousIntegration]] you can check out and build any single module (and its children) you wish without having to rebuild the other modules from source. Maven will pick the latest version of your module's dependencies from [[XWiki's Maven remote repositories>>http://maven.xwiki.org/]]. Of course if you have uncommitted changes in a dependent module, you'll want to build that module before. The build result is placed in two places:
120 +Thanks to XWiki's [[Continuous Integration setup>>DevelopmentPractices#HContinuousIntegration]] you can check out and build any single module (and its children) you wish without having to rebuild the other modules from source. Maven will pick the latest version of your module's dependencies from [[XWiki's Maven remote repositories>>http://maven.xwiki.org/]]. Of course if you have uncommitted changes in a dependent module, you'll want to build that module before. The build result is placed in two places:
121 121  
122 122  * Your [[local maven repository>>http://maven.apache.org/guides/introduction/introduction-to-repositories.html]], for making the module available to other projects or modules using maven (even other XWiki modules take the needed libraries from this repository, and not directly from a "neighbor" directory)
123 123  * In a subdirectory of that module, called ##target##.

Get Connected