analysis: Add JUnits for control flow entry comparators
[deliverable/tracecompass.git] / pom.xml
CommitLineData
89882f20
SG
1<?xml version="1.0" encoding="UTF-8"?>
2<!--
3 Copyright (C) 2011, Red Hat, Inc.
4
5 All rights reserved. This program and the accompanying materials
6 are made available under the terms of the Eclipse Public License v1.0
7 which accompanies this distribution, and is available at
8 http://www.eclipse.org/legal/epl-v10.html
9-->
10
11<project xmlns="http://maven.apache.org/POM/4.0.0"
12 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
13 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
14 <modelVersion>4.0.0</modelVersion>
15
16 <prerequisites>
53e14a11 17 <maven>3.3</maven>
89882f20
SG
18 </prerequisites>
19
8336b412
AM
20 <groupId>org.eclipse.tracecompass</groupId>
21 <artifactId>org.eclipse.tracecompass</artifactId>
38a9b03f 22 <version>2.0.0-SNAPSHOT</version>
89882f20 23 <packaging>pom</packaging>
8336b412 24 <name>Trace Compass Parent</name>
89882f20
SG
25
26 <licenses>
27 <license>
28 <name>Eclipse Public License v1.0</name>
29 <comments>
30 All rights reserved.
31
32 This program and the accompanying materials are made
33 available under the terms of the Eclipse Public License v1.0
34 which accompanies this distribution, and is available at
35 http://www.eclipse.org/legal/epl-v10.htm
36 </comments>
37 </license>
38 </licenses>
5b953e7c 39
9541b578
AM
40 <properties>
41 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
42 <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
617a130c 43 <testArgLine></testArgLine>
9541b578
AM
44
45 <tycho-version>0.24.0</tycho-version>
46 <tycho-extras-version>0.24.0</tycho-extras-version>
47 <tycho.scmUrl>scm:git:git://git.eclipse.org/gitroot/tracecompass/org.eclipse.tracecompass.git</tycho.scmUrl>
48 <target-platform>tracecompass-e4.5</target-platform>
49 <help-docs-eclipserun-repo>http://download.eclipse.org/eclipse/updates/4.5</help-docs-eclipserun-repo>
50
51 <!-- Disable GTK3 because it's not quite usable yet and it can make the tests hang (bug in IcedTea http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=1736) -->
52 <SWT_GTK3>0</SWT_GTK3>
53
54 <!-- Sonar rule configuration -->
55 <sonar.core.codeCoveragePlugin>jacoco</sonar.core.codeCoveragePlugin>
56 <sonar.dynamicAnalysis>reuseReports</sonar.dynamicAnalysis>
57 <sonar.jacoco.reportPath>${project.basedir}/../../target/jacoco.exec</sonar.jacoco.reportPath>
58 <sonar.java.source>1.8</sonar.java.source>
59 <sonar.exclusions>**/tests/**,**/test/**,**/stubs/**,**/Messages*,**/alltests/**</sonar.exclusions>
60 <sonar.skippedModules>org.eclipse.tracecompass.ctf.parser,org.eclipse.tracecompass.examples</sonar.skippedModules>
206fbbca 61 <sonar.issue.ignore.multicriteria>e1,e2,e3,e4,e5,e6,e7,e8</sonar.issue.ignore.multicriteria>
9541b578
AM
62 <sonar.issue.ignore.multicriteria.e1.ruleKey>findbugs:NP_STORE_INTO_NONNULL_FIELD</sonar.issue.ignore.multicriteria.e1.ruleKey>
63 <sonar.issue.ignore.multicriteria.e1.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e1.resourceKey>
64 <sonar.issue.ignore.multicriteria.e2.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_OF_NONNULL_VALUE</sonar.issue.ignore.multicriteria.e2.ruleKey>
65 <sonar.issue.ignore.multicriteria.e2.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e2.resourceKey>
66 <sonar.issue.ignore.multicriteria.e3.ruleKey>findbugs:NP_NONNULL_PARAM_VIOLATION</sonar.issue.ignore.multicriteria.e3.ruleKey>
67 <sonar.issue.ignore.multicriteria.e3.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e3.resourceKey>
68 <sonar.issue.ignore.multicriteria.e4.ruleKey>findbugs:NP_NULL_PARAM_DEREF_NONVIRTUAL</sonar.issue.ignore.multicriteria.e4.ruleKey>
69 <sonar.issue.ignore.multicriteria.e4.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e4.resourceKey>
70 <sonar.issue.ignore.multicriteria.e5.ruleKey>findbugs:NP_NONNULL_RETURN_VIOLATION</sonar.issue.ignore.multicriteria.e5.ruleKey>
71 <sonar.issue.ignore.multicriteria.e5.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e5.resourceKey>
72 <sonar.issue.ignore.multicriteria.e6.ruleKey>findbugs:NP_NONNULL_FIELD_NOT_INITIALIZED_IN_CONSTRUCTOR</sonar.issue.ignore.multicriteria.e6.ruleKey>
73 <sonar.issue.ignore.multicriteria.e6.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e6.resourceKey>
206fbbca
MAL
74 <sonar.issue.ignore.multicriteria.e7.ruleKey>findbugs:NP_NULL_PARAM_DEREF</sonar.issue.ignore.multicriteria.e7.ruleKey>
75 <sonar.issue.ignore.multicriteria.e7.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e7.resourceKey>
76 <sonar.issue.ignore.multicriteria.e8.ruleKey>findbugs:RCN_REDUNDANT_NULLCHECK_WOULD_HAVE_BEEN_A_NPE</sonar.issue.ignore.multicriteria.e8.ruleKey>
77 <sonar.issue.ignore.multicriteria.e8.resourceKey>**/*.java</sonar.issue.ignore.multicriteria.e8.resourceKey>
9541b578
AM
78 </properties>
79
80 <pluginRepositories>
81 <pluginRepository>
82 <id>repo.eclipse.org</id>
83 <url>https://repo.eclipse.org/content/groups/releases/</url>
84 </pluginRepository>
85 <pluginRepository>
86 <id>tycho-snapshots</id>
87 <url>https://repo.eclipse.org/content/repositories/tycho-snapshots/</url>
88 </pluginRepository>
89 <pluginRepository>
90 <id>jboss-public-repository-group</id>
91 <name>JBoss Public Repository Group</name>
92 <url>http://repository.jboss.org/nexus/content/groups/public/</url>
93 </pluginRepository>
94 </pluginRepositories>
95
96 <profiles>
97 <!-- Manually-set profile to sign the generated update sites -->
98 <profile>
99 <id>sign-update-site</id>
100 <build>
101 <plugins>
102 <plugin>
103 <groupId>org.eclipse.tycho.extras</groupId>
104 <artifactId>tycho-pack200a-plugin</artifactId>
105 <version>${tycho-extras-version}</version>
106 <executions>
107 <execution>
108 <id>pack200-normalize</id>
109 <goals>
110 <goal>normalize</goal>
111 </goals>
112 <phase>package</phase>
113 </execution>
114 </executions>
115 </plugin>
116
117 <plugin>
118 <groupId>org.eclipse.cbi.maven.plugins</groupId>
119 <artifactId>eclipse-jarsigner-plugin</artifactId>
7e5c471b 120 <version>1.1.3</version>
9541b578
AM
121 <executions>
122 <execution>
123 <id>sign</id>
124 <phase>package</phase>
125 <goals>
126 <goal>sign</goal>
127 </goals>
128 </execution>
129 </executions>
130 </plugin>
131
132 <plugin>
133 <groupId>org.eclipse.tycho.extras</groupId>
134 <artifactId>tycho-pack200b-plugin</artifactId>
135 <version>${tycho-extras-version}</version>
136 <executions>
137 <execution>
138 <id>pack200-pack</id>
139 <goals>
140 <goal>pack</goal>
141 </goals>
142 <phase>package</phase>
143 </execution>
144 </executions>
145 </plugin>
146 </plugins>
147 </build>
148 </profile>
149
29d632c4
MAL
150 <profile>
151 <id>use-jacoco</id>
152 <activation>
153 <property>
154 <name>!skip-jacoco</name>
155 </property>
156 </activation>
617a130c
MAL
157 <properties>
158 <testArgLine>${tycho.testArgLine}</testArgLine>
159 </properties>
29d632c4
MAL
160 <build>
161 <plugins>
162 <plugin>
163 <groupId>org.jacoco</groupId>
164 <artifactId>jacoco-maven-plugin</artifactId>
165 <version>0.7.4.201502262128</version>
166 <executions>
167 <execution>
168 <id>pre-test</id>
169 <goals>
170 <goal>prepare-agent</goal>
171 </goals>
172 <configuration>
173 <!-- Where to put jacoco coverage report -->
174 <destFile>${sonar.jacoco.reportPath}</destFile>
175 <includes>
176 <include>org.eclipse.tracecompass.*</include>
177 </includes>
178 <append>true</append>
179 </configuration>
180 </execution>
181 <execution>
182 <id>post-test</id>
183 <phase>post-integration-test</phase>
184 <goals>
185 <goal>report</goal>
186 </goals>
187 <configuration>
188 <dataFile>${sonar.jacoco.reportPath}</dataFile>
189 </configuration>
190 </execution>
191 </executions>
192 </plugin>
193 </plugins>
194 </build>
195 </profile>
196
9541b578
AM
197 <!-- Automatic profile for Mac-specific settings -->
198 <profile>
199 <id>macosx</id>
200 <activation>
201 <os>
202 <family>mac</family>
203 </os>
204 </activation>
205 <properties>
206 <base.ui.test.vmargs>-XstartOnFirstThread -Dorg.eclipse.swt.internal.carbon.smallFonts -Djava.awt.headless=false</base.ui.test.vmargs>
207 </properties>
208 </profile>
209
210 <!-- Automatic profile for non-Mac platforms settings -->
211 <profile>
212 <id>not-macosx</id>
213 <activation>
214 <os>
215 <family>!mac</family>
216 </os>
217 </activation>
218 <properties>
219 <!-- Disable webkit integration, especially unstable on Linux -->
220 <base.ui.test.vmargs>-Dorg.eclipse.swt.browser.DefaultType=mozilla</base.ui.test.vmargs>
221 </properties>
222 </profile>
53e14a11
AM
223
224 <!-- Automatic profile to define the settings for UI test plugins -->
225 <profile>
226 <id>ui-test-plugin</id>
227 <activation>
228 <file>
229 <exists>ui-test-plugin.properties</exists>
230 </file>
231 </activation>
232 <build>
233 <plugins>
234 <plugin>
235 <groupId>org.eclipse.tycho</groupId>
236 <artifactId>tycho-surefire-plugin</artifactId>
237 <configuration>
238 <useUIHarness>true</useUIHarness>
239 <useUIThread>true</useUIThread>
240 </configuration>
241 </plugin>
242 </plugins>
243 </build>
244 </profile>
245
246 <!-- Automatic profile to define the settings for SWTBot test plugins -->
247 <profile>
248 <id>swtbot-test-plugin</id>
249 <activation>
250 <file>
251 <exists>swtbot-test-plugin.properties</exists>
252 </file>
253 </activation>
254 <build>
255 <plugins>
256 <plugin>
257 <groupId>org.eclipse.tycho</groupId>
258 <artifactId>tycho-surefire-plugin</artifactId>
259 <configuration>
260 <useUIHarness>true</useUIHarness>
261 <useUIThread>false</useUIThread>
262 <environmentVariables>
263 <SWT_GTK3>${SWT_GTK3}</SWT_GTK3>
264 <LIBOVERLAY_SCROLLBAR>0</LIBOVERLAY_SCROLLBAR>
265 </environmentVariables>
266 </configuration>
267 </plugin>
268 </plugins>
269 </build>
270 </profile>
9541b578 271 </profiles>
422f0fb8 272
89882f20 273 <modules>
657cb785 274 <module>analysis</module>
6e244963 275 <module>btf</module>
69bf2390 276 <module>common</module>
4da8cd5b 277 <module>ctf</module>
8995fed0 278 <module>doc</module>
76a6eebb 279 <module>gdbtrace</module>
4252328e 280 <module>lttng</module>
39697ee7 281 <module>pcap</module>
5be236ca 282 <module>rcp</module>
2e225298 283 <module>releng</module>
c84075b4 284 <module>statesystem</module>
3cbca186 285 <module>tmf</module>
89882f20
SG
286 </modules>
287
032bdcc4
AM
288 <build>
289 <plugins>
290 <plugin>
291 <inherited>true</inherited>
292 <groupId>org.apache.maven.plugins</groupId>
293 <artifactId>maven-enforcer-plugin</artifactId>
294 <version>1.4.1</version>
295 <executions>
296 <execution>
297 <id>enforce-maven-version</id>
298 <goals>
299 <goal>enforce</goal>
300 </goals>
301 <configuration>
302 <rules>
303 <requireMavenVersion>
53e14a11 304 <version>3.3</version>
032bdcc4
AM
305 </requireMavenVersion>
306 <requireJavaVersion>
307 <version>1.8</version>
308 </requireJavaVersion>
309 </rules>
310 <fail>true</fail>
311 </configuration>
312 </execution>
313 </executions>
314 </plugin>
9541b578
AM
315
316 <plugin>
317 <groupId>org.eclipse.tycho</groupId>
318 <artifactId>target-platform-configuration</artifactId>
319 <configuration>
320 <includePackedArtifacts>true</includePackedArtifacts>
321 <environments>
322 <environment>
323 <os>win32</os>
324 <ws>win32</ws>
325 <arch>x86</arch>
326 </environment>
327 <environment>
328 <os>win32</os>
329 <ws>win32</ws>
330 <arch>x86_64</arch>
331 </environment>
332 <environment>
333 <os>macosx</os>
334 <ws>cocoa</ws>
335 <arch>x86_64</arch>
336 </environment>
337 <environment>
338 <os>linux</os>
339 <ws>gtk</ws>
340 <arch>x86</arch>
341 </environment>
342 <environment>
343 <os>linux</os>
344 <ws>gtk</ws>
345 <arch>x86_64</arch>
346 </environment>
347 </environments>
348 <target>
349 <artifact>
350 <groupId>org.eclipse.tracecompass</groupId>
351 <artifactId>org.eclipse.tracecompass.target</artifactId>
352 <classifier>${target-platform}</classifier>
353 <version>2.0.0</version>
354 </artifact>
355 </target>
356 </configuration>
357 </plugin>
358
359 <plugin>
360 <groupId>org.eclipse.tycho</groupId>
361 <artifactId>tycho-maven-plugin</artifactId>
362 <version>${tycho-version}</version>
363 <extensions>true</extensions>
364 </plugin>
365
366 <plugin>
367 <groupId>org.eclipse.tycho</groupId>
368 <artifactId>tycho-source-plugin</artifactId>
369 <version>${tycho-version}</version>
370 <executions>
371 <execution>
372 <id>plugin-source</id>
373 <goals>
374 <goal>plugin-source</goal>
375 </goals>
376 </execution>
377 </executions>
378 </plugin>
379
380 <plugin>
381 <groupId>org.eclipse.tycho.extras</groupId>
382 <artifactId>tycho-source-feature-plugin</artifactId>
383 <version>${tycho-extras-version}</version>
384 <configuration>
385 <includeBinaryFeature>false</includeBinaryFeature>
386 </configuration>
387 <executions>
388 <execution>
389 <id>source-feature</id>
390 <phase>package</phase>
391 <goals>
392 <goal>source-feature</goal>
393 </goals>
394 </execution>
395 </executions>
396 </plugin>
397
3870d08a
MAL
398 <plugin>
399 <groupId>org.eclipse.tycho.extras</groupId>
400 <artifactId>tycho-pack200b-plugin</artifactId>
401 <version>${tycho-extras-version}</version>
402 <executions>
403 <execution>
404 <id>pack200-pack</id>
405 <goals>
406 <goal>pack</goal>
407 </goals>
408 <phase>package</phase>
409 </execution>
410 </executions>
411 </plugin>
9541b578 412
3870d08a
MAL
413 <plugin>
414 <groupId>org.eclipse.tycho</groupId>
415 <artifactId>tycho-p2-plugin</artifactId>
3870d08a
MAL
416 <executions>
417 <execution>
418 <id>p2-metadata</id>
419 <goals>
420 <goal>p2-metadata</goal>
421 </goals>
422 <phase>package</phase>
423 </execution>
424 </executions>
425 <configuration>
426 <defaultP2Metadata>false</defaultP2Metadata>
427 </configuration>
428 </plugin>
33112414 429 </plugins>
b0d2c558 430
33112414
AM
431 <pluginManagement>
432 <plugins>
433 <plugin>
434 <groupId>org.eclipse.tycho</groupId>
435 <artifactId>tycho-compiler-plugin</artifactId>
436 <version>${tycho-version}</version>
437 <configuration>
032bdcc4
AM
438 <source>1.8</source>
439 <target>1.8</target>
33112414 440 <encoding>UTF-8</encoding>
5194c8ca 441 <useProjectSettings>true</useProjectSettings>
4c4e2816
AM
442 <compilerArguments>
443 <annotationpath>common/org.eclipse.tracecompass.common.core/annotations</annotationpath>
444 </compilerArguments>
33112414 445 </configuration>
7679e68a 446 </plugin>
9541b578 447
7679e68a
MAL
448 <plugin>
449 <groupId>org.eclipse.tycho</groupId>
450 <artifactId>target-platform-configuration</artifactId>
451 <version>${tycho-version}</version>
452 </plugin>
9541b578 453
7679e68a
MAL
454 <plugin>
455 <groupId>org.eclipse.tycho</groupId>
456 <artifactId>tycho-p2-plugin</artifactId>
457 <version>${tycho-version}</version>
458 </plugin>
9541b578 459
7679e68a
MAL
460 <plugin>
461 <groupId>org.eclipse.tycho</groupId>
462 <artifactId>tycho-p2-publisher-plugin</artifactId>
463 <version>${tycho-version}</version>
464 </plugin>
9541b578 465
7679e68a
MAL
466 <plugin>
467 <groupId>org.eclipse.tycho</groupId>
468 <artifactId>tycho-p2-repository-plugin</artifactId>
469 <version>${tycho-version}</version>
470 </plugin>
9541b578 471
b0d2c558
AM
472 <plugin>
473 <groupId>org.eclipse.tycho</groupId>
474 <artifactId>tycho-surefire-plugin</artifactId>
475 <version>${tycho-version}</version>
476 <configuration>
477 <!-- Default configuration, UI tests may have to override these -->
478 <useUIHarness>false</useUIHarness>
479 <useUIThread>false</useUIThread>
33112414
AM
480 <dependencies>
481 <dependency>
482 <type>p2-installable-unit</type>
483 <artifactId>org.eclipse.platform.feature.group</artifactId>
484 <version>${sdk-version}</version>
485 </dependency>
486 </dependencies>
487 <product>org.eclipse.platform.ide</product>
617a130c 488 <argLine>${testArgLine} ${base.ui.test.vmargs} -Xms512m -Xmx1024m</argLine>
b0d2c558
AM
489 </configuration>
490 </plugin>
9541b578 491
33112414
AM
492 <plugin>
493 <groupId>org.eclipse.tycho</groupId>
494 <artifactId>tycho-versions-plugin</artifactId>
495 <version>${tycho-version}</version>
496 </plugin>
9541b578 497
5bc05277
MAL
498 <plugin>
499 <groupId>org.eclipse.tycho</groupId>
500 <artifactId>tycho-packaging-plugin</artifactId>
501 <version>${tycho-version}</version>
502 <configuration>
503 <sourceReferences>
504 <generate>true</generate>
505 </sourceReferences>
506 </configuration>
507 <dependencies>
508 <dependency>
509 <groupId>org.eclipse.tycho.extras</groupId>
510 <artifactId>tycho-sourceref-jgit</artifactId>
511 <version>${tycho-extras-version}</version>
512 </dependency>
513 </dependencies>
514 </plugin>
9541b578 515
b0d2c558 516 <plugin>
33112414
AM
517 <groupId>org.apache.maven.plugins</groupId>
518 <artifactId>maven-resources-plugin</artifactId>
7679e68a 519 <version>2.7</version>
33112414
AM
520 <configuration>
521 <encoding>UTF-8</encoding>
522 </configuration>
523 </plugin>
9541b578 524
33112414
AM
525 <plugin>
526 <groupId>org.apache.maven.plugins</groupId>
527 <artifactId>maven-antrun-plugin</artifactId>
7679e68a 528 <version>1.8</version>
33112414 529 </plugin>
9541b578 530
33112414
AM
531 <plugin>
532 <groupId>org.apache.maven.plugins</groupId>
533 <artifactId>maven-site-plugin</artifactId>
534 <version>3.4</version>
535 </plugin>
9541b578 536
7679e68a
MAL
537 <plugin>
538 <groupId>org.apache.maven.plugins</groupId>
539 <artifactId>maven-clean-plugin</artifactId>
540 <version>2.6.1</version>
541 </plugin>
9541b578 542
7679e68a
MAL
543 <plugin>
544 <groupId>org.apache.maven.plugins</groupId>
545 <artifactId>maven-deploy-plugin</artifactId>
546 <version>2.8.2</version>
547 </plugin>
9541b578 548
7679e68a
MAL
549 <plugin>
550 <groupId>org.apache.maven.plugins</groupId>
551 <artifactId>maven-install-plugin</artifactId>
552 <version>2.5.2</version>
553 </plugin>
9541b578 554
33112414
AM
555 <plugin>
556 <groupId>org.apache.maven.plugins</groupId>
557 <artifactId>maven-project-info-reports-plugin</artifactId>
7679e68a 558 <version>2.8</version>
33112414 559 </plugin>
9541b578 560
33112414
AM
561 <plugin>
562 <groupId>org.apache.maven.plugins</groupId>
563 <artifactId>maven-javadoc-plugin</artifactId>
7679e68a 564 <version>2.10.1</version>
33112414 565 <configuration>
730dbd2a 566 <excludePackageNames>org.eclipse.tracecompass.internal.*:*.test*</excludePackageNames>
33112414
AM
567 </configuration>
568 </plugin>
9541b578 569
d538e443
MAL
570 <plugin>
571 <groupId>org.jboss.tools.tycho-plugins</groupId>
572 <artifactId>repository-utils</artifactId>
be51c6e5 573 <version>0.23.2</version>
d538e443 574 </plugin>
9541b578 575
313697fa
MK
576 <plugin>
577 <groupId>org.codehaus.mojo</groupId>
578 <artifactId>sonar-maven-plugin</artifactId>
1fa799b2 579 <version>2.7.1</version>
313697fa 580 </plugin>
9541b578 581
887cb879 582 <plugin>
9541b578
AM
583 <groupId>org.eclipse.tycho.extras</groupId>
584 <artifactId>tycho-eclipserun-plugin</artifactId>
585 <version>${tycho-extras-version}</version>
586 <configuration>
587 <dependencies>
588 <dependency>
589 <artifactId>org.apache.ant</artifactId>
590 <type>eclipse-plugin</type>
591 </dependency>
592 <dependency>
593 <artifactId>org.eclipse.help.base</artifactId>
594 <type>eclipse-plugin</type>
595 </dependency>
596 <dependency>
597 <artifactId>org.eclipse.ant.core</artifactId>
598 <type>eclipse-plugin</type>
599 </dependency>
600 </dependencies>
601 <!-- This needs to be explicitely set now, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=395281 -->
602 <repositories>
603 <repository>
604 <id>platform</id>
605 <layout>p2</layout>
606 <url>${help-docs-eclipserun-repo}</url>
607 </repository>
608 </repositories>
609 </configuration>
610 <executions>
611 <execution>
612 <goals>
613 <goal>eclipse-run</goal>
614 </goals>
615 <phase>compile</phase>
616 </execution>
617 </executions>
887cb879 618 </plugin>
33112414
AM
619 </plugins>
620 </pluginManagement>
621 </build>
9c0ffa34 622
89882f20 623</project>
This page took 0.094669 seconds and 5 git commands to generate.