Skip to content

Commit e2d2222

Browse files
Update sitedocs for branch main
1 parent e798aea commit e2d2222

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

doc/main/BndBuild.html

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ <h2>Pomless Builds</h2>
146146
</code></pre>
147147
<ul>
148148

149-
<li>create a file called <code>maven.config</code> in the <code>.mvn</code> folder with the following content (adjust the version accordingly!):</li>
149+
<li>create a file called <code>maven.config</code> in the <code>.mvn</code> folder with the following content (adjust the Tycho version accordingly to the <a href="https://github.com/eclipse-tycho/tycho/releases" class="externalLink">latest release</a>!):</li>
150150
</ul>
151151

152152
<pre class="prettyprint linenums"><code class="language-properties">-Dtycho-version=4.0.10
@@ -155,7 +155,15 @@ <h2>Pomless Builds</h2>
155155

156156
<li>You can now run your build with <code>mvn clean verify</code>.</li>
157157
</ul>
158-
<p>You can check more details in a <a href="https://github.com/eclipse-tycho/tycho/tree/master/demo/bnd-workspace" class="externalLink">demo project</a>.</p></section><section><a id="Mixed_Builds"></a>
158+
<p>You can check more details in a <a href="https://github.com/eclipse-tycho/tycho/tree/master/demo/bnd-workspace" class="externalLink">demo project</a>.</p><section><a id="Configure_the_pomless_build"></a>
159+
<h3>Configure the pomless build</h3>
160+
<p>If you want to further configure the build can be done in these ways:</p>
161+
<ol style="list-style-type: decimal;">
162+
163+
<li>You can specify additional global properties in the <code>.mvn/maven.config</code>.</li>
164+
<li>You can define properties per project properties in the <code>bnd.bnd</code> file <code>pom.model.property.&lt;some property&gt;: true</code>, see <a href="https://github.com/eclipse-tycho/tycho/wiki/Tycho-Pomless#overwrite-group-and-artifact-ids" class="externalLink">the wiki</a> for more details.</li>
165+
<li>You can place a <code>pom.xml</code> in your <code>cnf</code> folder this will then be used as a parent for the aggregator, here you can add additional mojos, profiles and so on. If you want to enable certain things only for some of the projects you can use properties as described in (2) to skip the execution of mojos not relevant for other projects.</li>
166+
</ol></section></section><section><a id="Mixed_Builds"></a>
159167
<h2>Mixed Builds</h2>
160168
<p>You can even combine a BND Workspace and PDE bundles in a build, see <a href="https://github.com/eclipse-tycho/tycho/tree/master/demo/bnd-pde-workspace" class="externalLink">demo</a>.</p></section></section> </main>
161169
</div>

0 commit comments

Comments
 (0)