multiple build enhancements for #127 and #131
[yosql.git] / yosql-website / layouts / shortcodes / mavenplugin_split.html
blob97a28277f89200598d78c64dd6f2090eed7c97f7
1 <!--
2 ~ This file is part of yosql. It is subject to the license terms in the LICENSE file found in the top-level
3 ~ directory of this distribution and at http://creativecommons.org/publicdomain/zero/1.0/. No part of yosql,
4 ~ including this file, may be copied, modified, propagated, or distributed except according to the terms contained
5 ~ in the LICENSE file.
6 -->
8 <div class="highlight"><pre class="chroma"><code class="language-xml" data-lang="xml">
9 &lt;properties&gt;
10 &lt;loggingApi&gt;SLF4J&lt;/loggingApi&gt;
11 &lt;/properties&gt;
12 &lt;build&gt;
13 &lt;plugins&gt;
14 ...
15 &lt;plugin&gt;
16 &lt;groupId&gt;wtf.metio.yosql&lt;/groupId&gt;
17 &lt;artifactId&gt;yosql-tooling-maven&lt;/artifactId&gt;
18 &lt;version&gt;{{ getenv "YOSQL_RELEASE" }}&lt;/version&gt;
19 &lt;configuration&gt;
20 &lt;apis&gt;
21 &lt;loggingApi&gt;${loggingApi}&lt;/loggingApi&gt;
22 &lt;/apis&gt;
23 &lt;/configuration&gt;
24 &lt;executions&gt;
25 &lt;execution&gt;
26 &lt;phase&gt;generate-sources&lt;/phase&gt;
27 &lt;goals&gt;
28 &lt;goal&gt;generate&lt;/goal&gt;
29 &lt;/goals&gt;
30 &lt;/execution&gt;
31 &lt;/executions&gt;
32 &lt;/plugin&gt;
33 ...
34 &lt;/plugins&gt;
35 &lt;/build&gt;
36 </code></pre>
37 </div>