-
Notifications
You must be signed in to change notification settings - Fork 0
/
compatibility.html
673 lines (496 loc) · 26.2 KB
/
compatibility.html
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
<!DOCTYPE html>
<!--
| Generated by Apache Maven Doxia at 2016-04-26
| Rendered using Apache Maven Fluido Skin 1.3.1
-->
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="Date-Revision-yyyymmdd" content="20160426" />
<meta http-equiv="Content-Language" content="en" />
<title>nar-maven-plugin - NAR Plugin</title>
<link rel="stylesheet" href="./css/apache-maven-fluido-1.3.1.min.css" />
<link rel="stylesheet" href="./css/site.css" />
<link rel="stylesheet" href="./css/print.css" media="print" />
<script type="text/javascript" src="./js/apache-maven-fluido-1.3.1.min.js"></script>
<script src="http://www.google-analytics.com/urchin.js" type="text/javascript"></script>
<script type="text/javascript">_uacct = "UA-140879-1";
urchinTracker();</script>
</head>
<body class="topBarEnabled">
<a href="http://github.com/maven-nar/nar-maven-plugin">
<img style="position: absolute; top: 0; right: 0; border: 0; z-index: 10000;"
src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png"
alt="Fork me on GitHub">
</a>
<div id="topbar" class="navbar navbar-fixed-top ">
<div class="navbar-inner">
<div class="container-fluid">
<a data-target=".nav-collapse" data-toggle="collapse" class="btn btn-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</a>
<a class="brand" href="index.html" title="NAR plugin for Maven">
<img src="images/nar-banner.png" alt="NAR plugin for Maven" />
</a>
<ul class="nav">
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Overview <b class="caret"></b></a>
<ul class="dropdown-menu">
<li> <a href="index.html" title="Introduction">Introduction</a>
</li>
<li> <a href="philosophy.html" title="Philosophy">Philosophy</a>
</li>
<li> <a href="NARPlugin.ppt" title="Presentation (ppt)">Presentation (ppt)</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">User Info <b class="caret"></b></a>
<ul class="dropdown-menu">
<li> <a href="plugin-info.html" title="Goals">Goals</a>
</li>
<li> <a href="usage.html" title="Usage">Usage</a>
</li>
<li> <a href="lifecycle.html" title="Lifecycle">Lifecycle</a>
</li>
<li> <a href="configuration.html" title="Configuration">Configuration</a>
</li>
<li> <a href="https://github.com/maven-nar/nar-maven-plugin/wiki/Frequently_Asked_Questions" title="FAQ">FAQ</a>
</li>
<li> <a href="aol.html" title="AOL Properties">AOL Properties</a>
</li>
<li> <a href="examples.html" title="Examples">Examples</a>
</li>
<li> <a href="archetypes.html" title="Archetypes">Archetypes</a>
</li>
<li> <a href="properties.html" title="Properties">Properties</a>
</li>
<li> <a href="compatibility.html" title="Compatibility">Compatibility</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Developer Info <b class="caret"></b></a>
<ul class="dropdown-menu">
<li> <a href="narDependencies.html" title="NAR Dependencies">NAR Dependencies</a>
</li>
<li> <a href="https://github.com/maven-nar/nar-maven-plugin/issues" title="Bug Reports">Bug Reports</a>
</li>
<li> <a href="https://groups.google.com/forum/?fromgroups#!forum/maven-nar" title="Forum">Forum</a>
</li>
<li> <a href="apidocs/index.html" title="APIDocs">APIDocs</a>
</li>
<li> <a href="narLibrary.html" title="NAR Library">NAR Library</a>
</li>
<li> <a href="cpptasks.html" title="CPPTasks">CPPTasks</a>
</li>
<li> <a href="https://github.com/maven-nar/nar-maven-plugin" title="Git Browse nar-plugin">Git Browse nar-plugin</a>
</li>
<li> <a href="source-repository.html" title="Git Repository">Git Repository</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Project Documentation <b class="caret"></b></a>
<ul class="dropdown-menu">
<li class="dropdown-submenu">
<a href="project-info.html" title="Project Information">Project Information</a>
<ul class="dropdown-menu">
<li> <a href="index.html" title="About">About</a>
</li>
<li> <a href="project-summary.html" title="Project Summary">Project Summary</a>
</li>
<li> <a href="dependency-info.html" title="Dependency Information">Dependency Information</a>
</li>
<li> <a href="license.html" title="Project License">Project License</a>
</li>
<li> <a href="team-list.html" title="Project Team">Project Team</a>
</li>
<li> <a href="source-repository.html" title="Source Repository">Source Repository</a>
</li>
<li> <a href="issue-tracking.html" title="Issue Tracking">Issue Tracking</a>
</li>
<li> <a href="mail-lists.html" title="Mailing Lists">Mailing Lists</a>
</li>
<li> <a href="dependency-management.html" title="Dependency Management">Dependency Management</a>
</li>
<li> <a href="dependencies.html" title="Dependencies">Dependencies</a>
</li>
<li> <a href="integration.html" title="Continuous Integration">Continuous Integration</a>
</li>
<li> <a href="plugin-management.html" title="Plugin Management">Plugin Management</a>
</li>
<li> <a href="plugins.html" title="Project Plugins">Project Plugins</a>
</li>
<li> <a href="distribution-management.html" title="Distribution Management">Distribution Management</a>
</li>
</ul>
</li>
<li class="dropdown-submenu">
<a href="project-reports.html" title="Project Reports">Project Reports</a>
<ul class="dropdown-menu">
<li> <a href="plugin-info.html" title="Plugin Documentation">Plugin Documentation</a>
</li>
<li> <a href="testapidocs/index.html" title="Test JavaDocs">Test JavaDocs</a>
</li>
<li> <a href="apidocs/index.html" title="JavaDocs">JavaDocs</a>
</li>
<li> <a href="xref-test/index.html" title="Test Source Xref">Test Source Xref</a>
</li>
<li> <a href="xref/index.html" title="Source Xref">Source Xref</a>
</li>
</ul>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Maven Projects <b class="caret"></b></a>
<ul class="dropdown-menu">
<li> <a href="http://maven.apache.org/ant-tasks/index.html" title="Ant Tasks">Ant Tasks</a>
</li>
<li> <a href="http://maven.apache.org/archetype/index.html" title="Archetype">Archetype</a>
</li>
<li> <a href="http://maven.apache.org/doxia/index.html" title="Doxia">Doxia</a>
</li>
<li> <a href="http://maven.apache.org/jxr/index.html" title="JXR">JXR</a>
</li>
<li> <a href="http://maven.apache.org/maven-1.x/index.html" title="Maven 1.x">Maven 1.x</a>
</li>
<li> <a href="http://maven.apache.org/index.html" title="Maven 2 & 3">Maven 2 & 3</a>
</li>
<li> <a href="http://maven.apache.org/pom/index.html" title="Parent POMs">Parent POMs</a>
</li>
<li> <a href="http://maven.apache.org/plugins/index.html" title="Plugins">Plugins</a>
</li>
<li> <a href="http://maven.apache.org/plugin-tools/index.html" title="Plugin Tools">Plugin Tools</a>
</li>
<li> <a href="http://maven.apache.org/scm/index.html" title="SCM">SCM</a>
</li>
<li> <a href="http://maven.apache.org/shared/index.html" title="Shared Components">Shared Components</a>
</li>
<li> <a href="http://maven.apache.org/skins/index.html" title="Skins">Skins</a>
</li>
<li> <a href="http://maven.apache.org/surefire/index.html" title="Surefire">Surefire</a>
</li>
<li> <a href="http://maven.apache.org/wagon/index.html" title="Wagon">Wagon</a>
</li>
</ul>
</li>
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">ASF <b class="caret"></b></a>
<ul class="dropdown-menu">
<li> <a href="http://www.apache.org/foundation/how-it-works.html" title="How Apache Works">How Apache Works</a>
</li>
<li> <a href="http://www.apache.org/foundation/" title="Foundation">Foundation</a>
</li>
<li> <a href="http://www.apache.org/foundation/sponsorship.html" title="Sponsoring Apache">Sponsoring Apache</a>
</li>
<li> <a href="http://www.apache.org/foundation/thanks.html" title="Thanks">Thanks</a>
</li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="container-fluid">
<div id="banner">
<div class="pull-left">
<div id="bannerLeft">
<h2>$banner.name</h2>
</div>
</div>
<div class="pull-right"> <div id="bannerRight">
<h2>$banner.name</h2>
</div>
</div>
<div class="clear"><hr/></div>
</div>
<div id="breadcrumbs">
<ul class="breadcrumb">
<li class="">
<a href="http://www.apache.org/" class="externalLink" title="Apache">
Apache</a>
<span class="divider">/</span>
</li>
<li class="">
<a href="http://maven.apache.org/index.html" class="externalLink" title="Maven">
Maven</a>
<span class="divider">/</span>
</li>
<li class="">
<a href="http://maven.apache.org/plugins/index.html" class="externalLink" title="Plugins">
Plugins</a>
<span class="divider">/</span>
</li>
<li class="">
<a href="https://maven-nar.github.com/" class="externalLink" title="NAR plugin">
NAR plugin</a>
<span class="divider">/</span>
</li>
<li class="active ">NAR Plugin</li>
<li id="publishDate" class="pull-right"><span class="divider">|</span> Last Published: 2016-04-26</li>
<li id="projectVersion" class="pull-right">
Version: 3.4.1-SNAPSHOT
</li>
</ul>
</div>
<div class="row-fluid">
<div id="leftColumn" class="span3">
<div class="well sidebar-nav">
<ul class="nav nav-list">
<li class="nav-header">Overview</li>
<li>
<a href="index.html" title="Introduction">
<i class="none"></i>
Introduction</a>
</li>
<li>
<a href="philosophy.html" title="Philosophy">
<i class="none"></i>
Philosophy</a>
</li>
<li>
<a href="NARPlugin.ppt" title="Presentation (ppt)">
<i class="none"></i>
Presentation (ppt)</a>
</li>
<li class="nav-header">User Info</li>
<li>
<a href="plugin-info.html" title="Goals">
<i class="none"></i>
Goals</a>
</li>
<li>
<a href="usage.html" title="Usage">
<i class="none"></i>
Usage</a>
</li>
<li>
<a href="lifecycle.html" title="Lifecycle">
<i class="none"></i>
Lifecycle</a>
</li>
<li>
<a href="configuration.html" title="Configuration">
<i class="none"></i>
Configuration</a>
</li>
<li>
<a href="https://github.com/maven-nar/nar-maven-plugin/wiki/Frequently_Asked_Questions" class="externalLink" title="FAQ">
<i class="none"></i>
FAQ</a>
</li>
<li>
<a href="aol.html" title="AOL Properties">
<i class="none"></i>
AOL Properties</a>
</li>
<li>
<a href="examples.html" title="Examples">
<i class="none"></i>
Examples</a>
</li>
<li>
<a href="archetypes.html" title="Archetypes">
<i class="none"></i>
Archetypes</a>
</li>
<li>
<a href="properties.html" title="Properties">
<i class="none"></i>
Properties</a>
</li>
<li class="active">
<a href="#"><i class="none"></i>Compatibility</a>
</li>
<li class="nav-header">Developer Info</li>
<li>
<a href="narDependencies.html" title="NAR Dependencies">
<i class="none"></i>
NAR Dependencies</a>
</li>
<li>
<a href="https://github.com/maven-nar/nar-maven-plugin/issues" class="externalLink" title="Bug Reports">
<i class="none"></i>
Bug Reports</a>
</li>
<li>
<a href="https://groups.google.com/forum/?fromgroups#!forum/maven-nar" class="externalLink" title="Forum">
<i class="none"></i>
Forum</a>
</li>
<li>
<a href="apidocs/index.html" title="APIDocs">
<i class="none"></i>
APIDocs</a>
</li>
<li>
<a href="narLibrary.html" title="NAR Library">
<i class="none"></i>
NAR Library</a>
</li>
<li>
<a href="cpptasks.html" title="CPPTasks">
<i class="none"></i>
CPPTasks</a>
</li>
<li>
<a href="https://github.com/maven-nar/nar-maven-plugin" class="externalLink" title="Git Browse nar-plugin">
<i class="none"></i>
Git Browse nar-plugin</a>
</li>
<li>
<a href="source-repository.html" title="Git Repository">
<i class="none"></i>
Git Repository</a>
</li>
<li class="nav-header">Project Documentation</li>
<li>
<a href="project-info.html" title="Project Information">
<i class="icon-chevron-right"></i>
Project Information</a>
</li>
<li>
<a href="project-reports.html" title="Project Reports">
<i class="icon-chevron-right"></i>
Project Reports</a>
</li>
<li class="nav-header">Maven Projects</li>
<li>
<a href="http://maven.apache.org/ant-tasks/index.html" class="externalLink" title="Ant Tasks">
<i class="none"></i>
Ant Tasks</a>
</li>
<li>
<a href="http://maven.apache.org/archetype/index.html" class="externalLink" title="Archetype">
<i class="none"></i>
Archetype</a>
</li>
<li>
<a href="http://maven.apache.org/doxia/index.html" class="externalLink" title="Doxia">
<i class="none"></i>
Doxia</a>
</li>
<li>
<a href="http://maven.apache.org/jxr/index.html" class="externalLink" title="JXR">
<i class="none"></i>
JXR</a>
</li>
<li>
<a href="http://maven.apache.org/maven-1.x/index.html" class="externalLink" title="Maven 1.x">
<i class="none"></i>
Maven 1.x</a>
</li>
<li>
<a href="http://maven.apache.org/index.html" class="externalLink" title="Maven 2 & 3">
<i class="none"></i>
Maven 2 & 3</a>
</li>
<li>
<a href="http://maven.apache.org/pom/index.html" class="externalLink" title="Parent POMs">
<i class="none"></i>
Parent POMs</a>
</li>
<li>
<a href="http://maven.apache.org/plugins/index.html" class="externalLink" title="Plugins">
<i class="none"></i>
Plugins</a>
</li>
<li>
<a href="http://maven.apache.org/plugin-tools/index.html" class="externalLink" title="Plugin Tools">
<i class="none"></i>
Plugin Tools</a>
</li>
<li>
<a href="http://maven.apache.org/scm/index.html" class="externalLink" title="SCM">
<i class="none"></i>
SCM</a>
</li>
<li>
<a href="http://maven.apache.org/shared/index.html" class="externalLink" title="Shared Components">
<i class="none"></i>
Shared Components</a>
</li>
<li>
<a href="http://maven.apache.org/skins/index.html" class="externalLink" title="Skins">
<i class="none"></i>
Skins</a>
</li>
<li>
<a href="http://maven.apache.org/surefire/index.html" class="externalLink" title="Surefire">
<i class="none"></i>
Surefire</a>
</li>
<li>
<a href="http://maven.apache.org/wagon/index.html" class="externalLink" title="Wagon">
<i class="none"></i>
Wagon</a>
</li>
<li class="nav-header">ASF</li>
<li>
<a href="http://www.apache.org/foundation/how-it-works.html" class="externalLink" title="How Apache Works">
<i class="none"></i>
How Apache Works</a>
</li>
<li>
<a href="http://www.apache.org/foundation/" class="externalLink" title="Foundation">
<i class="none"></i>
Foundation</a>
</li>
<li>
<a href="http://www.apache.org/foundation/sponsorship.html" class="externalLink" title="Sponsoring Apache">
<i class="none"></i>
Sponsoring Apache</a>
</li>
<li>
<a href="http://www.apache.org/foundation/thanks.html" class="externalLink" title="Thanks">
<i class="none"></i>
Thanks</a>
</li>
</ul>
<hr />
<div id="poweredBy">
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<div class="clear"></div>
<a href="http://maven.apache.org/" title="Built by Maven" class="poweredBy">
<img class="builtBy" alt="Built by Maven" src="./images/logos/maven-feather.png" />
</a>
</div>
</div>
</div>
<div id="bodyColumn" class="span9" >
<!-- ~ --><!-- #%L --><!-- Native ARchive plugin for Maven --><!-- %% --><!-- Copyright (C) 2002 - 2014 NAR Maven Plugin developers. --><!-- %% --><!-- Licensed under the Apache License, Version 2.0 (the "License"); --><!-- you may not use this file except in compliance with the License. --><!-- You may obtain a copy of the License at --><!-- --><!-- http://www.apache.org/licenses/LICENSE-2.0 --><!-- --><!-- Unless required by applicable law or agreed to in writing, software --><!-- distributed under the License is distributed on an "AS IS" BASIS, --><!-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. --><!-- See the License for the specific language governing permissions and --><!-- limitations under the License. --><!-- #L% --><!-- ~ --><div class="section">
<h2>Compatibility<a name="Compatibility"></a></h2>
<p>For most of the NAR plugin we try to keep things backwards compatible. Versions 1.x were made for Maven 1 and therefore we are not compatible with those.</p>
<p>In the NAR Plugin 2.x series we had to introduce some backward incompatibilites and other changes. Below a (rather incomplete) list.</p>
<div class="section">
<h3>Version 2.1.x<a name="Version_2.1.x"></a></h3>
<ul>
<li>The internal layout of the nar files (.nar extension) is stable. No changes were made.</li>
<li>The layout of the files under target and under the unpacked directory has changed. For more information see NarLayout21 (version 2.1.x and up) and NarLayout20 (version 2.0.x).</li>
<li>The dependency in 2.0 used to be without a <i>type</i> specified. You now need to specify <i>type</i>nar<i>/type</i> as this is more in line with the standard of maven. It also allows the NAR plugin to find dependencies locally in a multi-module build. </li>
<li>The main artifact is a jar file, where the NAR plugin attaches a -noarch nar file and some platform specific nar files. When installed and or deployed the main jar file is renamed to a nar file, hence the dependecy type change from jar to nar. </li>
<li>The unpacking of nar files used to take place in a subdirectory of the local repositories directory of that artifact. As of 2.1.x we unpack in a subdirectory of the target directory. This used more diskspace (and a little time), however it avoids concurrent access to possibly half unpacked nar files when 2 or more maven invocations are running in parallel.</li></ul></div></div>
</div>
</div>
</div>
<hr/>
<footer>
<div class="container-fluid">
<div class="row-fluid">
<p >Copyright © 2005–2016
<a href="https://github.com/maven-nar">NAR Maven Plugin developers</a>.
All rights reserved.
</p>
</div>
</div>
</footer>
</body>
</html>