-
Notifications
You must be signed in to change notification settings - Fork 14
/
Copy pathpom.xml
398 lines (380 loc) · 12.8 KB
/
pom.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>org.diyefi.openlogviewer</groupId>
<artifactId>OpenLogViewer</artifactId>
<packaging>jar</packaging>
<version>0.0.3-SNAPSHOT</version>
<name>OpenLogViewer</name>
<url>http://olv.diyefi.org</url>
<organization>
<name>DIYEFI.org</name>
<url>http://www.diyefi.org</url>
</organization>
<!-- Must be one line, or need to post-process to use effectively. -->
<description>OpenLogViewer is a free, open source, cross-platform data-log visualisation application that currently supports many CSV data-log formats (including MegaSquirt style), and FreeEMS binary data-logs. OpenLogViewer is currently in its infancy. While in the future it will be amazing, right now it has all of the basics that you need.</description>
<issueManagement>
<system>MantisBT</system>
<url>http://issues.freeems.org</url>
</issueManagement>
<scm>
<connection>scm:git:git://github.com/FreeEMS/OpenLogViewer.git</connection>
<url>https://github.com/FreeEMS/OpenLogViewer</url><!-- Browse to here and clone to get your own repo! -->
<developerConnection>scm:git:git@github.com:FreeEMS/OpenLogViewer.git</developerConnection>
</scm>
<distributionManagement>
<downloadUrl>http://mvn.diyefi.org/nexus/content/repositories/releases/org/diyefi/openlogviewer/OpenLogViewer/</downloadUrl>
<repository>
<id>freeemsreleases</id>
<url>http://mvn.diyefi.org/nexus/content/repositories/releases</url>
</repository>
<snapshotRepository>
<id>freeemssnapshots</id>
<url>http://mvn.diyefi.org/nexus/content/repositories/snapshots</url>
</snapshotRepository>
<site>
<id>olvsite</id>
<name>OLV Website</name>
<url>scp://raptor:443/home/olv/site/releases/${project.version}/</url>
</site>
</distributionManagement>
<licenses>
<license>
<name>GPL V3</name>
<distribution>manual</distribution>
<comments>You're free to download and use OpenLogViewer for any purpose, including
viewing MegaSquirt logs as a free alternative to MegaLogViewer (MLV)</comments>
</license>
</licenses>
<developers>
<developer>
<id>Gufi</id>
<name>Bryan Harris</name>
<roles>
<role>Founder</role>
<role>Hacker</role>
</roles>
</developer>
<developer>
<id>Fred</id>
<name>Fred Cooke</name>
<roles>
<role>FreeEMS Plugin</role>
<role>Quality Control</role>
</roles>
</developer>
<developer>
<id>BenFenner</id>
<name>Ben Fenner</name>
<roles>
<role>User Interface</role>
<role>Refactoring</role>
</roles>
</developer>
</developers>
<contributors>
<contributor>
<name>Preston Saunders</name>
</contributor>
</contributors>
<properties>
<java.version>1.8</java.version>
<project.initial.heap>-Xms128m</project.initial.heap>
<project.maximum.heap>-Xmx1024m</project.maximum.heap>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.forum.url>http://forum.diyefi.org/viewforum.php?f=32</project.forum.url>
<project.issues.url>http://issues.freeems.org</project.issues.url>
</properties>
<reporting>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId>
<version>2.5</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.9</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.17</version>
<configuration>
<configLocation>src/site/fredsChecks.xml</configLocation>
</configuration>
<reportSets>
<reportSet>
<reports>
<report>checkstyle</report>
</reports>
</reportSet>
</reportSets>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<effort>Max</effort> <!-- Default is low. -->
<threshold>Low</threshold> <!-- Default is medium. -->
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId>
<version>3.6</version>
<configuration>
<minimumTokens>20</minimumTokens>
<targetJdk>1.6</targetJdk>
<rulesets> <!-- 2.7.1 uses 4.3 which has less rulesets than 5.0 http://pmd.sourceforge.net/pmd-4.3/rules/index.html -->
<!-- basic, unusedcode and imports are run by default but not if others are explicitly defined -->
<!-- Customise by copying ruleset.xml files from 4.3 release and removing unwanted rules. -->
<ruleset>/rulesets/java/basic.xml</ruleset>
<ruleset>/rulesets/java/braces.xml</ruleset>
<ruleset>/rulesets/java/clone.xml</ruleset>
<ruleset>/rulesets/java/codesize.xml</ruleset>
<!-- ruleset>/rulesets/comments.xml</ruleset> <!- Not included in 4.3! Available in 5.0 -->
<ruleset>${project.basedir}/src/site/pmd/rulesets/controversial.xml</ruleset> <!-- Customise by removing various stupid rules! -->
<ruleset>${project.basedir}/src/site/pmd/rulesets/coupling.xml</ruleset> <!-- Some require config, so they've been removed! -->
<ruleset>${project.basedir}/src/site/pmd/rulesets/design.xml</ruleset> <!-- Customise by removing ConfusingTernary test! -->
<!-- ruleset>/rulesets/empty.xml</ruleset> <!- Not included in 4.3! Available in 5.0 -->
<ruleset>/rulesets/java/finalizers.xml</ruleset>
<ruleset>/rulesets/java/imports.xml</ruleset>
<!-- ruleset>/rulesets/javabeans.xml</ruleset <!- Transient requirement is too aggressive. UID is handled in another plugin. -->
<ruleset>/rulesets/java/junit.xml</ruleset>
<!-- ruleset>/rulesets/naming.xml</ruleset Too aggressive! -->
<ruleset>/rulesets/java/optimizations.xml</ruleset>
<ruleset>/rulesets/java/sunsecure.xml</ruleset>
<ruleset>/rulesets/java/strictexception.xml</ruleset>
<ruleset>/rulesets/java/strings.xml</ruleset>
<ruleset>/rulesets/java/typeresolution.xml</ruleset>
<!-- ruleset>/rulesets/unnecessary.xml</ruleset> <!- Not included in 4.3! Available in 5.0 -->
<ruleset>/rulesets/java/unusedcode.xml</ruleset>
</rulesets>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>2.10.4</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.7</version>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>javancss-maven-plugin</artifactId>
<version>2.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.19.1</version>
</plugin>
</plugins>
</reporting>
<build>
<defaultGoal>install exec:exec</defaultGoal>
<resources>
<resource>
<filtering>false</filtering>
<directory>src/main/resources</directory>
<includes>
<include>**/*</include>
</includes>
</resource>
<resource>
<filtering>true</filtering>
<directory>src/main/resources/build/</directory>
<targetPath>build</targetPath>
<includes>
<include>buildInfo.xml</include>
</includes>
</resource>
</resources>
<plugins>
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>2.2.1</version>
<executions>
<execution>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<gitDescribe>
<skip>false</skip>
<always>true</always>
<abbrev>7</abbrev>
<dirty>-DEV</dirty>
<forceLongFormat>false</forceLongFormat>
</gitDescribe>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<version>1.4.1</version>
<executions>
<execution>
<phase>validate</phase>
<id>enforce-versions</id>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<requireMavenVersion>
<version>[3.3.9,)</version>
</requireMavenVersion>
<requireJavaVersion>
<version>[1.8,)</version>
</requireJavaVersion>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.5.1</version>
<configuration>
<source>${java.version}</source>
<target>${java.version}</target>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>exec-maven-plugin</artifactId>
<version>1.5.0</version>
<executions>
</executions>
<configuration>
<executable>java</executable>
<arguments>
<argument>${project.initial.heap}</argument>
<argument>${project.maximum.heap}</argument>
<!-- <argument>-Xdock:name=${project.artifactId}</argument> -->
<argument>-jar</argument>
<argument>${project.basedir}/target/${project.artifactId}-${project.version}-bin.jar</argument>
</arguments>
</configuration>
</plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>build-helper-maven-plugin</artifactId>
<version>1.12</version>
<executions>
<execution>
<id>maven-version</id>
<goals>
<goal>maven-version</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.6</version>
<executions>
<execution>
<id>bin</id>
<phase>package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>src/main/assembly/runnable.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>${project.groupId}.${project.artifactId}</mainClass>
</manifest>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>3.0.2</version>
<configuration>
<archive>
<manifest>
<mainClass>${project.groupId}.${project.artifactId}</mainClass>
</manifest>
</archive>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.5.1</version><!--
<configuration> This format is currently broken, use the old style.
<reportPlugins>
</reportPlugins>
</configuration>
--></plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<version>2.5.3</version>
<configuration>
<tagNameFormat>@{project.version}</tagNameFormat>
</configuration>
</plugin>
</plugins>
<extensions>
<extension>
<groupId>org.apache.maven.wagon</groupId>
<artifactId>wagon-ssh</artifactId>
<version>2.10</version>
</extension>
</extensions>
</build>
<dependencies>
<!-- Dirty hack to help the noobs. Dependency verification occurs before validate phase plugins run. -->
<!-- No longer resolves OK with 3.3.9, I guess the version is unacceptable, and I CBF putting a new dodgy dep into the repo, so the check can go bye bye... <dependency>
<groupId>org.diyefi.test.YouRequireSettingsXmlInYourHomeM2Directory</groupId>
<artifactId>Please.Install.settings.xml.From.The.Project.Directory</artifactId>
<version>Artifacts.Are.Required.From.The.Repository.That.It.Points.At</version>
<scope>test</scope>
</dependency>-->
<!-- Test dependencies -->
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.12</version>
<scope>test</scope>
</dependency>
<!-- Runtime dependencies -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<!-- DIYEFI.org repo dependencies. The following dependencies requires the included settings.xml file be installed -->
<!-- To allow the app to compile with Mac behaviour on non-Mac machines -->
<dependency>
<groupId>com.apple.eawt</groupId>
<artifactId>ui</artifactId>
<version>1.6.0_24</version>
<!-- No maven scope allows compile ONLY, so must be excluded from builds. -->
</dependency>
</dependencies>
</project>