forked from ps3mediaserver/ps3mediaserver
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pom.xml
1715 lines (1533 loc) · 59.5 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
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<?xml version="1.0" encoding="UTF-8"?>
<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">
<!--
PMS consists of two major parts: PMS itself and the third party software needed to
run it. While PMS itself is 100% pure Java, some of the third party software is
not. This means building a platform specific distribution boils down to first
building the pms.jar and then assembling all application resources.
Note that Maven 3 does not automatically install all dependencies, unlike Maven 2.
To install all dependencies to your local repository, run the following commands:
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external
To build PMS, do:
mvn clean package
After building, the "target" directory will contain the binary.
To generate a full source code report, do:
mvn site
After generating, the "target/site" directory will contain the reports.
-->
<modelVersion>4.0.0</modelVersion>
<groupId>net.pms</groupId>
<artifactId>pms</artifactId>
<name>PS3 Media Server</name>
<packaging>jar</packaging>
<version>1.90.2-SNAPSHOT</version> <!-- XXX don't forget to update project.version.short below -->
<url>http://www.ps3mediaserver.org/</url>
<inceptionYear>2008</inceptionYear>
<!-- this is not required, but is recommended for plugin version checks -->
<prerequisites>
<maven>2.2.1</maven>
</prerequisites>
<organization>
<name>PS3 Media Server</name>
<url>http://www.ps3mediaserver.org/</url>
</organization>
<licenses>
<license>
<name>GNU General Public License version 2</name>
<url>http://www.gnu.org/licenses/gpl-2.0.txt</url>
<distribution>manual</distribution>
</license>
</licenses>
<description>
PS3 Media Server is a cross-platform DLNA-compliant UPnP Media Server.
Originally written to support the PlayStation 3, PS3 Media Server has been
expanded to support a range of other media renderers, including smartphones,
televisions, music players and more.
</description>
<scm>
<connection>scm:git:git://github.com/ps3mediaserver/ps3mediaserver.git</connection>
<developerConnection>scm:git:[email protected]:ps3mediaserver/ps3mediaserver.git</developerConnection>
<tag>master</tag>
<url>https://github.com/ps3mediaserver/ps3mediaserver</url>
</scm>
<issueManagement>
<system>Google Code</system>
<url>http://code.google.com/p/ps3mediaserver/issues/list</url>
</issueManagement>
<properties>
<!-- NSIS needs a version without "-SNAPSHOT" or "-b1" -->
<!-- FIXME project is reserved for use by Maven: we shouldn't be using it for custom properties -->
<project.version.short>1.90.2</project.version.short>
<!--
XXX we currently need to use an old version of JNA
for Windows builds to work around a bug in
JNA > 3.2.5. See here for more details:
https://code.google.com/p/ps3mediaserver/issues/detail?id=1152
-->
<jna-version-posix>3.4.0</jna-version-posix>
<jna-version-windows>3.2.5</jna-version-windows>
<cuelib-version>1.2.1-2008-06-13</cuelib-version>
<jgoodies-forms-version>1.6.0</jgoodies-forms-version>
<jgoodies-looks-version>2.5.2</jgoodies-looks-version>
<junrar-version>0.7</junrar-version>
<mediautil-version>1.0</mediautil-version>
<xmlwise-version>1.2.11</xmlwise-version>
<slf4j-version>1.7.1</slf4j-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<external-resources.directory>${project.basedir}/src/main/external-resources</external-resources.directory>
<external-resources.transcode-tools.directory>${external-resources.directory}/transcode-tools</external-resources.transcode-tools.directory>
<transcode-tools.download.url>http://downloads.sourceforge.net/project/ps3mediaserver/transcode-tools</transcode-tools.download.url>
<target.transcode-tools.directory>${project.build.directory}/bin</target.transcode-tools.directory>
<transcode-tools.linux.filename>transcode-tools-linux-20130701.tar.gz</transcode-tools.linux.filename>
<transcode-tools.macosx.filename>transcode-tools-osx-20131106.tar.gz</transcode-tools.macosx.filename>
<transcode-tools.windows.x86.filename>transcode-tools-win32-20131116.tar.gz</transcode-tools.windows.x86.filename>
<external-resources.private-jre.directory>${external-resources.directory}/private-jre</external-resources.private-jre.directory>
<!-- JRE archives direct download links: http://stackoverflow.com/a/12266049 -->
<private-jre.windows.x86.filename>jre-7u45-windows-i586.tar.gz</private-jre.windows.x86.filename>
<private-jre.windows.x86.archive-directory-name>jre1.7.0_45</private-jre.windows.x86.archive-directory-name>
<private-jre.windows.x86.download-url>http://javadl.sun.com/webapps/download/AutoDL?BundleId=81820</private-jre.windows.x86.download-url>
<private-jre.windows.x64.filename>jre-7u45-windows-x64.tar.gz</private-jre.windows.x64.filename>
<private-jre.windows.x64.archive-directory-name>jre1.7.0_45</private-jre.windows.x64.archive-directory-name>
<private-jre.windows.x64.download-url>http://javadl.sun.com/webapps/download/AutoDL?BundleId=81822</private-jre.windows.x64.download-url>
<private-jre.macosx.filename>jre-7u45-macosx-x64.gz</private-jre.macosx.filename>
<private-jre.macosx.archive-directory-name>jre1.7.0_45.jre</private-jre.macosx.archive-directory-name>
<!--
The BundleId for the jre-7uXX-macosx-x64.tar.gz is a bit tricky to obtain. Go to
http://www.java.com/en/download/manual.jsp, inspect the link for the .dmg and add 1
to the number contained in its BundleId. Then open the link with the new BundleId
and verify whether the correct file downloads.
-->
<private-jre.macosx.download-url>http://javadl.sun.com/webapps/download/AutoDL?BundleId=81814</private-jre.macosx.download-url>
<target.private-jre.x86.directory>${project.build.directory}/jre</target.private-jre.x86.directory>
<target.private-jre.x64.directory>${project.build.directory}/jre64</target.private-jre.x64.directory>
<private-jre.macosx.directory>${external-resources.transcode-tools.directory}/osx/jre-macosx</private-jre.macosx.directory>
<!-- Windows Service wrapper. -->
<windows-service-wrapper.x86.filename>wrapper-windows-x86-32-3.5.17.zip</windows-service-wrapper.x86.filename>
<windows-service-wrapper.x86.archive-directory-name>wrapper-windows-x86-32-3.5.17</windows-service-wrapper.x86.archive-directory-name>
<windows-service-wrapper.x86.download-url>http://wrapper.tanukisoftware.com/download/3.5.17/wrapper-windows-x86-32-3.5.17.zip</windows-service-wrapper.x86.download-url>
<maven-javadoc-plugin-version>2.9</maven-javadoc-plugin-version>
<git-commit-id-plugin-version>2.1.4</git-commit-id-plugin-version>
<!--
use the Windows makensis.exe for Windows builds unless
the system makensis is explicitly selected via the
system-makensis profile
-->
<makensis-bin>${external-resources.directory}/third-party/nsis/makensis.exe</makensis-bin>
<!--
FIXME: IzPack 5 snapshot availability can be unreliable, causing PMS build errors.
Change to stable version as soon as it becomes available.
-->
<izpack.version>5.0.0-rc1-SNAPSHOT</izpack.version>
<izpack.staging>${project.build.directory}/staging</izpack.staging>
<izpack.installer.app>${project.build.directory}/${project.name} Setup.app</izpack.installer.app>
</properties>
<pluginRepositories>
<pluginRepository>
<id>ossrh</id>
<name>Sonatype OSS Repository</name>
<url>http://oss.sonatype.org/content/groups/public</url>
<layout>default</layout>
</pluginRepository>
<!-- Repository where the izpack-maven-plugin and such live -->
<pluginRepository>
<id>codehaus-releases</id>
<url>https://nexus.codehaus.org/content/repositories/releases</url>
</pluginRepository>
<!-- XXX: This can be removed once IzPack 5 is released -->
<pluginRepository>
<id>codehaus-snapshots</id>
<url>https://nexus.codehaus.org/content/repositories/snapshots</url>
</pluginRepository>
</pluginRepositories>
<repositories>
<!-- Java.net -->
<repository>
<id>java.net</id>
<name>Java.net Repository</name>
<url>http://download.java.net/maven/2/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- netty -->
<repository>
<id>jboss</id>
<url>http://repository.jboss.org/</url>
<releases>
<enabled>false</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- GSON -->
<repository>
<id>google-gson</id>
<name>google-gson</name>
<url>https://google-gson.googlecode.com/svn/mavenrepo/</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- JBoss.org repository -->
<repository>
<id>jboss.releases</id>
<name>JBoss releases</name>
<url>https://repository.jboss.org/nexus/content/repositories/releases/</url>
<releases>
<enabled>true</enabled>
</releases>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
<!-- for jai-imageio-core-standalone, which is used by Thumbnailator -->
<repository>
<releases />
<snapshots>
<enabled>false</enabled>
</snapshots>
<id>mygrid-repository</id>
<name>myGrid Repository</name>
<url>http://www.mygrid.org.uk/maven/repository</url>
</repository>
<!-- Repository where the izpack-maven-plugin and such live -->
<repository>
<id>codehaus-releases</id>
<url>https://nexus.codehaus.org/content/repositories/releases</url>
</repository>
<!-- XXX: This can be removed once IzPack 5 is released -->
<repository>
<id>codehaus-snapshots</id>
<url>https://nexus.codehaus.org/content/repositories/snapshots</url>
</repository>
</repositories>
<dependencies>
<!-- XXX note: the JNA dependency is declared at the profile level -->
<!-- TODO this can be removed when MEncoder is removed -->
<dependency>
<groupId>org.beanshell</groupId>
<artifactId>bsh-core</artifactId>
<version>2.0b4</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
<artifactId>commons-codec</artifactId>
<version>1.7</version>
</dependency>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>3.2.1</version>
</dependency>
<dependency>
<groupId>commons-configuration</groupId>
<artifactId>commons-configuration</artifactId>
<version>1.9</version>
<exclusions>
<!-- no need for commons-logging, as jcl-over-slf4j provides the impl -->
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-httpclient</groupId>
<artifactId>commons-httpclient</artifactId>
<version>3.1</version>
<exclusions>
<!-- no need for commons-logging, as jcl-over-slf4j provides the impl -->
<exclusion>
<artifactId>commons-logging</artifactId>
<groupId>commons-logging</groupId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>commons-io</groupId>
<artifactId>commons-io</artifactId>
<version>2.4</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.1</version>
</dependency>
<dependency>
<groupId>com.h2database</groupId>
<artifactId>h2</artifactId>
<version>1.3.168</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-classic</artifactId>
<version>1.0.7</version>
</dependency>
<dependency>
<groupId>ch.qos.logback</groupId>
<artifactId>logback-core</artifactId>
<version>1.0.7</version>
</dependency>
<dependency>
<groupId>org.apache.sanselan</groupId>
<artifactId>sanselan</artifactId>
<version>0.97-incubator</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
<version>${slf4j-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>jcl-over-slf4j</artifactId>
<version>${slf4j-version}</version>
</dependency>
<dependency>
<groupId>com.google.code.gson</groupId>
<artifactId>gson</artifactId>
<version>2.2.2</version>
</dependency>
<dependency>
<groupId>org.jboss.netty</groupId>
<artifactId>netty</artifactId>
<version>3.2.7.Final</version>
</dependency>
<dependency>
<groupId>net.java.dev.rome</groupId>
<artifactId>rome</artifactId>
<version>1.0.0</version>
</dependency>
<dependency>
<groupId>net.coobird</groupId>
<artifactId>thumbnailator</artifactId>
<version>0.4.4</version>
</dependency>
<!--
this is not used on its own, but rather provides
ImageReader subclasses that make support for additional
formats (e.g. TIFF) available to the ImageIO API, and thus
to Thumbnailator (our built-in image thumbnailer).
XXX be careful upgrading this. this version is redistributable;
other versions may not be:
https://code.google.com/p/thumbnailator/issues/detail?id=32
https://github.com/stain/jai-imageio-core
http://stackoverflow.com/questions/1209583/using-java-advanced-imaging-with-maven
-->
<dependency>
<groupId>net.java.dev.jai-imageio</groupId>
<artifactId>jai-imageio-core-standalone</artifactId>
<version>1.2-pre-dr-b04-2011-07-04</version>
</dependency>
<dependency>
<groupId>org</groupId>
<artifactId>jaudiotagger</artifactId>
<version>2.0.3</version>
</dependency>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>jgoodies-forms</artifactId>
<version>${jgoodies-forms-version}</version>
</dependency>
<dependency>
<groupId>com.jgoodies</groupId>
<artifactId>jgoodies-looks</artifactId>
<version>${jgoodies-looks-version}</version>
</dependency>
<dependency>
<groupId>com.github.junrar</groupId>
<artifactId>junrar</artifactId>
<version>${junrar-version}</version>
</dependency>
<!-- XXX: not Mavenized: https://code.google.com/p/cuelib/ -->
<dependency>
<groupId>jwbroek.cuelib</groupId>
<artifactId>cuelib</artifactId>
<version>${cuelib-version}</version>
</dependency>
<!-- XXX: not Mavenized: http://sourceforge.net/projects/mediachest/ -->
<dependency>
<groupId>mediautil</groupId>
<artifactId>mediautil</artifactId>
<version>${mediautil-version}</version>
</dependency>
<dependency>
<groupId>xmlwise</groupId>
<artifactId>xmlwise</artifactId>
<version>${xmlwise-version}</version>
</dependency>
<dependency>
<groupId>com.googlecode.juniversalchardet</groupId>
<artifactId>juniversalchardet</artifactId>
<version>1.0.3</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.10</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.easytesting</groupId>
<artifactId>fest-assert</artifactId>
<version>1.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>com.floreysoft</groupId>
<artifactId>jmte</artifactId>
<version>3.0</version>
</dependency>
<dependency>
<groupId>org.codehaus.izpack</groupId>
<artifactId>izpack-compiler</artifactId>
<version>${izpack.version}</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<defaultGoal>assembly:assembly</defaultGoal>
<!-- specify how files in src/main/resources are bundled in the target jar -->
<resources>
<!-- 1) package unfiltered resources -->
<resource>
<directory>src/main/resources</directory>
<!--
By default, Maven packages resources in the top-level of the jar e.g.
/example.res
The old PMS ant build packaged them in a "resources" directory
e.g:
/resources/example.res
Currently, we preserve the old destination. If this is ever changed
to the Maven default, a handful of files will need to be changed to
reference "/example.res" rather than "/resources/example.res"
-->
<targetPath>resources</targetPath>
<excludes>
<exclude>project.properties</exclude>
</excludes>
<!-- Avoid inadvertently filtering binaries -->
<filtering>false</filtering>
</resource>
<!-- 2) package filtered resources -->
<resource>
<directory>src/main/resources</directory>
<targetPath>resources</targetPath>
<includes>
<include>project.properties</include>
</includes>
<!-- Filter to replace Maven properties -->
<filtering>true</filtering>
</resource>
<!-- Filter IzPack resources so we can use Maven properties in them -->
<resource>
<directory>src/main/izpack</directory>
<targetPath>${izpack.staging}</targetPath>
<filtering>true</filtering>
<includes>
<include>install.xml</include>
</includes>
</resource>
</resources>
<testResources>
<testResource>
<directory>src/test/resources</directory>
<includes>
<include>project.properties</include>
</includes>
<targetPath>resources</targetPath>
<!-- Enable the use of Maven properties -->
<filtering>true</filtering>
</testResource>
<!--*.srt files to test charset detection-->
<testResource>
<directory>src/test/resources/net/pms/util</directory>
<includes>
<include>*.srt</include>
</includes>
<targetPath>net/pms/util</targetPath>
</testResource>
</testResources>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-resources-plugin</artifactId>
<version>2.6</version>
<configuration>
<nonFilteredFileExtensions>
<nonFilteredFileExtension>srt</nonFilteredFileExtension>
<nonFilteredFileExtension>ssa</nonFilteredFileExtension>
<nonFilteredFileExtension>ass</nonFilteredFileExtension>
</nonFilteredFileExtensions>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<!--
1) Force language because JUnit tests depend on English language strings
2) Use our JNA dependency rather than the system's - fixes
the following error on Linux (Ubuntu 12.04 with system
jna-3.2.7.jar via libjna-java):
There is an incompatible JNA native library installed on this system.
-->
<argLine>-Duser.language=en -Djna.nosys=true -XX:-UseSplitVerifier</argLine> <!-- only one argLine element is processed -->
</configuration>
<version>2.15</version>
</plugin>
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<version>2.4</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.7</version>
</plugin>
<!-- This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself. -->
<plugin>
<groupId>org.eclipse.m2e</groupId>
<artifactId>lifecycle-mapping</artifactId>
<version>1.0.0</version>
<configuration>
<lifecycleMappingMetadata>
<pluginExecutions>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
org.apache.maven.plugins
</groupId>
<artifactId>
maven-antrun-plugin
</artifactId>
<versionRange>
[1.7,)
</versionRange>
<goals>
<goal>run</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
<pluginExecution>
<pluginExecutionFilter>
<groupId>
pl.project13.maven
</groupId>
<artifactId>
git-commit-id-plugin
</artifactId>
<versionRange>
[${git-commit-id-plugin-version},)
</versionRange>
<goals>
<goal>revision</goal>
</goals>
</pluginExecutionFilter>
<action>
<ignore></ignore>
</action>
</pluginExecution>
</pluginExecutions>
</lifecycleMappingMetadata>
</configuration>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<!-- Assemble a jar with dependencies. -->
<plugin>
<artifactId>maven-assembly-plugin</artifactId>
<executions>
<execution>
<id>make-jar-with-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>single</goal>
</goals>
<configuration>
<descriptors>
<descriptor>${project.basedir}/src/main/assembly/jar-with-dependencies.xml</descriptor>
</descriptors>
<archive>
<manifest>
<mainClass>net.pms.PMS</mainClass>
<!--
this is required to make the ImageIo image "plugins" provided by jai-imageio-core-standalone work.
without it, the following exception is thrown when PMS starts:
Configuration error: java.util.ServiceConfigurationError: javax.imageio.spi.ImageInputStreamSpi:
Provider com.sun.media.imageioimpl.stream.ChannelImageInputStreamSpi could not be instantiated:
java.lang.IllegalArgumentException: vendorName == null!
See: https://thierrywasyl.wordpress.com/2009/07/24/jai-how-to-solve-vendorname-null-exception/
-->
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
</execution>
</executions>
</plugin>
<!-- Copy the pms-x.x.x-jar-with-dependencies.jar to pms.jar. -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-antrun-plugin</artifactId>
<executions>
<execution>
<id>copy-jar-with-dependencies-to-pms-jar</id>
<phase>prepare-package</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<copy file="${project.build.directory}/${project.artifactId}-${project.version}-jar-with-dependencies.jar"
tofile="${project.build.directory}/pms.jar"
overwrite="true"
verbose="true" />
<mkdir dir="${izpack.staging}" />
<!-- All dependencies are in the lib directory, no need to also use the jar-with-dependencies -->
<copy file="${project.build.directory}/${project.artifactId}-${project.version}.jar" tofile="${izpack.staging}/lib/pms.jar" overwrite="true" />
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- Copy all application jars to the IzPack staging lib directory -->
<plugin>
<artifactId>maven-dependency-plugin</artifactId>
<executions>
<execution>
<id>copy-pms-dependencies</id>
<phase>prepare-package</phase>
<goals>
<goal>copy-dependencies</goal>
</goals>
<configuration>
<outputDirectory>${izpack.staging}/lib</outputDirectory>
<excludeTransitive>false</excludeTransitive>
<stripVersion>true</stripVersion>
<overWriteReleases>true</overWriteReleases>
<overWriteSnapshots>true</overWriteSnapshots>
<overWriteIfNewer>true</overWriteIfNewer>
<!-- This is a izpack dependency that collides with jmte's "asm" dependency -->
<excludeArtifactIds>asm-all</excludeArtifactIds>
<!-- Exclude tools.jar etc. -->
<!-- excludeScope>system</excludeScope -->
<!-- Exclude the IzPack dependencies -->
<excludeGroupIds>org.codehaus.izpack</excludeGroupIds>
</configuration>
</execution>
</executions>
</plugin>
<!--
Plugin to add git commit information properties.
These are used in the project.properties files.
See: https://github.com/ktoso/maven-git-commit-id-plugin
-->
<plugin>
<groupId>pl.project13.maven</groupId>
<artifactId>git-commit-id-plugin</artifactId>
<version>${git-commit-id-plugin-version}</version>
<executions>
<execution>
<phase>initialize</phase>
<goals>
<goal>revision</goal>
</goals>
</execution>
</executions>
<configuration>
<dateFormat>yyyy-MM-dd</dateFormat>
<verbose>false</verbose>
<generateGitPropertiesFile>false</generateGitPropertiesFile>
</configuration>
</plugin>
<plugin>
<artifactId>maven-compiler-plugin</artifactId>
<version>3.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
<testSource>1.6</testSource>
<testTarget>1.6</testTarget>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<archive>
<manifest>
<addClasspath>true</addClasspath>
<mainClass>net.pms.PMS</mainClass>
<addDefaultImplementationEntries>true</addDefaultImplementationEntries>
</manifest>
</archive>
</configuration>
<executions>
<execution>
<id>create-jar-without-dependencies</id>
<phase>compile</phase>
<goals>
<goal>jar</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<version>2.9</version>
<configuration>
<additionalProjectnatures>
<projectnature>org.springframework.ide.eclipse.core.springnature</projectnature>
</additionalProjectnatures>
<additionalBuildcommands>
<buildcommand>org.springframework.ide.eclipse.core.springbuilder</buildcommand>
</additionalBuildcommands>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<wtpversion>1.5</wtpversion>
</configuration>
</plugin>
<plugin>
<artifactId>maven-idea-plugin</artifactId>
<version>2.2</version>
<configuration>
<downloadSources>true</downloadSources>
<downloadJavadocs>true</downloadJavadocs>
<dependenciesAsLibraries>true</dependenciesAsLibraries>
<useFullNames>false</useFullNames>
</configuration>
</plugin>
<!--
This plugin will take care of installing the external dependencies that do not
exist in a public Maven repository. That is why we store some jar files in the
"src/main/external-resources/lib" directory and have this plugin take care of
the installation at build time.
Note: The plugin does not work automatically in Maven 3. To install the required
dependencies execute the following commands:
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external
mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external
Checksums can be calculated with "openssl sha1 [filename]".
See: http://code.google.com/p/maven-external-dependency-plugin/issues/detail?id=8#c4
-->
<plugin>
<groupId>com.savage7.maven.plugins</groupId>
<artifactId>maven-external-dependency-plugin</artifactId>
<version>0.5</version>
<inherited>false</inherited>
<configuration>
<stagingDirectory>${project.build.directory}/dependencies/</stagingDirectory>
<createChecksum>true</createChecksum>
<skipChecksumVerification>false</skipChecksumVerification>
<force>false</force>
<artifactItems>
<artifactItem>
<groupId>jwbroek.cuelib</groupId>
<artifactId>cuelib</artifactId>
<version>${cuelib-version}</version>
<packaging>jar</packaging>
<downloadUrl>http://cuelib.googlecode.com/files/cuelib-${cuelib-version}.jar</downloadUrl>
<checksum>d03b6b960b3b83a2a419e8b5f07b6ba4bd18387b</checksum>
</artifactItem>
<artifactItem>
<groupId>mediautil</groupId>
<artifactId>mediautil</artifactId>
<version>${mediautil-version}</version>
<packaging>jar</packaging>
<install>true</install>
<force>false</force>
<downloadUrl>http://downloads.sourceforge.net/project/mediachest/MediaUtil/Version%201.0/mediautil-1.zip</downloadUrl>
<checksum>aa7ae51bb24a9268a8e57c6afe478c4293f84fda</checksum>
<extractFile>mediautil-${mediautil-version}/mediautil-${mediautil-version}.jar</extractFile>
<extractFileChecksum>e843cd55def75dce57123c79b7f36caca4841466</extractFileChecksum>
</artifactItem>
</artifactItems>
</configuration>
<executions>
<execution>
<id>clean-external-dependencies</id>
<phase>clean</phase>
<goals>
<!-- mvn com.savage7.maven.plugins:maven-external-dependency-plugin:clean-external -->
<goal>clean-external</goal>
</goals>
</execution>
<execution>
<id>resolve-install-external-dependencies</id>
<!-- Note: this phase works in Maven 2. In Maven 3, it needs to be triggered manually. See above -->
<phase>validate</phase>
<goals>
<!-- mvn com.savage7.maven.plugins:maven-external-dependency-plugin:resolve-external -->
<goal>resolve-external</goal>
<!-- mvn com.savage7.maven.plugins:maven-external-dependency-plugin:install-external -->
<goal>install-external</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-site-plugin</artifactId>
<version>3.1</version>
<dependencies>
<dependency>
<groupId>org.apache.maven.doxia</groupId>
<artifactId>doxia-module-docbook-simple</artifactId>
<version>1.2</version>
</dependency>
</dependencies>
<configuration>
<reportPlugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-project-info-reports-plugin</artifactId>
<version>2.7</version>
<reports>
<report>index</report>
<report>dependencies</report>
<report>dependency-convergence</report>
<report>dependency-management</report>
<report>plugins</report>
</reports>
</plugin>
<!-- PMS tests report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId>
<version>2.15</version>
<configuration>
<showSuccess>false</showSuccess>
</configuration>
</plugin>
<!-- Javadoc -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-javadoc-plugin</artifactId>
<version>${maven-javadoc-plugin-version}</version>
<configuration>
<quiet>true</quiet>
<tags>
<tag>
<name>todo</name>
<placement>a</placement>
<head>To Do:</head>
</tag>
<tag>
<name>review</name>
<placement>a</placement>
<head>Review:</head>
</tag>
</tags>
<detectJavaApiLink>false</detectJavaApiLink>
<links>
<link>http://docs.oracle.com/javase/7/docs/api/</link>
</links>
<!--
Doclet to generate class diagrams inside Javadoc.
Requires the installation of Graphviz (http://www.graphviz.org/)
-->
<doclet>org.jboss.apiviz.APIviz</doclet>
<docletArtifact>
<groupId>org.jboss.apiviz</groupId>
<artifactId>apiviz</artifactId>
<version>1.3.2.GA</version>
</docletArtifact>
<useStandardDocletOptions>true</useStandardDocletOptions>
</configuration>
</plugin>
<!-- Class dependency report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jdepend-maven-plugin</artifactId>
<version>2.0-beta-2</version>
</plugin>
<!-- Findbugs report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>findbugs-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<!-- Checkstyle report will go out of memory because of the huge amount of issues it finds(!)
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<version>2.10</version>
</plugin>
-->
<!-- Cobertura Test Coverage report -->
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId>
<version>2.5.2</version>
</plugin>
<!-- PMD and CPD code analysis report -->
<plugin>
<groupId>org.apache.maven.plugins</groupId>