本着转载必给出原文地址的原则,据说这是原文,但我不是很确定 http://www.blogjava.net/hellxoul/archive/2013/05/16/399345.html
1 <project xmlns="http://maven.apache.org/POM/4.0.0 "
2
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance "
4
5 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd ">
6
7
8
9 <parent>
10
11
12
13 <artifactId/>
14
15
16
17 <groupId/>
18
19
20
21 <version/>
22
23
24
25 <relativePath/>
26
27 parent>
28
29
30
31 <modelVersion>4.0.0modelVersion>
32
33
34
35 <groupId>asia.banseongroupId>
36
37
38
39 <artifactId>banseon-maven2artifactId>
40
41
42
43 <packaging>jarpackaging>
44
45
46
47 <version>1.0-SNAPSHOTversion>
48
49
50
51 <name>banseon-mavenname>
52
53
54
55 <url>http://www.baidu.com/banseonurl>
56
57
58
59 <description>A maven project to study maven.description>
60
61
62
63 <prerequisites>
64
65
66
67 <maven/>
68
69 prerequisites>
70
71
72
73 <issueManagement>
74
75
76
77 <system>jirasystem>
78
79
80
81 <url>http://jira.baidu.com/banseonurl>
82
83 issueManagement>
84
85
86
87 <ciManagement>
88
89
90
91 <system/>
92
93
94
95 <url/>
96
97
98
99 <notifiers>
100
101
102
103 <notifier>
104
105
106
107 <type/>
108
109
110
111 <sendOnError/>
112
113
114
115 <sendOnFailure/>
116
117
118
119 <sendOnSuccess/>
120
121
122
123 <sendOnWarning/>
124
125
126
127 <address/>
128
129
130
131 <configuration/>
132
133 notifier>
134
135 notifiers>
136
137 ciManagement>
138
139
140
141 <inceptionYear/>
142
143
144
145 <mailingLists>
146
147
148
149 <mailingList>
150
151
152
153 <name>Demoname>
154
155
156
157 <post>[email protected]post>
158
159
160
161 <subscribe>[email protected]subscribe>
162
163
164
165 <unsubscribe>[email protected]unsubscribe>
166
167
168
169 <archive>http:/hi.baidu.com/banseon/demo/dev/archive>
170
171 mailingList>
172
173 mailingLists>
174
175
176
177 <developers>
178
179
180
181 <developer>
182
183
184
185 <id>HELLO WORLDid>
186
187
188
189 <name>banseonname>
190
191
192
193 <email>[email protected]email>
194
195
196
197 <url/>
198
199
200
201 <roles>
202
203 <role>Project Managerrole>
204
205 <role>Architectrole>
206
207 roles>
208
209
210
211 <organization>demoorganization>
212
213
214
215 <organizationUrl>http://hi.baidu.com/banseonorganizationUrl>
216
217
218
219 <properties>
220
221 <dept>Nodept>
222
223 properties>
224
225
226
227 <timezone>-5timezone>
228
229 developer>
230
231 developers>
232
233
234
235 <contributors>
236
237
238
239 <contributor>
240
241 <name/><email/><url/><organization/><organizationUrl/><roles/><timezone/><properties/>
242
243 contributor>
244
245 contributors>
246
247
248
249 <licenses>
250
251
252
253 <license>
254
255
256
257 <name>Apache 2name>
258
259
260
261 <url>http://www.baidu.com/banseon/LICENSE-2.0.txturl>
262
263
268
269 <distribution>repodistribution>
270
271
272
273 <comments>A business-friendly OSS licensecomments>
274
275 license>
276
277 licenses>
278
279
280
281 <scm>
282
283
284
285 <connection>
286
287 scm:svn:http://svn.baidu.com/banseon/maven/banseon/banseon-maven2-trunk(dao-trunk)
288
289 connection>
290
291
292
293 <developerConnection>
294
295 scm:svn:http://svn.baidu.com/banseon/maven/banseon/dao-trunk
296
297 developerConnection>
298
299
300
301 <tag/>
302
303
304
305 <url>http://svn.baidu.com/banseonurl>
306
307 scm>
308
309
310
311 <organization>
312
313
314
315 <name>demoname>
316
317
318
319 <url>http://www.baidu.com/banseonurl>
320
321 organization>
322
323
324
325 <build>
326
327
328
329 <sourceDirectory/>
330
331
332
333 <scriptSourceDirectory/>
334
335
336
337 <testSourceDirectory/>
338
339
340
341 <outputDirectory/>
342
343
344
345 <testOutputDirectory/>
346
347
348
349 <extensions>
350
351
352
353 <extension>
354
355
356
357 <groupId/>
358
359
360
361 <artifactId/>
362
363
364
365 <version/>
366
367 extension>
368
369 extensions>
370
371
372
373 <defaultGoal/>
374
375
376
377 <resources>
378
379
380
381 <resource>
382
383
384
385 <targetPath/>
386
387
388
389 <filtering/>
390
391
392
393 <directory/>
394
395
396
397 <includes/>
398
399
400
401 <excludes/>
402
403 resource>
404
405 resources>
406
407
408
409 <testResources>
410
411
412
413 <testResource>
414
415 <targetPath/><filtering/><directory/><includes/><excludes/>
416
417 testResource>
418
419 testResources>
420
421
422
423 <directory/>
424
425
426
427 <finalName/>
428
429
430
431 <filters/>
432
433
434
435 <pluginManagement>
436
437
438
439 <plugins>
440
441
442
443 <plugin>
444
445
446
447 <groupId/>
448
449
450
451 <artifactId/>
452
453
454
455 <version/>
456
457
458
459 <extensions/>
460
461
462
463 <executions>
464
465
466
467 <execution>
468
469
470
471 <id/>
472
473
474
475 <phase/>
476
477
478
479 <goals/>
480
481
482
483 <inherited/>
484
485
486
487 <configuration/>
488
489 execution>
490
491 executions>
492
493
494
495 <dependencies>
496
497
498
499 <dependency>
500
501
502
503 dependency>
504
505 dependencies>
506
507
508
509 <inherited/>
510
511
512
513 <configuration/>
514
515 plugin>
516
517 plugins>
518
519 pluginManagement>
520
521
522
523 <plugins>
524
525
526
527 <plugin>
528
529 <groupId/><artifactId/><version/><extensions/>
530
531 <executions>
532
533 <execution>
534
535 <id/><phase/><goals/><inherited/><configuration/>
536
537 execution>
538
539 executions>
540
541 <dependencies>
542
543
544
545 <dependency>
546
547
548
549 dependency>
550
551 dependencies>
552
553 <goals/><inherited/><configuration/>
554
555 plugin>
556
557 plugins>
558
559 build>
560
561
562
563 <profiles>
564
565
566
567 <profile>
568
569
570
571 <id/>
572
573
576
577 <activation>
578
579
580
581 <activeByDefault/>
582
583
584
585 <jdk/>
586
587
588
589 <os>
590
591
592
593 <name>Windows XPname>
594
595
596
597 <family>Windowsfamily>
598
599
600
601 <arch>x86arch>
602
603
604
605 <version>5.1.2600version>
606
607 os>
608
609
612
613 <property>
614
615
616
617 <name>mavenVersionname>
618
619
620
621 <value>2.0.3value>
622
623 property>
624
625
628
629 <file>
630
631
632
633 <exists>/usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/exists>
634
635
636
637 <missing>/usr/local/hudson/hudson-home/jobs/maven-guide-zh-to-production/workspace/missing>
638
639 file>
640
641 activation>
642
643
644
645 <build>
646
647 <defaultGoal/>
648
649 <resources>
650
651 <resource>
652
653 <targetPath/><filtering/><directory/><includes/><excludes/>
654
655 resource>
656
657 resources>
658
659 <testResources>
660
661 <testResource>
662
663 <targetPath/><filtering/><directory/><includes/><excludes/>
664
665 testResource>
666
667 testResources>
668
669 <directory/><finalName/><filters/>
670
671 <pluginManagement>
672
673 <plugins>
674
675
676
677 <plugin>
678
679 <groupId/><artifactId/><version/><extensions/>
680
681 <executions>
682
683 <execution>
684
685 <id/><phase/><goals/><inherited/><configuration/>
686
687 execution>
688
689 executions>
690
691 <dependencies>
692
693
694
695 <dependency>
696
697
698
699 dependency>
700
701 dependencies>
702
703 <goals/><inherited/><configuration/>
704
705 plugin>
706
707 plugins>
708
709 pluginManagement>
710
711 <plugins>
712
713
714
715 <plugin>
716
717 <groupId/><artifactId/><version/><extensions/>
718
719 <executions>
720
721 <execution>
722
723 <id/><phase/><goals/><inherited/><configuration/>
724
725 execution>
726
727 executions>
728
729 <dependencies>
730
731
732
733 <dependency>
734
735
736
737 dependency>
738
739 dependencies>
740
741 <goals/><inherited/><configuration/>
742
743 plugin>
744
745 plugins>
746
747 build>
748
749
750
751 <modules/>
752
753
754
755 <repositories>
756
757
758
759 <repository>
760
761 <releases>
762
763 <enabled/><updatePolicy/><checksumPolicy/>
764
765 releases>
766
767 <snapshots>
768
769 <enabled/><updatePolicy/><checksumPolicy/>
770
771 snapshots>
772
773 <id/><name/><url/><layout/>
774
775 repository>
776
777 repositories>
778
779
780
781 <pluginRepositories>
782
783
784
785 <pluginRepository>
786
787 <releases>
788
789 <enabled/><updatePolicy/><checksumPolicy/>
790
791 releases>
792
793 <snapshots>
794
795 <enabled/><updatePolicy/><checksumPolicy/>
796
797 snapshots>
798
799 <id/><name/><url/><layout/>
800
801 pluginRepository>
802
803 pluginRepositories>
804
805
806
807 <dependencies>
808
809
810
811 <dependency>
812
813
814
815 dependency>
816
817 dependencies>
818
819
820
821 <reports/>
822
823
824
825 <reporting>
826
827
828
829 reporting>
830
831
832
833 <dependencyManagement>
834
835 <dependencies>
836
837
838
839 <dependency>
840
841
842
843 dependency>
844
845 dependencies>
846
847 dependencyManagement>
848
849
850
851 <distributionManagement>
852
853
854
855 distributionManagement>
856
857
858
859 <properties/>
860
861 profile>
862
863 profiles>
864
865
866
867 <modules/>
868
869
870
871 <repositories>
872
873
874
875 <repository>
876
877
878
879 <releases>
880
881
882
883 <enabled/>
884
885
886
887 <updatePolicy/>
888
889
890
891 <checksumPolicy/>
892
893 releases>
894
895
896
897 <snapshots>
898
899 <enabled/><updatePolicy/><checksumPolicy/>
900
901 snapshots>
902
903
904
905 <id>banseon-repository-proxyid>
906
907
908
909 <name>banseon-repository-proxyname>
910
911
912
913 <url>http://192.168.1.169:9999/repository/url>
914
915
916
917 <layout>defaultlayout>
918
919 repository>
920
921 repositories>
922
923
924
925 <pluginRepositories>
926
927
928
929 <pluginRepository>
930
931
932
933 pluginRepository>
934
935 pluginRepositories>
936
937
938
939
940
941 <dependencies>
942
943 <dependency>
944
945
946
947 <groupId>org.apache.mavengroupId>
948
949
950
951 <artifactId>maven-artifactartifactId>
952
953
954
955 <version>3.8.1version>
956
957
958
959 <type>jartype>
960
961
962
963 <classifier>classifier>
964
965
980
981 <scope>testscope>
982
983
984
985 <systemPath>systemPath>
986
987
988
989 <exclusions>
990
991 <exclusion>
992
993 <artifactId>spring-coreartifactId>
994
995 <groupId>org.springframeworkgroupId>
996
997 exclusion>
998
999 exclusions>
1000
1001
1002
1003 <optional>trueoptional>
1004
1005 dependency>
1006
1007 dependencies>
1008
1009
1010
1011 <reports>reports>
1012
1013
1014
1015 <reporting>
1016
1017
1018
1019 <excludeDefaults/>
1020
1021
1022
1023 <outputDirectory/>
1024
1025
1026
1027 <plugins>
1028
1029
1030
1031 <plugin>
1032
1033
1034
1035 <groupId/>
1036
1037
1038
1039 <artifactId/>
1040
1041
1042
1043 <version/>
1044
1045
1046
1047 <inherited/>
1048
1049
1050
1051 <configuration/>
1052
1053
1054
1055 <reportSets>
1056
1057
1058
1059 <reportSet>
1060
1061
1062
1063 <id/>
1064
1065
1066
1067 <configuration/>
1068
1069
1070
1071 <inherited/>
1072
1073
1074
1075 <reports/>
1076
1077 reportSet>
1078
1079 reportSets>
1080
1081 plugin>
1082
1083 plugins>
1084
1085 reporting>
1086
1087
1088
1089 <dependencyManagement>
1090
1091 <dependencies>
1092
1093
1094
1095 <dependency>
1096
1097
1098
1099 dependency>
1100
1101 dependencies>
1102
1103 dependencyManagement>
1104
1105
1106
1107 <distributionManagement>
1108
1109
1110
1111 <repository>
1112
1113
1114
1115 <uniqueVersion/>
1116
1117 <id>banseon-maven2id>
1118
1119 <name>banseon maven2name>
1120
1121 <url>file://${basedir}/target/deployurl>
1122
1123 <layout/>
1124
1125 repository>
1126
1127
1128
1129 <snapshotRepository>
1130
1131 <uniqueVersion/>
1132
1133 <id>banseon-maven2id>
1134
1135 <name>Banseon-maven2 Snapshot Repositoryname>
1136
1137 <url>scp://svn.baidu.com/banseon:/usr/local/maven-snapshoturl>
1138
1139 <layout/>
1140
1141 snapshotRepository>
1142
1143
1144
1145 <site>
1146
1147
1148
1149 <id>banseon-siteid>
1150
1151
1152
1153 <name>business api websitename>
1154
1155
1156
1157 <url>
1158
1159 scp://svn.baidu.com/banseon:/var/www/localhost/banseon-web
1160
1161 url>
1162
1163 site>
1164
1165
1166
1167 <downloadUrl/>
1168
1169
1170
1171 <relocation>
1172
1173
1174
1175 <groupId/>
1176
1177
1178
1179 <artifactId/>
1180
1181
1182
1183 <version/>
1184
1185
1186
1187 <message/>
1188
1189 relocation>
1190
1191
1192
1193 <status/>
1194
1195 distributionManagement>
1196
1197
1198
1199 <properties/>
1200
1201 project>