naether 0.10.1-java → 0.11.0-java

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,7 +6,7 @@
6
6
  <title>
7
7
  Class: Naether::Notation
8
8
 
9
- &mdash; Documentation by YARD 0.8.3
9
+ &mdash; Documentation by YARD 0.8.2.1
10
10
 
11
11
  </title>
12
12
 
@@ -32,7 +32,7 @@
32
32
  <div id="menu">
33
33
 
34
34
  <a href="../_index.html">Index (N)</a> &raquo;
35
- <span class='title'><span class='object_link'><a href="../Naether.html" title="Naether (class)">Naether</a></span></span>
35
+ <span class='title'><span class='object_link'><a href="../Naether.html" title="Naether (module)">Naether</a></span></span>
36
36
  &raquo;
37
37
  <span class="title">Notation</span>
38
38
 
@@ -104,10 +104,9 @@
104
104
 
105
105
  <p>Helper for handling Maven notations, supports notations:</p>
106
106
 
107
- <pre class="code ruby"><code><span class='mult op'>*</span> <span class='rubyid_artifactId identifier id'>artifactId</span><span class='symbol val'>:groupId</span><span class='symbol val'>:version</span>
108
- <span class='mult op'>*</span> <span class='rubyid_artifactId identifier id'>artifactId</span><span class='symbol val'>:groupId</span><span class='symbol val'>:type</span><span class='symbol val'>:version</span>
109
- <span class='mult op'>*</span> <span class='rubyid_artifactId identifier id'>artifactId</span><span class='symbol val'>:groupId</span><span class='symbol val'>:type</span><span class='symbol val'>:classifier</span><span class='symbol val'>:version</span>
110
- </code></pre>
107
+ <pre class="code ruby"><code>* artifactId:groupId:version
108
+ * artifactId:groupId:type:version
109
+ * artifactId:groupId:type:classifier:version</code></pre>
111
110
 
112
111
 
113
112
  </div>
@@ -123,8 +122,7 @@
123
122
  <dt id="PATTERN-constant" class="">PATTERN =
124
123
 
125
124
  </dt>
126
- <dd><pre class="code"><span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_compile identifier id'>compile</span><span class='lparen token'>(</span> <span class='string val'>'^(.+?):(.+?):(.+?)(:(.+?)(:(.+))?)?$'</span> <span class='rparen token'>)</span>
127
- </pre></dd>
125
+ <dd><pre class="code"><span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_compile'>compile</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>^(.+?):(.+?):(.+?)(:(.+?)(:(.+))?)?$</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span></pre></dd>
128
126
 
129
127
  </dl>
130
128
 
@@ -404,34 +402,33 @@
404
402
  <td>
405
403
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 14</span>
406
404
 
407
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_initialize identifier id'>initialize</span><span class='lparen token'>(</span><span class='rubyid_notation identifier id'>notation</span><span class='rparen token'>)</span>
408
- <span class='rubyid_if if kw'>if</span> <span class='rubyid_notation identifier id'>notation</span> <span class='match op'>=~</span> <span class='rubyid_PATTERN constant id'>PATTERN</span>
409
- <span class='rubyid_@group ivar id'>@group</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>1</span><span class='rparen token'>)</span>
410
- <span class='rubyid_@artifact ivar id'>@artifact</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>2</span><span class='rparen token'>)</span>
405
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_notation'>notation</span><span class='rparen'>)</span>
406
+ <span class='kw'>if</span> <span class='id identifier rubyid_notation'>notation</span> <span class='op'>=~</span> <span class='const'>PATTERN</span>
407
+ <span class='ivar'>@group</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>1</span><span class='rparen'>)</span>
408
+ <span class='ivar'>@artifact</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>2</span><span class='rparen'>)</span>
411
409
 
412
- <span class='comment val'># artifactId:groupId:type:classifier:version </span>
413
- <span class='rubyid_if if kw'>if</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>7</span><span class='rparen token'>)</span>
414
- <span class='rubyid_@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>3</span><span class='rparen token'>)</span>
415
- <span class='rubyid_@classifier ivar id'>@classifier</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>5</span><span class='rparen token'>)</span>
416
- <span class='rubyid_@version ivar id'>@version</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>7</span><span class='rparen token'>)</span>
410
+ <span class='comment'># artifactId:groupId:type:classifier:version
411
+ </span> <span class='kw'>if</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>7</span><span class='rparen'>)</span>
412
+ <span class='ivar'>@type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
413
+ <span class='ivar'>@classifier</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>5</span><span class='rparen'>)</span>
414
+ <span class='ivar'>@version</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>7</span><span class='rparen'>)</span>
417
415
 
418
- <span class='comment val'># artifactId:groupId:type:version </span>
419
- <span class='rubyid_elsif elsif kw'>elsif</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>5</span><span class='rparen token'>)</span>
420
- <span class='rubyid_@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>3</span><span class='rparen token'>)</span>
421
- <span class='rubyid_@version ivar id'>@version</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>5</span><span class='rparen token'>)</span>
422
- <span class='comment val'># artifactId:groupId:version -</span>
423
- <span class='rubyid_else else kw'>else</span>
424
- <span class='rubyid_@type ivar id'>@type</span> <span class='assign token'>=</span> <span class='string val'>'jar'</span>
425
- <span class='rubyid_@version ivar id'>@version</span> <span class='assign token'>=</span> <span class='rubyid_Regexp constant id'>Regexp</span><span class='dot token'>.</span><span class='rubyid_last_match identifier id'>last_match</span><span class='lparen token'>(</span><span class='integer val'>3</span><span class='rparen token'>)</span>
426
- <span class='rubyid_end end kw'>end</span>
416
+ <span class='comment'># artifactId:groupId:type:version
417
+ </span> <span class='kw'>elsif</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>5</span><span class='rparen'>)</span>
418
+ <span class='ivar'>@type</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
419
+ <span class='ivar'>@version</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>5</span><span class='rparen'>)</span>
420
+ <span class='comment'># artifactId:groupId:version -
421
+ </span> <span class='kw'>else</span>
422
+ <span class='ivar'>@type</span> <span class='op'>=</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>jar</span><span class='tstring_end'>'</span></span>
423
+ <span class='ivar'>@version</span> <span class='op'>=</span> <span class='const'>Regexp</span><span class='period'>.</span><span class='id identifier rubyid_last_match'>last_match</span><span class='lparen'>(</span><span class='int'>3</span><span class='rparen'>)</span>
424
+ <span class='kw'>end</span>
427
425
 
428
- <span class='rubyid_end end kw'>end</span>
426
+ <span class='kw'>end</span>
429
427
 
430
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_to_notation identifier id'>to_notation</span>
431
- <span class='dstring node'>&quot;#{group}:#{artifact}:#{type}#{&quot;:#{classifier}&quot; if classifier}:#{version}&quot;</span>
432
- <span class='rubyid_end end kw'>end</span>
433
- <span class='rubyid_end end kw'>end</span>
434
- </pre>
428
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_notation'>to_notation</span>
429
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_group'>group</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_artifact'>artifact</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_classifier'>classifier</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_classifier'>classifier</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
430
+ <span class='kw'>end</span>
431
+ <span class='kw'>end</span></pre>
435
432
  </td>
436
433
  </tr>
437
434
  </table>
@@ -477,10 +474,9 @@
477
474
  <td>
478
475
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 10</span>
479
476
 
480
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_artifact identifier id'>artifact</span>
481
- <span class='rubyid_@artifact ivar id'>@artifact</span>
482
- <span class='rubyid_end end kw'>end</span>
483
- </pre>
477
+ <span class='kw'>def</span> <span class='id identifier rubyid_artifact'>artifact</span>
478
+ <span class='ivar'>@artifact</span>
479
+ <span class='kw'>end</span></pre>
484
480
  </td>
485
481
  </tr>
486
482
  </table>
@@ -521,10 +517,9 @@
521
517
  <td>
522
518
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 10</span>
523
519
 
524
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_classifier identifier id'>classifier</span>
525
- <span class='rubyid_@classifier ivar id'>@classifier</span>
526
- <span class='rubyid_end end kw'>end</span>
527
- </pre>
520
+ <span class='kw'>def</span> <span class='id identifier rubyid_classifier'>classifier</span>
521
+ <span class='ivar'>@classifier</span>
522
+ <span class='kw'>end</span></pre>
528
523
  </td>
529
524
  </tr>
530
525
  </table>
@@ -565,10 +560,9 @@
565
560
  <td>
566
561
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 10</span>
567
562
 
568
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_group identifier id'>group</span>
569
- <span class='rubyid_@group ivar id'>@group</span>
570
- <span class='rubyid_end end kw'>end</span>
571
- </pre>
563
+ <span class='kw'>def</span> <span class='id identifier rubyid_group'>group</span>
564
+ <span class='ivar'>@group</span>
565
+ <span class='kw'>end</span></pre>
572
566
  </td>
573
567
  </tr>
574
568
  </table>
@@ -609,10 +603,9 @@
609
603
  <td>
610
604
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 10</span>
611
605
 
612
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_type identifier id'>type</span>
613
- <span class='rubyid_@type ivar id'>@type</span>
614
- <span class='rubyid_end end kw'>end</span>
615
- </pre>
606
+ <span class='kw'>def</span> <span class='id identifier rubyid_type'>type</span>
607
+ <span class='ivar'>@type</span>
608
+ <span class='kw'>end</span></pre>
616
609
  </td>
617
610
  </tr>
618
611
  </table>
@@ -653,10 +646,9 @@
653
646
  <td>
654
647
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 10</span>
655
648
 
656
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_version identifier id'>version</span>
657
- <span class='rubyid_@version ivar id'>@version</span>
658
- <span class='rubyid_end end kw'>end</span>
659
- </pre>
649
+ <span class='kw'>def</span> <span class='id identifier rubyid_version'>version</span>
650
+ <span class='ivar'>@version</span>
651
+ <span class='kw'>end</span></pre>
660
652
  </td>
661
653
  </tr>
662
654
  </table>
@@ -691,10 +683,9 @@
691
683
  <td>
692
684
  <pre class="code"><span class="info file"># File 'lib/naether/notation.rb', line 37</span>
693
685
 
694
- <span class='rubyid_def def kw'>def</span> <span class='rubyid_to_notation identifier id'>to_notation</span>
695
- <span class='dstring node'>&quot;#{group}:#{artifact}:#{type}#{&quot;:#{classifier}&quot; if classifier}:#{version}&quot;</span>
696
- <span class='rubyid_end end kw'>end</span>
697
- </pre>
686
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_notation'>to_notation</span>
687
+ <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_group'>group</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_artifact'>artifact</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_type'>type</span><span class='rbrace'>}</span><span class='embexpr_beg'>#{</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_classifier'>classifier</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span> <span class='kw'>if</span> <span class='id identifier rubyid_classifier'>classifier</span><span class='rbrace'>}</span><span class='tstring_content'>:</span><span class='embexpr_beg'>#{</span><span class='id identifier rubyid_version'>version</span><span class='rbrace'>}</span><span class='tstring_end'>&quot;</span></span>
688
+ <span class='kw'>end</span></pre>
698
689
  </td>
699
690
  </tr>
700
691
  </table>
@@ -705,9 +696,9 @@
705
696
  </div>
706
697
 
707
698
  <div id="footer">
708
- Generated on Mon Oct 15 21:42:27 2012 by
699
+ Generated on Fri Sep 27 17:49:17 2013 by
709
700
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
710
- 0.8.3 (ruby-1.9.2).
701
+ 0.8.2.1 (ruby-1.9.3).
711
702
  </div>
712
703
 
713
704
  </body>
@@ -0,0 +1,2967 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6
+ <title>
7
+ Class: Naether::Runtime
8
+
9
+ &mdash; Documentation by YARD 0.8.2.1
10
+
11
+ </title>
12
+
13
+ <link rel="stylesheet" href="../css/style.css" type="text/css" media="screen" charset="utf-8" />
14
+
15
+ <link rel="stylesheet" href="../css/common.css" type="text/css" media="screen" charset="utf-8" />
16
+
17
+ <script type="text/javascript" charset="utf-8">
18
+ hasFrames = window.top.frames.main ? true : false;
19
+ relpath = '../';
20
+ framesUrl = "../frames.html#!" + escape(window.location.href);
21
+ </script>
22
+
23
+
24
+ <script type="text/javascript" charset="utf-8" src="../js/jquery.js"></script>
25
+
26
+ <script type="text/javascript" charset="utf-8" src="../js/app.js"></script>
27
+
28
+
29
+ </head>
30
+ <body>
31
+ <div id="header">
32
+ <div id="menu">
33
+
34
+ <a href="../_index.html">Index (R)</a> &raquo;
35
+ <span class='title'><span class='object_link'><a href="../Naether.html" title="Naether (module)">Naether</a></span></span>
36
+ &raquo;
37
+ <span class="title">Runtime</span>
38
+
39
+
40
+ <div class="noframes"><span class="title">(</span><a href="." target="_top">no frames</a><span class="title">)</span></div>
41
+ </div>
42
+
43
+ <div id="search">
44
+
45
+ <a class="full_list_link" id="class_list_link"
46
+ href="../class_list.html">
47
+ Class List
48
+ </a>
49
+
50
+ <a class="full_list_link" id="method_list_link"
51
+ href="../method_list.html">
52
+ Method List
53
+ </a>
54
+
55
+ <a class="full_list_link" id="file_list_link"
56
+ href="../file_list.html">
57
+ File List
58
+ </a>
59
+
60
+ </div>
61
+ <div class="clear"></div>
62
+ </div>
63
+
64
+ <iframe id="search_frame"></iframe>
65
+
66
+ <div id="content"><h1>Class: Naether::Runtime
67
+
68
+
69
+
70
+ </h1>
71
+
72
+ <dl class="box">
73
+
74
+ <dt class="r1">Inherits:</dt>
75
+ <dd class="r1">
76
+ <span class="inheritName">Object</span>
77
+
78
+ <ul class="fullTree">
79
+ <li>Object</li>
80
+
81
+ <li class="next">Naether::Runtime</li>
82
+
83
+ </ul>
84
+ <a href="#" class="inheritanceTree">show all</a>
85
+
86
+ </dd>
87
+
88
+
89
+
90
+
91
+
92
+
93
+
94
+
95
+
96
+ <dt class="r2 last">Defined in:</dt>
97
+ <dd class="r2 last">lib/naether/runtime.rb</dd>
98
+
99
+ </dl>
100
+ <div class="clear"></div>
101
+
102
+
103
+
104
+
105
+
106
+ <h2>Instance Attribute Summary <small>(<a href="#" class="summary_toggle">collapse</a>)</small></h2>
107
+ <ul class="summary">
108
+
109
+ <li class="public ">
110
+ <span class="summary_signature">
111
+
112
+ <a href="#resolver-instance_method" title="#resolver (instance method)">- (Object) <strong>resolver</strong> </a>
113
+
114
+
115
+
116
+ </span>
117
+
118
+
119
+
120
+
121
+ <span class="note title readonly">readonly</span>
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+ <span class="summary_desc"><div class='inline'>
132
+ <p>Returns the value of attribute resolver.</p>
133
+ </div></span>
134
+
135
+ </li>
136
+
137
+
138
+ </ul>
139
+
140
+
141
+
142
+
143
+
144
+ <h2>
145
+ Instance Method Summary
146
+ <small>(<a href="#" class="summary_toggle">collapse</a>)</small>
147
+ </h2>
148
+
149
+ <ul class="summary">
150
+
151
+ <li class="public ">
152
+ <span class="summary_signature">
153
+
154
+ <a href="#add_build_artifact-instance_method" title="#add_build_artifact (instance method)">- (Object) <strong>add_build_artifact</strong>(notation, path, pom = nil) </a>
155
+
156
+
157
+
158
+ </span>
159
+
160
+
161
+
162
+
163
+
164
+
165
+
166
+
167
+
168
+ <span class="summary_desc"><div class='inline'>
169
+ <p>Add a local Build Artifact, that will be used in the Dependency Resolution.</p>
170
+ </div></span>
171
+
172
+ </li>
173
+
174
+
175
+ <li class="public ">
176
+ <span class="summary_signature">
177
+
178
+ <a href="#add_dependency-instance_method" title="#add_dependency (instance method)">- (Object) <strong>add_dependency</strong>(dependency) </a>
179
+
180
+
181
+
182
+ </span>
183
+
184
+
185
+
186
+
187
+
188
+
189
+
190
+
191
+
192
+ <span class="summary_desc"><div class='inline'>
193
+ <p>Add a dependency of org.sonatype.aether.graph.Dependency.</p>
194
+ </div></span>
195
+
196
+ </li>
197
+
198
+
199
+ <li class="public ">
200
+ <span class="summary_signature">
201
+
202
+ <a href="#add_notation_dependency-instance_method" title="#add_notation_dependency (instance method)">- (Object) <strong>add_notation_dependency</strong>(notation, scope = 'compile') </a>
203
+
204
+
205
+
206
+ </span>
207
+
208
+
209
+
210
+
211
+
212
+
213
+
214
+
215
+
216
+ <span class="summary_desc"><div class='inline'>
217
+ <p>Add a dependency.</p>
218
+ </div></span>
219
+
220
+ </li>
221
+
222
+
223
+ <li class="public ">
224
+ <span class="summary_signature">
225
+
226
+ <a href="#add_pom_dependencies-instance_method" title="#add_pom_dependencies (instance method)">- (Object) <strong>add_pom_dependencies</strong>(pom_path, scopes = ['compile']) </a>
227
+
228
+
229
+
230
+ </span>
231
+
232
+
233
+
234
+
235
+
236
+
237
+
238
+
239
+
240
+ <span class="summary_desc"><div class='inline'>
241
+ <p>Add dependencies from a Maven POM.</p>
242
+ </div></span>
243
+
244
+ </li>
245
+
246
+
247
+ <li class="public ">
248
+ <span class="summary_signature">
249
+
250
+ <a href="#add_remote_repository-instance_method" title="#add_remote_repository (instance method)">- (Object) <strong>add_remote_repository</strong>(url, username = nil, password = nil) </a>
251
+
252
+
253
+
254
+ </span>
255
+
256
+
257
+
258
+
259
+
260
+
261
+
262
+
263
+
264
+ <span class="summary_desc"><div class='inline'>
265
+ <p>Add remote repository.</p>
266
+ </div></span>
267
+
268
+ </li>
269
+
270
+
271
+ <li class="public ">
272
+ <span class="summary_signature">
273
+
274
+ <a href="#build_artifacts-instance_method" title="#build_artifacts (instance method)">- (Array) <strong>build_artifacts</strong> </a>
275
+
276
+
277
+
278
+ </span>
279
+
280
+
281
+
282
+
283
+
284
+
285
+
286
+
287
+
288
+ <span class="summary_desc"><div class='inline'>
289
+ <p>Get Build Artifacts.</p>
290
+ </div></span>
291
+
292
+ </li>
293
+
294
+
295
+ <li class="public ">
296
+ <span class="summary_signature">
297
+
298
+ <a href="#build_artifacts%3D-instance_method" title="#build_artifacts= (instance method)">- (Object) <strong>build_artifacts=</strong>(artifacts) </a>
299
+
300
+
301
+
302
+ </span>
303
+
304
+
305
+
306
+
307
+
308
+
309
+
310
+
311
+
312
+ <span class="summary_desc"><div class='inline'>
313
+ <p>Set local Build Artifacts, that will be used in the Dependency Resolution.</p>
314
+ </div></span>
315
+
316
+ </li>
317
+
318
+
319
+ <li class="public ">
320
+ <span class="summary_signature">
321
+
322
+ <a href="#clear_remote_repositories-instance_method" title="#clear_remote_repositories (instance method)">- (Object) <strong>clear_remote_repositories</strong> </a>
323
+
324
+
325
+
326
+ </span>
327
+
328
+
329
+
330
+
331
+
332
+
333
+
334
+
335
+
336
+ <span class="summary_desc"><div class='inline'>
337
+ <p>Clear all remote repositories.</p>
338
+ </div></span>
339
+
340
+ </li>
341
+
342
+
343
+ <li class="public ">
344
+ <span class="summary_signature">
345
+
346
+ <a href="#dependencies-instance_method" title="#dependencies (instance method)">- (Array) <strong>dependencies</strong> </a>
347
+
348
+
349
+
350
+ </span>
351
+
352
+
353
+
354
+
355
+
356
+
357
+
358
+
359
+
360
+ <span class="summary_desc"><div class='inline'>
361
+ <p>Get array of dependencies.</p>
362
+ </div></span>
363
+
364
+ </li>
365
+
366
+
367
+ <li class="public ">
368
+ <span class="summary_signature">
369
+
370
+ <a href="#dependencies%3D-instance_method" title="#dependencies= (instance method)">- (Object) <strong>dependencies=</strong>(dependencies) </a>
371
+
372
+
373
+
374
+ </span>
375
+
376
+
377
+
378
+
379
+
380
+
381
+
382
+
383
+
384
+ <span class="summary_desc"><div class='inline'>
385
+ <p>Set the dependencies.</p>
386
+ </div></span>
387
+
388
+ </li>
389
+
390
+
391
+ <li class="public ">
392
+ <span class="summary_signature">
393
+
394
+ <a href="#dependencies_classpath-instance_method" title="#dependencies_classpath (instance method)">- (String) <strong>dependencies_classpath</strong> </a>
395
+
396
+
397
+
398
+ </span>
399
+
400
+
401
+
402
+
403
+
404
+
405
+
406
+
407
+
408
+ <span class="summary_desc"><div class='inline'>
409
+ <p>Convert dependencies to Classpath friendly string.</p>
410
+ </div></span>
411
+
412
+ </li>
413
+
414
+
415
+ <li class="public ">
416
+ <span class="summary_signature">
417
+
418
+ <a href="#dependencies_graph-instance_method" title="#dependencies_graph (instance method)">- (Hash) <strong>dependencies_graph</strong>(nodes = nil) </a>
419
+
420
+
421
+
422
+ </span>
423
+
424
+
425
+
426
+
427
+
428
+
429
+
430
+
431
+
432
+ <span class="summary_desc"><div class='inline'>
433
+ <p>Dependencies as a Graph of nested Hashes.</p>
434
+ </div></span>
435
+
436
+ </li>
437
+
438
+
439
+ <li class="public ">
440
+ <span class="summary_signature">
441
+
442
+ <a href="#dependencies_notation-instance_method" title="#dependencies_notation (instance method)">- (Array&lt;String&gt;) <strong>dependencies_notation</strong> </a>
443
+
444
+
445
+
446
+ </span>
447
+
448
+
449
+
450
+
451
+
452
+
453
+
454
+
455
+
456
+ <span class="summary_desc"><div class='inline'>
457
+ <p>Get array of dependencies as notation.</p>
458
+ </div></span>
459
+
460
+ </li>
461
+
462
+
463
+ <li class="public ">
464
+ <span class="summary_signature">
465
+
466
+ <a href="#dependencies_path-instance_method" title="#dependencies_path (instance method)">- (Array&lt;Hash&gt;) <strong>dependencies_path</strong> </a>
467
+
468
+
469
+
470
+ </span>
471
+
472
+
473
+
474
+
475
+
476
+
477
+
478
+
479
+
480
+ <span class="summary_desc"><div class='inline'>
481
+ <p>Hash of dependency paths.</p>
482
+ </div></span>
483
+
484
+ </li>
485
+
486
+
487
+ <li class="public ">
488
+ <span class="summary_signature">
489
+
490
+ <a href="#deploy_artifact-instance_method" title="#deploy_artifact (instance method)">- (Object) <strong>deploy_artifact</strong>(notation, file_path, url, opts = {}) </a>
491
+
492
+
493
+
494
+ </span>
495
+
496
+
497
+
498
+
499
+
500
+
501
+
502
+
503
+
504
+ <span class="summary_desc"><div class='inline'>
505
+ <p>Deploy artifact to remote repo url.</p>
506
+ </div></span>
507
+
508
+ </li>
509
+
510
+
511
+ <li class="public ">
512
+ <span class="summary_signature">
513
+
514
+ <a href="#download_artifacts-instance_method" title="#download_artifacts (instance method)">- (Array&lt;String&gt;) <strong>download_artifacts</strong>(notations) </a>
515
+
516
+
517
+
518
+ </span>
519
+
520
+
521
+
522
+
523
+
524
+
525
+
526
+
527
+
528
+ <span class="summary_desc"><div class='inline'>
529
+ <p>Download artifacts.</p>
530
+ </div></span>
531
+
532
+ </li>
533
+
534
+
535
+ <li class="public ">
536
+ <span class="summary_signature">
537
+
538
+ <a href="#initialize-instance_method" title="#initialize (instance method)">- (Runtime) <strong>initialize</strong> </a>
539
+
540
+
541
+
542
+ </span>
543
+
544
+
545
+ <span class="note title constructor">constructor</span>
546
+
547
+
548
+
549
+
550
+
551
+
552
+
553
+
554
+ <span class="summary_desc"><div class='inline'>
555
+ <p>Create new instance.</p>
556
+ </div></span>
557
+
558
+ </li>
559
+
560
+
561
+ <li class="public ">
562
+ <span class="summary_signature">
563
+
564
+ <a href="#install-instance_method" title="#install (instance method)">- (Object) <strong>install</strong>(notation, pom_path = nil, jar_path = nil) </a>
565
+
566
+
567
+
568
+ </span>
569
+
570
+
571
+
572
+
573
+
574
+
575
+
576
+
577
+
578
+ <span class="summary_desc"><div class='inline'>
579
+ <p>Install artifact or pom to local repo, must specify pom_path and/or
580
+ jar_path.</p>
581
+ </div></span>
582
+
583
+ </li>
584
+
585
+
586
+ <li class="public ">
587
+ <span class="summary_signature">
588
+
589
+ <a href="#load_dependencies_to_classpath-instance_method" title="#load_dependencies_to_classpath (instance method)">- (Array) <strong>load_dependencies_to_classpath</strong> </a>
590
+
591
+
592
+
593
+ </span>
594
+
595
+
596
+
597
+
598
+
599
+
600
+
601
+
602
+
603
+ <span class="summary_desc"><div class='inline'>
604
+ <p>Load dependencies to Classpath.</p>
605
+ </div></span>
606
+
607
+ </li>
608
+
609
+
610
+ <li class="public ">
611
+ <span class="summary_signature">
612
+
613
+ <a href="#local_repo_path-instance_method" title="#local_repo_path (instance method)">- (String) <strong>local_repo_path</strong> </a>
614
+
615
+
616
+
617
+ </span>
618
+
619
+
620
+
621
+
622
+
623
+
624
+
625
+
626
+
627
+ <span class="summary_desc"><div class='inline'>
628
+ <p>Path to local maven repo.</p>
629
+ </div></span>
630
+
631
+ </li>
632
+
633
+
634
+ <li class="public ">
635
+ <span class="summary_signature">
636
+
637
+ <a href="#local_repo_path%3D-instance_method" title="#local_repo_path= (instance method)">- (Object) <strong>local_repo_path=</strong>(path) </a>
638
+
639
+
640
+
641
+ </span>
642
+
643
+
644
+
645
+
646
+
647
+
648
+
649
+
650
+
651
+ <span class="summary_desc"><div class='inline'>
652
+ <p>Set path to local maven repo.</p>
653
+ </div></span>
654
+
655
+ </li>
656
+
657
+
658
+ <li class="public ">
659
+ <span class="summary_signature">
660
+
661
+ <a href="#remote_repositories-instance_method" title="#remote_repositories (instance method)">- (Array) <strong>remote_repositories</strong> </a>
662
+
663
+
664
+
665
+ </span>
666
+
667
+
668
+
669
+
670
+
671
+
672
+
673
+
674
+
675
+ <span class="summary_desc"><div class='inline'>
676
+ <p>Get remote repositories.</p>
677
+ </div></span>
678
+
679
+ </li>
680
+
681
+
682
+ <li class="public ">
683
+ <span class="summary_signature">
684
+
685
+ <a href="#remote_repository_urls-instance_method" title="#remote_repository_urls (instance method)">- (Array&lt;String&gt;) <strong>remote_repository_urls</strong> </a>
686
+
687
+
688
+
689
+ </span>
690
+
691
+
692
+
693
+
694
+
695
+
696
+
697
+
698
+
699
+ <span class="summary_desc"><div class='inline'>
700
+ <p>Get remote repositories as urls.</p>
701
+ </div></span>
702
+
703
+ </li>
704
+
705
+
706
+ <li class="public ">
707
+ <span class="summary_signature">
708
+
709
+ <a href="#resolve_dependencies-instance_method" title="#resolve_dependencies (instance method)">- (Array&lt;String&gt;) <strong>resolve_dependencies</strong>(download_artifacts = true, properties = nil) </a>
710
+
711
+
712
+
713
+ </span>
714
+
715
+
716
+
717
+
718
+
719
+
720
+
721
+
722
+
723
+ <span class="summary_desc"><div class='inline'>
724
+ <p>Resolve dependencies.</p>
725
+ </div></span>
726
+
727
+ </li>
728
+
729
+
730
+ <li class="public ">
731
+ <span class="summary_signature">
732
+
733
+ <a href="#set_log_level-instance_method" title="#set_log_level (instance method)">- (Object) <strong>set_log_level</strong>(level) </a>
734
+
735
+
736
+
737
+ </span>
738
+
739
+
740
+
741
+
742
+
743
+
744
+
745
+
746
+
747
+ <span class="summary_desc"><div class='inline'>
748
+ <p>Set Log level for Naether Java logging.</p>
749
+ </div></span>
750
+
751
+ </li>
752
+
753
+
754
+ <li class="public ">
755
+ <span class="summary_signature">
756
+
757
+ <a href="#to_local_paths-instance_method" title="#to_local_paths (instance method)">- (Array&lt;String&gt;) <strong>to_local_paths</strong>(notations) </a>
758
+
759
+
760
+
761
+ </span>
762
+
763
+
764
+
765
+
766
+
767
+
768
+
769
+
770
+
771
+ <span class="summary_desc"><div class='inline'>
772
+ <p>Convert notations to local paths of artifacts.</p>
773
+ </div></span>
774
+
775
+ </li>
776
+
777
+
778
+ </ul>
779
+
780
+
781
+ <div id="constructor_details" class="method_details_list">
782
+ <h2>Constructor Details</h2>
783
+
784
+ <div class="method_details first">
785
+ <h3 class="signature first" id="initialize-instance_method">
786
+
787
+ - (<tt><span class='object_link'><a href="" title="Naether::Runtime (class)">Runtime</a></span></tt>) <strong>initialize</strong>
788
+
789
+
790
+
791
+
792
+
793
+ </h3><div class="docstring">
794
+ <div class="discussion">
795
+
796
+ <p>Create new instance.</p>
797
+
798
+
799
+ </div>
800
+ </div>
801
+ <div class="tags">
802
+
803
+
804
+ </div><table class="source_code">
805
+ <tr>
806
+ <td>
807
+ <pre class="lines">
808
+
809
+
810
+ 32
811
+ 33
812
+ 34</pre>
813
+ </td>
814
+ <td>
815
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 32</span>
816
+
817
+ <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
818
+ <span class='ivar'>@resolver</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.tobedevoured.naether.impl.NaetherImpl</span><span class='tstring_end'>'</span></span><span class='rparen'>)</span>
819
+ <span class='kw'>end</span></pre>
820
+ </td>
821
+ </tr>
822
+ </table>
823
+ </div>
824
+
825
+ </div>
826
+
827
+ <div id="instance_attr_details" class="attr_details">
828
+ <h2>Instance Attribute Details</h2>
829
+
830
+
831
+ <span id=""></span>
832
+ <div class="method_details first">
833
+ <h3 class="signature first" id="resolver-instance_method">
834
+
835
+ - (<tt>Object</tt>) <strong>resolver</strong> <span class="extras">(readonly)</span>
836
+
837
+
838
+
839
+
840
+
841
+ </h3><div class="docstring">
842
+ <div class="discussion">
843
+
844
+ <p>Returns the value of attribute resolver</p>
845
+
846
+
847
+ </div>
848
+ </div>
849
+ <div class="tags">
850
+
851
+
852
+ </div><table class="source_code">
853
+ <tr>
854
+ <td>
855
+ <pre class="lines">
856
+
857
+
858
+ 29
859
+ 30
860
+ 31</pre>
861
+ </td>
862
+ <td>
863
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 29</span>
864
+
865
+ <span class='kw'>def</span> <span class='id identifier rubyid_resolver'>resolver</span>
866
+ <span class='ivar'>@resolver</span>
867
+ <span class='kw'>end</span></pre>
868
+ </td>
869
+ </tr>
870
+ </table>
871
+ </div>
872
+
873
+ </div>
874
+
875
+
876
+ <div id="instance_method_details" class="method_details_list">
877
+ <h2>Instance Method Details</h2>
878
+
879
+
880
+ <div class="method_details first">
881
+ <h3 class="signature first" id="add_build_artifact-instance_method">
882
+
883
+ - (<tt>Object</tt>) <strong>add_build_artifact</strong>(notation, path, pom = nil)
884
+
885
+
886
+
887
+
888
+
889
+ </h3><div class="docstring">
890
+ <div class="discussion">
891
+
892
+ <p>Add a local Build Artifact, that will be used in the Dependency Resolution</p>
893
+
894
+
895
+ </div>
896
+ </div>
897
+ <div class="tags">
898
+ <p class="tag_title">Parameters:</p>
899
+ <ul class="param">
900
+
901
+ <li>
902
+
903
+ <span class='name'>notation</span>
904
+
905
+
906
+ <span class='type'>(<tt>String</tt>)</span>
907
+
908
+
909
+
910
+ </li>
911
+
912
+ <li>
913
+
914
+ <span class='name'>path</span>
915
+
916
+
917
+ <span class='type'>(<tt>String</tt>)</span>
918
+
919
+
920
+
921
+ &mdash;
922
+ <div class='inline'>
923
+ <p>to artifact</p>
924
+ </div>
925
+
926
+ </li>
927
+
928
+ <li>
929
+
930
+ <span class='name'>pom</span>
931
+
932
+
933
+ <span class='type'>(<tt>String</tt>)</span>
934
+
935
+
936
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
937
+
938
+
939
+ &mdash;
940
+ <div class='inline'>
941
+ <p>optional path to pom.xml</p>
942
+ </div>
943
+
944
+ </li>
945
+
946
+ </ul>
947
+
948
+
949
+ </div><table class="source_code">
950
+ <tr>
951
+ <td>
952
+ <pre class="lines">
953
+
954
+
955
+ 89
956
+ 90
957
+ 91</pre>
958
+ </td>
959
+ <td>
960
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 89</span>
961
+
962
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_build_artifact'>add_build_artifact</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_pom'>pom</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
963
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addBuildArtifact'>addBuildArtifact</span><span class='lparen'>(</span><span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_path'>path</span><span class='comma'>,</span> <span class='id identifier rubyid_pom'>pom</span> <span class='rparen'>)</span>
964
+ <span class='kw'>end</span></pre>
965
+ </td>
966
+ </tr>
967
+ </table>
968
+ </div>
969
+
970
+ <div class="method_details ">
971
+ <h3 class="signature " id="add_dependency-instance_method">
972
+
973
+ - (<tt>Object</tt>) <strong>add_dependency</strong>(dependency)
974
+
975
+
976
+
977
+
978
+
979
+ </h3><div class="docstring">
980
+ <div class="discussion">
981
+
982
+ <p>Add a dependency of org.sonatype.aether.graph.Dependency</p>
983
+
984
+
985
+ </div>
986
+ </div>
987
+ <div class="tags">
988
+ <p class="tag_title">Parameters:</p>
989
+ <ul class="param">
990
+
991
+ <li>
992
+
993
+ <span class='name'>dependency</span>
994
+
995
+
996
+ <span class='type'>(<tt>org.sonatype.aether.graph.Dependency</tt>)</span>
997
+
998
+
999
+
1000
+ </li>
1001
+
1002
+ </ul>
1003
+
1004
+
1005
+ </div><table class="source_code">
1006
+ <tr>
1007
+ <td>
1008
+ <pre class="lines">
1009
+
1010
+
1011
+ 157
1012
+ 158
1013
+ 159
1014
+ 160
1015
+ 161
1016
+ 162
1017
+ 163
1018
+ 164</pre>
1019
+ </td>
1020
+ <td>
1021
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 157</span>
1022
+
1023
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_dependency'>add_dependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_dependency'>dependency</span> <span class='rparen'>)</span>
1024
+ <span class='comment'>#@resolver.addDependency( dependency )
1025
+ </span> <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
1026
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addDependency'>addDependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_dependency'>dependency</span> <span class='rparen'>)</span>
1027
+ <span class='kw'>else</span>
1028
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid__invoke'>_invoke</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>addDependency</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Lorg.sonatype.aether.graph.Dependency;</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_dependency'>dependency</span><span class='rparen'>)</span>
1029
+ <span class='kw'>end</span>
1030
+ <span class='kw'>end</span></pre>
1031
+ </td>
1032
+ </tr>
1033
+ </table>
1034
+ </div>
1035
+
1036
+ <div class="method_details ">
1037
+ <h3 class="signature " id="add_notation_dependency-instance_method">
1038
+
1039
+ - (<tt>Object</tt>) <strong>add_notation_dependency</strong>(notation, scope = 'compile')
1040
+
1041
+
1042
+
1043
+
1044
+
1045
+ </h3><div class="docstring">
1046
+ <div class="discussion">
1047
+
1048
+ <p>Add a dependency</p>
1049
+
1050
+
1051
+ </div>
1052
+ </div>
1053
+ <div class="tags">
1054
+ <p class="tag_title">Parameters:</p>
1055
+ <ul class="param">
1056
+
1057
+ <li>
1058
+
1059
+ <span class='name'>notation</span>
1060
+
1061
+
1062
+ <span class='type'>(<tt>String</tt>)</span>
1063
+
1064
+
1065
+
1066
+ &mdash;
1067
+ <div class='inline'>
1068
+ <p>in the format of groupId:artifactId:version</p>
1069
+ </div>
1070
+
1071
+ </li>
1072
+
1073
+ <li>
1074
+
1075
+ <span class='name'>scope</span>
1076
+
1077
+
1078
+ <span class='type'>(<tt>String</tt>)</span>
1079
+
1080
+
1081
+ <em class="default">(defaults to: <tt>'compile'</tt>)</em>
1082
+
1083
+
1084
+ &mdash;
1085
+ <div class='inline'>
1086
+ <p>valid options are compile,test,runtime</p>
1087
+ </div>
1088
+
1089
+ </li>
1090
+
1091
+ </ul>
1092
+
1093
+
1094
+ <p class="tag_title">See Also:</p>
1095
+ <ul class="see">
1096
+
1097
+ <li><a href="https://github.com/mguymon/naether/wiki/Notations" target="_parent" title="https://github.com/mguymon/naether/wiki/Notations">https://github.com/mguymon/naether/wiki/Notations</a></li>
1098
+
1099
+ </ul>
1100
+
1101
+ </div><table class="source_code">
1102
+ <tr>
1103
+ <td>
1104
+ <pre class="lines">
1105
+
1106
+
1107
+ 137
1108
+ 138
1109
+ 139</pre>
1110
+ </td>
1111
+ <td>
1112
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 137</span>
1113
+
1114
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_notation_dependency'>add_notation_dependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span><span class='op'>=</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>compile</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
1115
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addDependency'>addDependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_scope'>scope</span> <span class='rparen'>)</span>
1116
+ <span class='kw'>end</span></pre>
1117
+ </td>
1118
+ </tr>
1119
+ </table>
1120
+ </div>
1121
+
1122
+ <div class="method_details ">
1123
+ <h3 class="signature " id="add_pom_dependencies-instance_method">
1124
+
1125
+ - (<tt>Object</tt>) <strong>add_pom_dependencies</strong>(pom_path, scopes = ['compile'])
1126
+
1127
+
1128
+
1129
+
1130
+
1131
+ </h3><div class="docstring">
1132
+ <div class="discussion">
1133
+
1134
+ <p>Add dependencies from a Maven POM</p>
1135
+
1136
+
1137
+ </div>
1138
+ </div>
1139
+ <div class="tags">
1140
+ <p class="tag_title">Parameters:</p>
1141
+ <ul class="param">
1142
+
1143
+ <li>
1144
+
1145
+ <span class='name'>pom_path</span>
1146
+
1147
+
1148
+ <span class='type'>(<tt>String</tt>)</span>
1149
+
1150
+
1151
+
1152
+ </li>
1153
+
1154
+ <li>
1155
+
1156
+ <span class='name'>scopes</span>
1157
+
1158
+
1159
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
1160
+
1161
+
1162
+ <em class="default">(defaults to: <tt>['compile']</tt>)</em>
1163
+
1164
+
1165
+ &mdash;
1166
+ <div class='inline'>
1167
+ <p>valid options are compile,test,runtime</p>
1168
+ </div>
1169
+
1170
+ </li>
1171
+
1172
+ </ul>
1173
+
1174
+
1175
+ </div><table class="source_code">
1176
+ <tr>
1177
+ <td>
1178
+ <pre class="lines">
1179
+
1180
+
1181
+ 145
1182
+ 146
1183
+ 147
1184
+ 148
1185
+ 149
1186
+ 150
1187
+ 151
1188
+ 152</pre>
1189
+ </td>
1190
+ <td>
1191
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 145</span>
1192
+
1193
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_pom_dependencies'>add_pom_dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_pom_path'>pom_path</span><span class='comma'>,</span> <span class='id identifier rubyid_scopes'>scopes</span><span class='op'>=</span><span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>compile</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='rparen'>)</span>
1194
+ <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
1195
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addDependencies'>addDependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_pom_path'>pom_path</span><span class='comma'>,</span> <span class='id identifier rubyid_scopes'>scopes</span> <span class='rparen'>)</span>
1196
+ <span class='kw'>else</span>
1197
+ <span class='id identifier rubyid_list'>list</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_java_list'>convert_to_java_list</span><span class='lparen'>(</span> <span class='id identifier rubyid_scopes'>scopes</span> <span class='rparen'>)</span>
1198
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid__invoke'>_invoke</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>addDependencies</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Ljava.lang.String;Ljava.util.List;</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_pom_path'>pom_path</span><span class='comma'>,</span> <span class='id identifier rubyid_list'>list</span> <span class='rparen'>)</span>
1199
+ <span class='kw'>end</span>
1200
+ <span class='kw'>end</span></pre>
1201
+ </td>
1202
+ </tr>
1203
+ </table>
1204
+ </div>
1205
+
1206
+ <div class="method_details ">
1207
+ <h3 class="signature " id="add_remote_repository-instance_method">
1208
+
1209
+ - (<tt>Object</tt>) <strong>add_remote_repository</strong>(url, username = nil, password = nil)
1210
+
1211
+
1212
+
1213
+
1214
+
1215
+ </h3><div class="docstring">
1216
+ <div class="discussion">
1217
+
1218
+ <p>Add remote repository</p>
1219
+
1220
+
1221
+ </div>
1222
+ </div>
1223
+ <div class="tags">
1224
+ <p class="tag_title">Parameters:</p>
1225
+ <ul class="param">
1226
+
1227
+ <li>
1228
+
1229
+ <span class='name'>url</span>
1230
+
1231
+
1232
+ <span class='type'>(<tt>String</tt>)</span>
1233
+
1234
+
1235
+
1236
+ &mdash;
1237
+ <div class='inline'>
1238
+ <p>of remote repo</p>
1239
+ </div>
1240
+
1241
+ </li>
1242
+
1243
+ <li>
1244
+
1245
+ <span class='name'>username</span>
1246
+
1247
+
1248
+ <span class='type'>(<tt>String</tt>)</span>
1249
+
1250
+
1251
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1252
+
1253
+
1254
+ &mdash;
1255
+ <div class='inline'>
1256
+ <p>optional</p>
1257
+ </div>
1258
+
1259
+ </li>
1260
+
1261
+ <li>
1262
+
1263
+ <span class='name'>password</span>
1264
+
1265
+
1266
+ <span class='type'>(<tt>String</tt>)</span>
1267
+
1268
+
1269
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
1270
+
1271
+
1272
+ &mdash;
1273
+ <div class='inline'>
1274
+ <p>optioanl</p>
1275
+ </div>
1276
+
1277
+ </li>
1278
+
1279
+ </ul>
1280
+
1281
+
1282
+ </div><table class="source_code">
1283
+ <tr>
1284
+ <td>
1285
+ <pre class="lines">
1286
+
1287
+
1288
+ 46
1289
+ 47
1290
+ 48
1291
+ 49
1292
+ 50
1293
+ 51
1294
+ 52</pre>
1295
+ </td>
1296
+ <td>
1297
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 46</span>
1298
+
1299
+ <span class='kw'>def</span> <span class='id identifier rubyid_add_remote_repository'>add_remote_repository</span><span class='lparen'>(</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_username'>username</span> <span class='op'>=</span> <span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_password'>password</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
1300
+ <span class='kw'>if</span> <span class='id identifier rubyid_username'>username</span>
1301
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addRemoteRepositoryByUrl'>addRemoteRepositoryByUrl</span><span class='lparen'>(</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_username'>username</span><span class='comma'>,</span> <span class='id identifier rubyid_password'>password</span> <span class='rparen'>)</span>
1302
+ <span class='kw'>else</span>
1303
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_addRemoteRepositoryByUrl'>addRemoteRepositoryByUrl</span><span class='lparen'>(</span> <span class='id identifier rubyid_url'>url</span> <span class='rparen'>)</span>
1304
+ <span class='kw'>end</span>
1305
+ <span class='kw'>end</span></pre>
1306
+ </td>
1307
+ </tr>
1308
+ </table>
1309
+ </div>
1310
+
1311
+ <div class="method_details ">
1312
+ <h3 class="signature " id="build_artifacts-instance_method">
1313
+
1314
+ - (<tt>Array</tt>) <strong>build_artifacts</strong>
1315
+
1316
+
1317
+
1318
+
1319
+
1320
+ </h3><div class="docstring">
1321
+ <div class="discussion">
1322
+
1323
+ <p>Get Build Artifacts</p>
1324
+
1325
+
1326
+ </div>
1327
+ </div>
1328
+ <div class="tags">
1329
+
1330
+ <p class="tag_title">Returns:</p>
1331
+ <ul class="return">
1332
+
1333
+ <li>
1334
+
1335
+
1336
+ <span class='type'>(<tt>Array</tt>)</span>
1337
+
1338
+
1339
+
1340
+ &mdash;
1341
+ <div class='inline'>
1342
+ <p>of build artifacts</p>
1343
+ </div>
1344
+
1345
+ </li>
1346
+
1347
+ </ul>
1348
+
1349
+ </div><table class="source_code">
1350
+ <tr>
1351
+ <td>
1352
+ <pre class="lines">
1353
+
1354
+
1355
+ 128
1356
+ 129
1357
+ 130</pre>
1358
+ </td>
1359
+ <td>
1360
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 128</span>
1361
+
1362
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_artifacts'>build_artifacts</span>
1363
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getBuildArtifacts'>getBuildArtifacts</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='rparen'>)</span>
1364
+ <span class='kw'>end</span></pre>
1365
+ </td>
1366
+ </tr>
1367
+ </table>
1368
+ </div>
1369
+
1370
+ <div class="method_details ">
1371
+ <h3 class="signature " id="build_artifacts=-instance_method">
1372
+
1373
+ - (<tt>Object</tt>) <strong>build_artifacts=</strong>(artifacts)
1374
+
1375
+
1376
+
1377
+
1378
+
1379
+ </h3><div class="docstring">
1380
+ <div class="discussion">
1381
+
1382
+ <p>Set local Build Artifacts, that will be used in the Dependency Resolution</p>
1383
+
1384
+
1385
+ </div>
1386
+ </div>
1387
+ <div class="tags">
1388
+ <p class="tag_title">Parameters:</p>
1389
+ <ul class="param">
1390
+
1391
+ <li>
1392
+
1393
+ <span class='name'>artifacts</span>
1394
+
1395
+
1396
+ <span class='type'>(<tt>Array&lt;Hash&gt;</tt>)</span>
1397
+
1398
+
1399
+
1400
+ &mdash;
1401
+ <div class='inline'>
1402
+ <p>of Hashs with { notation =&gt; path } or { notation =&gt; { :path =&gt;
1403
+ path, :pom =&gt; pom_path }</p>
1404
+ </div>
1405
+
1406
+ </li>
1407
+
1408
+ </ul>
1409
+
1410
+
1411
+ </div><table class="source_code">
1412
+ <tr>
1413
+ <td>
1414
+ <pre class="lines">
1415
+
1416
+
1417
+ 98
1418
+ 99
1419
+ 100
1420
+ 101
1421
+ 102
1422
+ 103
1423
+ 104
1424
+ 105
1425
+ 106
1426
+ 107
1427
+ 108
1428
+ 109
1429
+ 110
1430
+ 111
1431
+ 112
1432
+ 113
1433
+ 114
1434
+ 115
1435
+ 116
1436
+ 117
1437
+ 118
1438
+ 119
1439
+ 120
1440
+ 121</pre>
1441
+ </td>
1442
+ <td>
1443
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 98</span>
1444
+
1445
+ <span class='kw'>def</span> <span class='id identifier rubyid_build_artifacts='>build_artifacts=</span><span class='lparen'>(</span> <span class='id identifier rubyid_artifacts'>artifacts</span> <span class='rparen'>)</span>
1446
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_clearBuildArtifacts'>clearBuildArtifacts</span><span class='lparen'>(</span><span class='rparen'>)</span>
1447
+
1448
+ <span class='kw'>unless</span> <span class='id identifier rubyid_artifacts'>artifacts</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
1449
+ <span class='id identifier rubyid_artifacts'>artifacts</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_artifacts'>artifacts</span><span class='rbracket'>]</span>
1450
+ <span class='kw'>end</span>
1451
+
1452
+ <span class='id identifier rubyid_artifacts'>artifacts</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_artifact'>artifact</span><span class='op'>|</span>
1453
+ <span class='comment'># Hash of notation =&gt; path or notation =&gt; { :path =&gt;, :pom =&gt; }
1454
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span>
1455
+
1456
+ <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_shift'>shift</span>
1457
+
1458
+ <span class='kw'>if</span> <span class='id identifier rubyid_opts'>opts</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span>
1459
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_add_build_artifact'>add_build_artifact</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:path</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pom</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
1460
+ <span class='kw'>else</span>
1461
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_add_build_artifact'>add_build_artifact</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='rparen'>)</span>
1462
+ <span class='kw'>end</span>
1463
+
1464
+ <span class='kw'>else</span>
1465
+ <span class='id identifier rubyid_raise'>raise</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>invalid build_artifacts format</span><span class='tstring_end'>&quot;</span></span>
1466
+ <span class='kw'>end</span>
1467
+ <span class='kw'>end</span>
1468
+ <span class='kw'>end</span></pre>
1469
+ </td>
1470
+ </tr>
1471
+ </table>
1472
+ </div>
1473
+
1474
+ <div class="method_details ">
1475
+ <h3 class="signature " id="clear_remote_repositories-instance_method">
1476
+
1477
+ - (<tt>Object</tt>) <strong>clear_remote_repositories</strong>
1478
+
1479
+
1480
+
1481
+
1482
+
1483
+ </h3><div class="docstring">
1484
+ <div class="discussion">
1485
+
1486
+ <p>Clear all remote repositories</p>
1487
+
1488
+
1489
+ </div>
1490
+ </div>
1491
+ <div class="tags">
1492
+
1493
+
1494
+ </div><table class="source_code">
1495
+ <tr>
1496
+ <td>
1497
+ <pre class="lines">
1498
+
1499
+
1500
+ 37
1501
+ 38
1502
+ 39</pre>
1503
+ </td>
1504
+ <td>
1505
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 37</span>
1506
+
1507
+ <span class='kw'>def</span> <span class='id identifier rubyid_clear_remote_repositories'>clear_remote_repositories</span>
1508
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_clearRemoteRepositories'>clearRemoteRepositories</span><span class='lparen'>(</span><span class='rparen'>)</span>
1509
+ <span class='kw'>end</span></pre>
1510
+ </td>
1511
+ </tr>
1512
+ </table>
1513
+ </div>
1514
+
1515
+ <div class="method_details ">
1516
+ <h3 class="signature " id="dependencies-instance_method">
1517
+
1518
+ - (<tt>Array</tt>) <strong>dependencies</strong>
1519
+
1520
+
1521
+
1522
+
1523
+
1524
+ </h3><div class="docstring">
1525
+ <div class="discussion">
1526
+
1527
+ <p>Get array of dependencies</p>
1528
+
1529
+
1530
+ </div>
1531
+ </div>
1532
+ <div class="tags">
1533
+
1534
+ <p class="tag_title">Returns:</p>
1535
+ <ul class="return">
1536
+
1537
+ <li>
1538
+
1539
+
1540
+ <span class='type'>(<tt>Array</tt>)</span>
1541
+
1542
+
1543
+
1544
+ </li>
1545
+
1546
+ </ul>
1547
+
1548
+ </div><table class="source_code">
1549
+ <tr>
1550
+ <td>
1551
+ <pre class="lines">
1552
+
1553
+
1554
+ 225
1555
+ 226
1556
+ 227</pre>
1557
+ </td>
1558
+ <td>
1559
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 225</span>
1560
+
1561
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies'>dependencies</span>
1562
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_currentDependencies'>currentDependencies</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='rparen'>)</span>
1563
+ <span class='kw'>end</span></pre>
1564
+ </td>
1565
+ </tr>
1566
+ </table>
1567
+ </div>
1568
+
1569
+ <div class="method_details ">
1570
+ <h3 class="signature " id="dependencies=-instance_method">
1571
+
1572
+ - (<tt>Object</tt>) <strong>dependencies=</strong>(dependencies)
1573
+
1574
+
1575
+
1576
+
1577
+
1578
+ </h3><div class="docstring">
1579
+ <div class="discussion">
1580
+
1581
+ <p>Set the dependencies</p>
1582
+
1583
+ <p>The dependencies param takes an [Array] of mixed dependencies:</p>
1584
+
1585
+ <pre class="ruby">* [<span class="ruby-constant">String</span>] <span class="ruby-constant">Artifact</span> <span class="ruby-identifier">notation</span>, <span class="ruby-identifier">such</span> <span class="ruby-identifier">as</span> <span class="ruby-identifier">groupId</span>:<span class="ruby-identifier">artifactId</span><span class="ruby-operator">:</span><span class="ruby-identifier">version</span>, <span class="ruby-identifier">e</span>.<span class="ruby-identifier">g</span>. <span class="ruby-string">'junit:junit:4.7'</span>
1586
+ * [<span class="ruby-constant">Hash</span>] <span class="ruby-identifier">of</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">single</span> <span class="ruby-identifier">artifaction</span> <span class="ruby-identifier">notation</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">scope</span> <span class="ruby-operator">-</span> { <span class="ruby-string">'junit:junit:4.7'</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-string">'test'</span> }
1587
+ * [<span class="ruby-constant">String</span>] <span class="ruby-identifier">path</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">local</span> <span class="ruby-identifier">pom</span> <span class="ruby-operator">-</span> <span class="ruby-string">'lib/pom.xml'</span>
1588
+ * [<span class="ruby-constant">Hash</span>] <span class="ruby-identifier">of</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">single</span> <span class="ruby-identifier">path</span> <span class="ruby-identifier">to</span> <span class="ruby-identifier">a</span> <span class="ruby-identifier">local</span> <span class="ruby-identifier">pom</span> =<span class="ruby-operator">&gt;</span> <span class="ruby-identifier">scope</span> <span class="ruby-operator">-</span> { <span class="ruby-string">'lib/pom.xml'</span> =<span class="ruby-operator">&gt;</span> [<span class="ruby-string">'compile'</span>,<span class="ruby-string">'test'</span>] }
1589
+ </pre>
1590
+
1591
+
1592
+ </div>
1593
+ </div>
1594
+ <div class="tags">
1595
+ <p class="tag_title">Parameters:</p>
1596
+ <ul class="param">
1597
+
1598
+ <li>
1599
+
1600
+ <span class='name'>dependencies</span>
1601
+
1602
+
1603
+ <span class='type'>(<tt>Array</tt>)</span>
1604
+
1605
+
1606
+
1607
+ </li>
1608
+
1609
+ </ul>
1610
+
1611
+
1612
+ <p class="tag_title">See Also:</p>
1613
+ <ul class="see">
1614
+
1615
+ <li><a href="https://github.com/mguymon/naether/wiki/Notations" target="_parent" title="https://github.com/mguymon/naether/wiki/Notations">https://github.com/mguymon/naether/wiki/Notations</a></li>
1616
+
1617
+ </ul>
1618
+
1619
+ </div><table class="source_code">
1620
+ <tr>
1621
+ <td>
1622
+ <pre class="lines">
1623
+
1624
+
1625
+ 176
1626
+ 177
1627
+ 178
1628
+ 179
1629
+ 180
1630
+ 181
1631
+ 182
1632
+ 183
1633
+ 184
1634
+ 185
1635
+ 186
1636
+ 187
1637
+ 188
1638
+ 189
1639
+ 190
1640
+ 191
1641
+ 192
1642
+ 193
1643
+ 194
1644
+ 195
1645
+ 196
1646
+ 197
1647
+ 198
1648
+ 199
1649
+ 200
1650
+ 201
1651
+ 202
1652
+ 203
1653
+ 204
1654
+ 205
1655
+ 206
1656
+ 207
1657
+ 208
1658
+ 209
1659
+ 210
1660
+ 211
1661
+ 212
1662
+ 213
1663
+ 214
1664
+ 215
1665
+ 216
1666
+ 217
1667
+ 218
1668
+ 219
1669
+ 220</pre>
1670
+ </td>
1671
+ <td>
1672
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 176</span>
1673
+
1674
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies='>dependencies=</span><span class='lparen'>(</span><span class='id identifier rubyid_dependencies'>dependencies</span><span class='rparen'>)</span>
1675
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_clearDependencies'>clearDependencies</span><span class='lparen'>(</span><span class='rparen'>)</span>
1676
+
1677
+ <span class='kw'>unless</span> <span class='id identifier rubyid_dependencies'>dependencies</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
1678
+ <span class='id identifier rubyid_dependencies'>dependencies</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_dependencies'>dependencies</span><span class='rbracket'>]</span>
1679
+ <span class='kw'>end</span>
1680
+
1681
+ <span class='id identifier rubyid_dependencies'>dependencies</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_dependent'>dependent</span><span class='op'>|</span>
1682
+ <span class='comment'># Hash of notation =&gt; scope
1683
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Hash</span>
1684
+ <span class='id identifier rubyid_key'>key</span> <span class='op'>=</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='period'>.</span><span class='id identifier rubyid_keys'>keys</span><span class='period'>.</span><span class='id identifier rubyid_first'>first</span>
1685
+
1686
+ <span class='comment'># Add pom dependencies with scopes
1687
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_key'>key</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\.xml$</span><span class='regexp_end'>/i</span></span>
1688
+ <span class='id identifier rubyid_scopes'>scopes</span> <span class='op'>=</span> <span class='kw'>nil</span>
1689
+ <span class='kw'>if</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>Array</span>
1690
+ <span class='id identifier rubyid_scopes'>scopes</span> <span class='op'>=</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span>
1691
+ <span class='kw'>else</span>
1692
+ <span class='id identifier rubyid_scopes'>scopes</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_dependent'>dependent</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span><span class='rbracket'>]</span>
1693
+ <span class='kw'>end</span>
1694
+
1695
+ <span class='id identifier rubyid_add_pom_dependencies'>add_pom_dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_scopes'>scopes</span> <span class='rparen'>)</span>
1696
+
1697
+ <span class='comment'># Add a dependency notation with scopes
1698
+ </span> <span class='kw'>else</span>
1699
+ <span class='id identifier rubyid_add_notation_dependency'>add_notation_dependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_key'>key</span><span class='comma'>,</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='lbracket'>[</span><span class='id identifier rubyid_key'>key</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
1700
+ <span class='kw'>end</span>
1701
+
1702
+ <span class='kw'>elsif</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>String</span>
1703
+
1704
+ <span class='comment'># Add pom dependencies with default scopes
1705
+ </span> <span class='kw'>if</span> <span class='id identifier rubyid_dependent'>dependent</span> <span class='op'>=~</span> <span class='tstring'><span class='regexp_beg'>/</span><span class='tstring_content'>\.xml$</span><span class='regexp_end'>/i</span></span>
1706
+ <span class='id identifier rubyid_add_pom_dependencies'>add_pom_dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_dependent'>dependent</span> <span class='rparen'>)</span>
1707
+
1708
+ <span class='comment'># Add a dependency notation with compile scope
1709
+ </span> <span class='kw'>else</span>
1710
+ <span class='id identifier rubyid_add_notation_dependency'>add_notation_dependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_dependent'>dependent</span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>compile</span><span class='tstring_end'>'</span></span> <span class='rparen'>)</span>
1711
+ <span class='kw'>end</span>
1712
+
1713
+ <span class='comment'># Add an Aether dependency
1714
+ </span> <span class='kw'>else</span>
1715
+ <span class='id identifier rubyid_add_dependency'>add_dependency</span><span class='lparen'>(</span> <span class='id identifier rubyid_dependent'>dependent</span> <span class='rparen'>)</span>
1716
+ <span class='kw'>end</span>
1717
+ <span class='kw'>end</span>
1718
+ <span class='kw'>end</span></pre>
1719
+ </td>
1720
+ </tr>
1721
+ </table>
1722
+ </div>
1723
+
1724
+ <div class="method_details ">
1725
+ <h3 class="signature " id="dependencies_classpath-instance_method">
1726
+
1727
+ - (<tt>String</tt>) <strong>dependencies_classpath</strong>
1728
+
1729
+
1730
+
1731
+
1732
+
1733
+ </h3><div class="docstring">
1734
+ <div class="discussion">
1735
+
1736
+ <p>Convert dependencies to Classpath friendly string</p>
1737
+
1738
+
1739
+ </div>
1740
+ </div>
1741
+ <div class="tags">
1742
+
1743
+ <p class="tag_title">Returns:</p>
1744
+ <ul class="return">
1745
+
1746
+ <li>
1747
+
1748
+
1749
+ <span class='type'>(<tt>String</tt>)</span>
1750
+
1751
+
1752
+
1753
+ </li>
1754
+
1755
+ </ul>
1756
+
1757
+ </div><table class="source_code">
1758
+ <tr>
1759
+ <td>
1760
+ <pre class="lines">
1761
+
1762
+
1763
+ 247
1764
+ 248
1765
+ 249</pre>
1766
+ </td>
1767
+ <td>
1768
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 247</span>
1769
+
1770
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies_classpath'>dependencies_classpath</span>
1771
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getResolvedClassPath'>getResolvedClassPath</span><span class='lparen'>(</span><span class='rparen'>)</span>
1772
+ <span class='kw'>end</span></pre>
1773
+ </td>
1774
+ </tr>
1775
+ </table>
1776
+ </div>
1777
+
1778
+ <div class="method_details ">
1779
+ <h3 class="signature " id="dependencies_graph-instance_method">
1780
+
1781
+ - (<tt>Hash</tt>) <strong>dependencies_graph</strong>(nodes = nil)
1782
+
1783
+
1784
+
1785
+
1786
+
1787
+ </h3><div class="docstring">
1788
+ <div class="discussion">
1789
+
1790
+ <p>Dependencies as a Graph of nested Hashes</p>
1791
+
1792
+
1793
+ </div>
1794
+ </div>
1795
+ <div class="tags">
1796
+
1797
+ <p class="tag_title">Returns:</p>
1798
+ <ul class="return">
1799
+
1800
+ <li>
1801
+
1802
+
1803
+ <span class='type'>(<tt>Hash</tt>)</span>
1804
+
1805
+
1806
+
1807
+ </li>
1808
+
1809
+ </ul>
1810
+
1811
+ </div><table class="source_code">
1812
+ <tr>
1813
+ <td>
1814
+ <pre class="lines">
1815
+
1816
+
1817
+ 254
1818
+ 255
1819
+ 256
1820
+ 257
1821
+ 258
1822
+ 259
1823
+ 260
1824
+ 261
1825
+ 262
1826
+ 263
1827
+ 264
1828
+ 265
1829
+ 266
1830
+ 267
1831
+ 268
1832
+ 269
1833
+ 270
1834
+ 271
1835
+ 272
1836
+ 273</pre>
1837
+ </td>
1838
+ <td>
1839
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 254</span>
1840
+
1841
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies_graph'>dependencies_graph</span><span class='lparen'>(</span><span class='id identifier rubyid_nodes'>nodes</span><span class='op'>=</span><span class='kw'>nil</span><span class='rparen'>)</span>
1842
+ <span class='id identifier rubyid_nodes'>nodes</span> <span class='op'>=</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getDependenciesGraph'>getDependenciesGraph</span><span class='lparen'>(</span><span class='rparen'>)</span> <span class='kw'>unless</span> <span class='id identifier rubyid_nodes'>nodes</span>
1843
+
1844
+ <span class='id identifier rubyid_graph'>graph</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span>
1845
+ <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
1846
+ <span class='id identifier rubyid_nodes'>nodes</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
1847
+ <span class='id identifier rubyid_deps'>deps</span> <span class='op'>=</span> <span class='id identifier rubyid_dependencies_graph'>dependencies_graph</span><span class='lparen'>(</span><span class='id identifier rubyid_v'>v</span><span class='rparen'>)</span>
1848
+ <span class='id identifier rubyid_graph'>graph</span><span class='lbracket'>[</span><span class='id identifier rubyid_k'>k</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_hash'>convert_to_ruby_hash</span><span class='lparen'>(</span> <span class='id identifier rubyid_deps'>deps</span> <span class='rparen'>)</span>
1849
+ <span class='kw'>end</span>
1850
+ <span class='kw'>else</span>
1851
+ <span class='id identifier rubyid_iterator'>iterator</span> <span class='op'>=</span> <span class='id identifier rubyid_nodes'>nodes</span><span class='period'>.</span><span class='id identifier rubyid_entrySet'>entrySet</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_iterator'>iterator</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span>
1852
+ <span class='kw'>while</span> <span class='id identifier rubyid_iterator'>iterator</span><span class='period'>.</span><span class='id identifier rubyid_hasNext'>hasNext</span><span class='lparen'>(</span><span class='rparen'>)</span>
1853
+ <span class='id identifier rubyid_entry'>entry</span> <span class='op'>=</span> <span class='id identifier rubyid_iterator'>iterator</span><span class='period'>.</span><span class='id identifier rubyid_next'>next</span><span class='lparen'>(</span><span class='rparen'>)</span>
1854
+ <span class='id identifier rubyid_deps'>deps</span> <span class='op'>=</span> <span class='id identifier rubyid_dependencies_graph'>dependencies_graph</span><span class='lparen'>(</span><span class='id identifier rubyid_entry'>entry</span><span class='period'>.</span><span class='id identifier rubyid_getValue'>getValue</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='rparen'>)</span>
1855
+ <span class='id identifier rubyid_graph'>graph</span><span class='lbracket'>[</span><span class='id identifier rubyid_entry'>entry</span><span class='period'>.</span><span class='id identifier rubyid_getKey'>getKey</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_toString'>toString</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='rbracket'>]</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_hash'>convert_to_ruby_hash</span><span class='lparen'>(</span> <span class='id identifier rubyid_deps'>deps</span> <span class='rparen'>)</span>
1856
+ <span class='kw'>end</span>
1857
+ <span class='kw'>end</span>
1858
+
1859
+ <span class='id identifier rubyid_graph'>graph</span>
1860
+ <span class='kw'>end</span></pre>
1861
+ </td>
1862
+ </tr>
1863
+ </table>
1864
+ </div>
1865
+
1866
+ <div class="method_details ">
1867
+ <h3 class="signature " id="dependencies_notation-instance_method">
1868
+
1869
+ - (<tt>Array&lt;String&gt;</tt>) <strong>dependencies_notation</strong>
1870
+
1871
+
1872
+
1873
+
1874
+
1875
+ </h3><div class="docstring">
1876
+ <div class="discussion">
1877
+
1878
+ <p>Get array of dependencies as notation</p>
1879
+
1880
+
1881
+ </div>
1882
+ </div>
1883
+ <div class="tags">
1884
+
1885
+ <p class="tag_title">Returns:</p>
1886
+ <ul class="return">
1887
+
1888
+ <li>
1889
+
1890
+
1891
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
1892
+
1893
+
1894
+
1895
+ &mdash;
1896
+ <div class='inline'>
1897
+ <p>of notations</p>
1898
+ </div>
1899
+
1900
+ </li>
1901
+
1902
+ </ul>
1903
+
1904
+ <p class="tag_title">See Also:</p>
1905
+ <ul class="see">
1906
+
1907
+ <li><a href="https://github.com/mguymon/naether/wiki/Notations" target="_parent" title="https://github.com/mguymon/naether/wiki/Notations">https://github.com/mguymon/naether/wiki/Notations</a></li>
1908
+
1909
+ </ul>
1910
+
1911
+ </div><table class="source_code">
1912
+ <tr>
1913
+ <td>
1914
+ <pre class="lines">
1915
+
1916
+
1917
+ 233
1918
+ 234
1919
+ 235</pre>
1920
+ </td>
1921
+ <td>
1922
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 233</span>
1923
+
1924
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies_notation'>dependencies_notation</span>
1925
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span><span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getDependenciesNotation'>getDependenciesNotation</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span>
1926
+ <span class='kw'>end</span></pre>
1927
+ </td>
1928
+ </tr>
1929
+ </table>
1930
+ </div>
1931
+
1932
+ <div class="method_details ">
1933
+ <h3 class="signature " id="dependencies_path-instance_method">
1934
+
1935
+ - (<tt>Array&lt;Hash&gt;</tt>) <strong>dependencies_path</strong>
1936
+
1937
+
1938
+
1939
+
1940
+
1941
+ </h3><div class="docstring">
1942
+ <div class="discussion">
1943
+
1944
+ <p>Hash of dependency paths</p>
1945
+
1946
+
1947
+ </div>
1948
+ </div>
1949
+ <div class="tags">
1950
+
1951
+ <p class="tag_title">Returns:</p>
1952
+ <ul class="return">
1953
+
1954
+ <li>
1955
+
1956
+
1957
+ <span class='type'>(<tt>Array&lt;Hash&gt;</tt>)</span>
1958
+
1959
+
1960
+
1961
+ &mdash;
1962
+ <div class='inline'>
1963
+ <p>of { notation =&gt; path }</p>
1964
+ </div>
1965
+
1966
+ </li>
1967
+
1968
+ </ul>
1969
+
1970
+ </div><table class="source_code">
1971
+ <tr>
1972
+ <td>
1973
+ <pre class="lines">
1974
+
1975
+
1976
+ 240
1977
+ 241
1978
+ 242</pre>
1979
+ </td>
1980
+ <td>
1981
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 240</span>
1982
+
1983
+ <span class='kw'>def</span> <span class='id identifier rubyid_dependencies_path'>dependencies_path</span>
1984
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_hash'>convert_to_ruby_hash</span><span class='lparen'>(</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getDependenciesPath'>getDependenciesPath</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>true</span> <span class='rparen'>)</span>
1985
+ <span class='kw'>end</span></pre>
1986
+ </td>
1987
+ </tr>
1988
+ </table>
1989
+ </div>
1990
+
1991
+ <div class="method_details ">
1992
+ <h3 class="signature " id="deploy_artifact-instance_method">
1993
+
1994
+ - (<tt>Object</tt>) <strong>deploy_artifact</strong>(notation, file_path, url, opts = {})
1995
+
1996
+
1997
+
1998
+
1999
+
2000
+ </h3><div class="docstring">
2001
+ <div class="discussion">
2002
+
2003
+ <p>Deploy artifact to remote repo url</p>
2004
+
2005
+
2006
+ </div>
2007
+ </div>
2008
+ <div class="tags">
2009
+ <p class="tag_title">Parameters:</p>
2010
+ <ul class="param">
2011
+
2012
+ <li>
2013
+
2014
+ <span class='name'>notation</span>
2015
+
2016
+
2017
+ <span class='type'>(<tt>String</tt>)</span>
2018
+
2019
+
2020
+
2021
+ </li>
2022
+
2023
+ <li>
2024
+
2025
+ <span class='name'>file_path</span>
2026
+
2027
+
2028
+ <span class='type'>(<tt>String</tt>)</span>
2029
+
2030
+
2031
+
2032
+ &mdash;
2033
+ <div class='inline'>
2034
+ <p>to artifact to deploy</p>
2035
+ </div>
2036
+
2037
+ </li>
2038
+
2039
+ <li>
2040
+
2041
+ <span class='name'>url</span>
2042
+
2043
+
2044
+ <span class='type'>(<tt>String</tt>)</span>
2045
+
2046
+
2047
+
2048
+ &mdash;
2049
+ <div class='inline'>
2050
+ <p>to deploy to</p>
2051
+ </div>
2052
+
2053
+ </li>
2054
+
2055
+ <li>
2056
+
2057
+ <span class='name'>opts</span>
2058
+
2059
+
2060
+ <span class='type'>(<tt>Hash</tt>)</span>
2061
+
2062
+
2063
+ <em class="default">(defaults to: <tt>{}</tt>)</em>
2064
+
2065
+
2066
+ </li>
2067
+
2068
+ </ul>
2069
+
2070
+
2071
+
2072
+
2073
+
2074
+
2075
+
2076
+
2077
+
2078
+
2079
+ <p class="tag_title">Options Hash (<tt>opts</tt>):</p>
2080
+ <ul class="option">
2081
+
2082
+ <li>
2083
+ <span class="name">:pom_path</span>
2084
+ <span class="type">(<tt>String</tt>)</span>
2085
+ <span class="default">
2086
+
2087
+ </span>
2088
+
2089
+ &mdash; <div class='inline'>
2090
+ <p>path to pom.xml</p>
2091
+ </div>
2092
+
2093
+ </li>
2094
+
2095
+ <li>
2096
+ <span class="name">:username</span>
2097
+ <span class="type">(<tt>String</tt>)</span>
2098
+ <span class="default">
2099
+
2100
+ </span>
2101
+
2102
+ &mdash; <div class='inline'>
2103
+ <p>for optional auth</p>
2104
+ </div>
2105
+
2106
+ </li>
2107
+
2108
+ <li>
2109
+ <span class="name">:password</span>
2110
+ <span class="type">(<tt>String</tt>)</span>
2111
+ <span class="default">
2112
+
2113
+ </span>
2114
+
2115
+ &mdash; <div class='inline'>
2116
+ <p>for optional auth</p>
2117
+ </div>
2118
+
2119
+ </li>
2120
+
2121
+ <li>
2122
+ <span class="name">:pub_key</span>
2123
+ <span class="type">(<tt>String</tt>)</span>
2124
+ <span class="default">
2125
+
2126
+ </span>
2127
+
2128
+ &mdash; <div class='inline'>
2129
+ <p>for optional auth</p>
2130
+ </div>
2131
+
2132
+ </li>
2133
+
2134
+ <li>
2135
+ <span class="name">:pub_key_passphrase</span>
2136
+ <span class="type">(<tt>String</tt>)</span>
2137
+ <span class="default">
2138
+
2139
+ </span>
2140
+
2141
+ &mdash; <div class='inline'>
2142
+ <p>for optional auth</p>
2143
+ </div>
2144
+
2145
+ </li>
2146
+
2147
+ </ul>
2148
+
2149
+
2150
+
2151
+ </div><table class="source_code">
2152
+ <tr>
2153
+ <td>
2154
+ <pre class="lines">
2155
+
2156
+
2157
+ 364
2158
+ 365
2159
+ 366
2160
+ 367
2161
+ 368
2162
+ 369
2163
+ 370
2164
+ 371
2165
+ 372
2166
+ 373
2167
+ 374
2168
+ 375
2169
+ 376
2170
+ 377
2171
+ 378
2172
+ 379
2173
+ 380
2174
+ 381
2175
+ 382</pre>
2176
+ </td>
2177
+ <td>
2178
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 364</span>
2179
+
2180
+ <span class='kw'>def</span> <span class='id identifier rubyid_deploy_artifact'>deploy_artifact</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_file_path'>file_path</span><span class='comma'>,</span> <span class='id identifier rubyid_url'>url</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span> <span class='op'>=</span> <span class='lbrace'>{</span><span class='rbrace'>}</span> <span class='rparen'>)</span>
2181
+ <span class='id identifier rubyid_artifact'>artifact</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>com.tobedevoured.naether.deploy.DeployArtifact</span><span class='tstring_end'>&quot;</span></span> <span class='rparen'>)</span>
2182
+
2183
+ <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_setRemoteRepo'>setRemoteRepo</span><span class='lparen'>(</span> <span class='id identifier rubyid_url'>url</span> <span class='rparen'>)</span>
2184
+ <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_setNotation'>setNotation</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span> <span class='rparen'>)</span>
2185
+ <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_setFilePath'>setFilePath</span><span class='lparen'>(</span> <span class='id identifier rubyid_file_path'>file_path</span> <span class='rparen'>)</span>
2186
+ <span class='kw'>if</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pom_path</span><span class='rbracket'>]</span>
2187
+ <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_setPomPath'>setPomPath</span><span class='lparen'>(</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pom_path</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
2188
+ <span class='kw'>end</span>
2189
+
2190
+ <span class='kw'>if</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:username</span><span class='rbracket'>]</span> <span class='op'>||</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pub_key</span><span class='rbracket'>]</span>
2191
+ <span class='id identifier rubyid_artifact'>artifact</span><span class='period'>.</span><span class='id identifier rubyid_setAuth'>setAuth</span><span class='lparen'>(</span><span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:username</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:password</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pub_key</span><span class='rbracket'>]</span><span class='comma'>,</span> <span class='id identifier rubyid_opts'>opts</span><span class='lbracket'>[</span><span class='symbol'>:pub_key_passphrase</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
2192
+ <span class='kw'>end</span>
2193
+ <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
2194
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_deployArtifact'>deployArtifact</span><span class='lparen'>(</span><span class='id identifier rubyid_artifact'>artifact</span><span class='rparen'>)</span>
2195
+ <span class='kw'>else</span>
2196
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid__invoke'>_invoke</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>deployArtifact</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Lcom.tobedevoured.naether.deploy.DeployArtifact;</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_artifact'>artifact</span> <span class='rparen'>)</span>
2197
+ <span class='kw'>end</span>
2198
+ <span class='kw'>end</span></pre>
2199
+ </td>
2200
+ </tr>
2201
+ </table>
2202
+ </div>
2203
+
2204
+ <div class="method_details ">
2205
+ <h3 class="signature " id="download_artifacts-instance_method">
2206
+
2207
+ - (<tt>Array&lt;String&gt;</tt>) <strong>download_artifacts</strong>(notations)
2208
+
2209
+
2210
+
2211
+
2212
+
2213
+ </h3><div class="docstring">
2214
+ <div class="discussion">
2215
+
2216
+ <p>Download artifacts</p>
2217
+
2218
+
2219
+ </div>
2220
+ </div>
2221
+ <div class="tags">
2222
+ <p class="tag_title">Parameters:</p>
2223
+ <ul class="param">
2224
+
2225
+ <li>
2226
+
2227
+ <span class='name'>notations</span>
2228
+
2229
+
2230
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2231
+
2232
+
2233
+
2234
+ </li>
2235
+
2236
+ </ul>
2237
+
2238
+ <p class="tag_title">Returns:</p>
2239
+ <ul class="return">
2240
+
2241
+ <li>
2242
+
2243
+
2244
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2245
+
2246
+
2247
+
2248
+ &mdash;
2249
+ <div class='inline'>
2250
+ <p>of paths of downloaded artifacts</p>
2251
+ </div>
2252
+
2253
+ </li>
2254
+
2255
+ </ul>
2256
+
2257
+ </div><table class="source_code">
2258
+ <tr>
2259
+ <td>
2260
+ <pre class="lines">
2261
+
2262
+
2263
+ 331
2264
+ 332
2265
+ 333
2266
+ 334
2267
+ 335
2268
+ 336
2269
+ 337
2270
+ 338
2271
+ 339
2272
+ 340
2273
+ 341
2274
+ 342
2275
+ 343
2276
+ 344
2277
+ 345
2278
+ 346
2279
+ 347
2280
+ 348
2281
+ 349
2282
+ 350</pre>
2283
+ </td>
2284
+ <td>
2285
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 331</span>
2286
+
2287
+ <span class='kw'>def</span> <span class='id identifier rubyid_download_artifacts'>download_artifacts</span><span class='lparen'>(</span> <span class='id identifier rubyid_notations'>notations</span> <span class='rparen'>)</span>
2288
+ <span class='kw'>if</span><span class='lparen'>(</span> <span class='id identifier rubyid_notations'>notations</span><span class='period'>.</span><span class='id identifier rubyid_is_a?'>is_a?</span> <span class='const'>String</span> <span class='rparen'>)</span>
2289
+ <span class='id identifier rubyid_notations'>notations</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='id identifier rubyid_notations'>notations</span><span class='rbracket'>]</span>
2290
+ <span class='kw'>end</span>
2291
+
2292
+ <span class='id identifier rubyid_files'>files</span> <span class='op'>=</span> <span class='kw'>nil</span>
2293
+ <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
2294
+ <span class='id identifier rubyid_files'>files</span> <span class='op'>=</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_downloadArtifacts'>downloadArtifacts</span><span class='lparen'>(</span> <span class='id identifier rubyid_notations'>notations</span> <span class='rparen'>)</span>
2295
+ <span class='kw'>else</span>
2296
+ <span class='id identifier rubyid_list'>list</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_java_list'>convert_to_java_list</span><span class='lparen'>(</span> <span class='id identifier rubyid_notations'>notations</span> <span class='rparen'>)</span>
2297
+ <span class='id identifier rubyid_files'>files</span> <span class='op'>=</span> <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid__invoke'>_invoke</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>downloadArtifacts</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>Ljava.util.List;</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_list'>list</span><span class='rparen'>)</span>
2298
+ <span class='kw'>end</span>
2299
+
2300
+ <span class='id identifier rubyid_paths'>paths</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
2301
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span><span class='id identifier rubyid_files'>files</span><span class='rparen'>)</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_file'>file</span><span class='op'>|</span>
2302
+ <span class='id identifier rubyid_paths'>paths</span> <span class='op'>&lt;&lt;</span> <span class='id identifier rubyid_file'>file</span><span class='period'>.</span><span class='id identifier rubyid_getAbsolutePath'>getAbsolutePath</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='semicolon'>;</span>
2303
+ <span class='kw'>end</span>
2304
+
2305
+ <span class='id identifier rubyid_paths'>paths</span>
2306
+ <span class='kw'>end</span></pre>
2307
+ </td>
2308
+ </tr>
2309
+ </table>
2310
+ </div>
2311
+
2312
+ <div class="method_details ">
2313
+ <h3 class="signature " id="install-instance_method">
2314
+
2315
+ - (<tt>Object</tt>) <strong>install</strong>(notation, pom_path = nil, jar_path = nil)
2316
+
2317
+
2318
+
2319
+
2320
+
2321
+ </h3><div class="docstring">
2322
+ <div class="discussion">
2323
+
2324
+ <p>Install artifact or pom to local repo, must specify pom_path and/or
2325
+ jar_path</p>
2326
+
2327
+
2328
+ </div>
2329
+ </div>
2330
+ <div class="tags">
2331
+ <p class="tag_title">Parameters:</p>
2332
+ <ul class="param">
2333
+
2334
+ <li>
2335
+
2336
+ <span class='name'>notation</span>
2337
+
2338
+
2339
+ <span class='type'>(<tt>String</tt>)</span>
2340
+
2341
+
2342
+
2343
+ </li>
2344
+
2345
+ <li>
2346
+
2347
+ <span class='name'>pom_path</span>
2348
+
2349
+
2350
+ <span class='type'>(<tt>String</tt>)</span>
2351
+
2352
+
2353
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2354
+
2355
+
2356
+ </li>
2357
+
2358
+ <li>
2359
+
2360
+ <span class='name'>jar_path</span>
2361
+
2362
+
2363
+ <span class='type'>(<tt>String</tt>)</span>
2364
+
2365
+
2366
+ <em class="default">(defaults to: <tt>nil</tt>)</em>
2367
+
2368
+
2369
+ </li>
2370
+
2371
+ </ul>
2372
+
2373
+
2374
+ </div><table class="source_code">
2375
+ <tr>
2376
+ <td>
2377
+ <pre class="lines">
2378
+
2379
+
2380
+ 389
2381
+ 390
2382
+ 391</pre>
2383
+ </td>
2384
+ <td>
2385
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 389</span>
2386
+
2387
+ <span class='kw'>def</span> <span class='id identifier rubyid_install'>install</span><span class='lparen'>(</span> <span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_pom_path'>pom_path</span> <span class='op'>=</span><span class='kw'>nil</span><span class='comma'>,</span> <span class='id identifier rubyid_jar_path'>jar_path</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
2388
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_install'>install</span><span class='lparen'>(</span><span class='id identifier rubyid_notation'>notation</span><span class='comma'>,</span> <span class='id identifier rubyid_pom_path'>pom_path</span><span class='comma'>,</span> <span class='id identifier rubyid_jar_path'>jar_path</span><span class='rparen'>)</span>
2389
+ <span class='kw'>end</span></pre>
2390
+ </td>
2391
+ </tr>
2392
+ </table>
2393
+ </div>
2394
+
2395
+ <div class="method_details ">
2396
+ <h3 class="signature " id="load_dependencies_to_classpath-instance_method">
2397
+
2398
+ - (<tt>Array</tt>) <strong>load_dependencies_to_classpath</strong>
2399
+
2400
+
2401
+
2402
+
2403
+
2404
+ </h3><div class="docstring">
2405
+ <div class="discussion">
2406
+
2407
+ <p>Load dependencies to Classpath</p>
2408
+
2409
+
2410
+ </div>
2411
+ </div>
2412
+ <div class="tags">
2413
+
2414
+ <p class="tag_title">Returns:</p>
2415
+ <ul class="return">
2416
+
2417
+ <li>
2418
+
2419
+
2420
+ <span class='type'>(<tt>Array</tt>)</span>
2421
+
2422
+
2423
+
2424
+ &mdash;
2425
+ <div class='inline'>
2426
+ <p>of loaded jars</p>
2427
+ </div>
2428
+
2429
+ </li>
2430
+
2431
+ </ul>
2432
+
2433
+ </div><table class="source_code">
2434
+ <tr>
2435
+ <td>
2436
+ <pre class="lines">
2437
+
2438
+
2439
+ 278
2440
+ 279
2441
+ 280
2442
+ 281
2443
+ 282
2444
+ 283</pre>
2445
+ </td>
2446
+ <td>
2447
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 278</span>
2448
+
2449
+ <span class='kw'>def</span> <span class='id identifier rubyid_load_dependencies_to_classpath'>load_dependencies_to_classpath</span>
2450
+ <span class='id identifier rubyid_jars'>jars</span> <span class='op'>=</span> <span class='id identifier rubyid_dependencies_classpath'>dependencies_classpath</span><span class='period'>.</span><span class='id identifier rubyid_split'>split</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>:</span><span class='tstring_end'>&quot;</span></span><span class='rparen'>)</span>
2451
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_load_jars'>load_jars</span><span class='lparen'>(</span><span class='id identifier rubyid_jars'>jars</span><span class='rparen'>)</span>
2452
+
2453
+ <span class='id identifier rubyid_jars'>jars</span>
2454
+ <span class='kw'>end</span></pre>
2455
+ </td>
2456
+ </tr>
2457
+ </table>
2458
+ </div>
2459
+
2460
+ <div class="method_details ">
2461
+ <h3 class="signature " id="local_repo_path-instance_method">
2462
+
2463
+ - (<tt>String</tt>) <strong>local_repo_path</strong>
2464
+
2465
+
2466
+
2467
+
2468
+
2469
+ </h3><div class="docstring">
2470
+ <div class="discussion">
2471
+
2472
+ <p>Path to local maven repo</p>
2473
+
2474
+
2475
+ </div>
2476
+ </div>
2477
+ <div class="tags">
2478
+
2479
+ <p class="tag_title">Returns:</p>
2480
+ <ul class="return">
2481
+
2482
+ <li>
2483
+
2484
+
2485
+ <span class='type'>(<tt>String</tt>)</span>
2486
+
2487
+
2488
+
2489
+ &mdash;
2490
+ <div class='inline'>
2491
+ <p>path to local repo</p>
2492
+ </div>
2493
+
2494
+ </li>
2495
+
2496
+ </ul>
2497
+
2498
+ </div><table class="source_code">
2499
+ <tr>
2500
+ <td>
2501
+ <pre class="lines">
2502
+
2503
+
2504
+ 71
2505
+ 72
2506
+ 73</pre>
2507
+ </td>
2508
+ <td>
2509
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 71</span>
2510
+
2511
+ <span class='kw'>def</span> <span class='id identifier rubyid_local_repo_path'>local_repo_path</span>
2512
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getLocalRepoPath'>getLocalRepoPath</span><span class='lparen'>(</span><span class='rparen'>)</span>
2513
+ <span class='kw'>end</span></pre>
2514
+ </td>
2515
+ </tr>
2516
+ </table>
2517
+ </div>
2518
+
2519
+ <div class="method_details ">
2520
+ <h3 class="signature " id="local_repo_path=-instance_method">
2521
+
2522
+ - (<tt>Object</tt>) <strong>local_repo_path=</strong>(path)
2523
+
2524
+
2525
+
2526
+
2527
+
2528
+ </h3><div class="docstring">
2529
+ <div class="discussion">
2530
+
2531
+ <p>Set path to local maven repo</p>
2532
+
2533
+
2534
+ </div>
2535
+ </div>
2536
+ <div class="tags">
2537
+ <p class="tag_title">Parameters:</p>
2538
+ <ul class="param">
2539
+
2540
+ <li>
2541
+
2542
+ <span class='name'>path</span>
2543
+
2544
+
2545
+ <span class='type'>(<tt>String</tt>)</span>
2546
+
2547
+
2548
+
2549
+ &mdash;
2550
+ <div class='inline'>
2551
+ <p>local repo</p>
2552
+ </div>
2553
+
2554
+ </li>
2555
+
2556
+ </ul>
2557
+
2558
+
2559
+ </div><table class="source_code">
2560
+ <tr>
2561
+ <td>
2562
+ <pre class="lines">
2563
+
2564
+
2565
+ 78
2566
+ 79
2567
+ 80</pre>
2568
+ </td>
2569
+ <td>
2570
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 78</span>
2571
+
2572
+ <span class='kw'>def</span> <span class='id identifier rubyid_local_repo_path='>local_repo_path=</span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span> <span class='rparen'>)</span>
2573
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_setLocalRepoPath'>setLocalRepoPath</span><span class='lparen'>(</span> <span class='id identifier rubyid_path'>path</span> <span class='rparen'>)</span>
2574
+ <span class='kw'>end</span></pre>
2575
+ </td>
2576
+ </tr>
2577
+ </table>
2578
+ </div>
2579
+
2580
+ <div class="method_details ">
2581
+ <h3 class="signature " id="remote_repositories-instance_method">
2582
+
2583
+ - (<tt>Array</tt>) <strong>remote_repositories</strong>
2584
+
2585
+
2586
+
2587
+
2588
+
2589
+ </h3><div class="docstring">
2590
+ <div class="discussion">
2591
+
2592
+ <p>Get remote repositories</p>
2593
+
2594
+
2595
+ </div>
2596
+ </div>
2597
+ <div class="tags">
2598
+
2599
+ <p class="tag_title">Returns:</p>
2600
+ <ul class="return">
2601
+
2602
+ <li>
2603
+
2604
+
2605
+ <span class='type'>(<tt>Array</tt>)</span>
2606
+
2607
+
2608
+
2609
+ &mdash;
2610
+ <div class='inline'>
2611
+ <p>of remote repos</p>
2612
+ </div>
2613
+
2614
+ </li>
2615
+
2616
+ </ul>
2617
+
2618
+ </div><table class="source_code">
2619
+ <tr>
2620
+ <td>
2621
+ <pre class="lines">
2622
+
2623
+
2624
+ 57
2625
+ 58
2626
+ 59</pre>
2627
+ </td>
2628
+ <td>
2629
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 57</span>
2630
+
2631
+ <span class='kw'>def</span> <span class='id identifier rubyid_remote_repositories'>remote_repositories</span>
2632
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span><span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getRemoteRepositories'>getRemoteRepositories</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='rparen'>)</span>
2633
+ <span class='kw'>end</span></pre>
2634
+ </td>
2635
+ </tr>
2636
+ </table>
2637
+ </div>
2638
+
2639
+ <div class="method_details ">
2640
+ <h3 class="signature " id="remote_repository_urls-instance_method">
2641
+
2642
+ - (<tt>Array&lt;String&gt;</tt>) <strong>remote_repository_urls</strong>
2643
+
2644
+
2645
+
2646
+
2647
+
2648
+ </h3><div class="docstring">
2649
+ <div class="discussion">
2650
+
2651
+ <p>Get remote repositories as urls</p>
2652
+
2653
+
2654
+ </div>
2655
+ </div>
2656
+ <div class="tags">
2657
+
2658
+ <p class="tag_title">Returns:</p>
2659
+ <ul class="return">
2660
+
2661
+ <li>
2662
+
2663
+
2664
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2665
+
2666
+
2667
+
2668
+ &mdash;
2669
+ <div class='inline'>
2670
+ <p>of String urls</p>
2671
+ </div>
2672
+
2673
+ </li>
2674
+
2675
+ </ul>
2676
+
2677
+ </div><table class="source_code">
2678
+ <tr>
2679
+ <td>
2680
+ <pre class="lines">
2681
+
2682
+
2683
+ 64
2684
+ 65
2685
+ 66</pre>
2686
+ </td>
2687
+ <td>
2688
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 64</span>
2689
+
2690
+ <span class='kw'>def</span> <span class='id identifier rubyid_remote_repository_urls'>remote_repository_urls</span>
2691
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span><span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_getRemoteRepositoryUrls'>getRemoteRepositoryUrls</span><span class='lparen'>(</span><span class='rparen'>)</span><span class='comma'>,</span> <span class='kw'>true</span><span class='rparen'>)</span>
2692
+ <span class='kw'>end</span></pre>
2693
+ </td>
2694
+ </tr>
2695
+ </table>
2696
+ </div>
2697
+
2698
+ <div class="method_details ">
2699
+ <h3 class="signature " id="resolve_dependencies-instance_method">
2700
+
2701
+ - (<tt>Array&lt;String&gt;</tt>) <strong>resolve_dependencies</strong>(download_artifacts = true, properties = nil)
2702
+
2703
+
2704
+
2705
+
2706
+
2707
+ </h3><div class="docstring">
2708
+ <div class="discussion">
2709
+
2710
+ <p>Resolve dependencies</p>
2711
+
2712
+
2713
+ </div>
2714
+ </div>
2715
+ <div class="tags">
2716
+
2717
+ <p class="tag_title">Returns:</p>
2718
+ <ul class="return">
2719
+
2720
+ <li>
2721
+
2722
+
2723
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2724
+
2725
+
2726
+
2727
+ &mdash;
2728
+ <div class='inline'>
2729
+ <p>of notations</p>
2730
+ </div>
2731
+
2732
+ </li>
2733
+
2734
+ </ul>
2735
+
2736
+ <p class="tag_title">See Also:</p>
2737
+ <ul class="see">
2738
+
2739
+ <li><a href="https://github.com/mguymon/naether/wiki/Notations" target="_parent" title="https://github.com/mguymon/naether/wiki/Notations">https://github.com/mguymon/naether/wiki/Notations</a></li>
2740
+
2741
+ </ul>
2742
+
2743
+ </div><table class="source_code">
2744
+ <tr>
2745
+ <td>
2746
+ <pre class="lines">
2747
+
2748
+
2749
+ 289
2750
+ 290
2751
+ 291
2752
+ 292
2753
+ 293
2754
+ 294
2755
+ 295
2756
+ 296
2757
+ 297
2758
+ 298
2759
+ 299
2760
+ 300
2761
+ 301</pre>
2762
+ </td>
2763
+ <td>
2764
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 289</span>
2765
+
2766
+ <span class='kw'>def</span> <span class='id identifier rubyid_resolve_dependencies'>resolve_dependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_download_artifacts'>download_artifacts</span> <span class='op'>=</span> <span class='kw'>true</span><span class='comma'>,</span> <span class='id identifier rubyid_properties'>properties</span> <span class='op'>=</span> <span class='kw'>nil</span> <span class='rparen'>)</span>
2767
+
2768
+ <span class='kw'>if</span> <span class='id identifier rubyid_properties'>properties</span>
2769
+ <span class='comment'># Convert to HashMap
2770
+ </span> <span class='id identifier rubyid_map'>map</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_create'>create</span><span class='lparen'>(</span> <span class='tstring'><span class='tstring_beg'>&quot;</span><span class='tstring_content'>java.util.HashMap</span><span class='tstring_end'>&quot;</span></span> <span class='rparen'>)</span>
2771
+ <span class='id identifier rubyid_properties'>properties</span><span class='period'>.</span><span class='id identifier rubyid_each'>each</span> <span class='kw'>do</span> <span class='op'>|</span><span class='id identifier rubyid_k'>k</span><span class='comma'>,</span><span class='id identifier rubyid_v'>v</span><span class='op'>|</span>
2772
+ <span class='id identifier rubyid_map'>map</span><span class='period'>.</span><span class='id identifier rubyid_put'>put</span><span class='lparen'>(</span> <span class='id identifier rubyid_k'>k</span><span class='comma'>,</span> <span class='id identifier rubyid_v'>v</span> <span class='rparen'>)</span>
2773
+ <span class='kw'>end</span>
2774
+ <span class='kw'>end</span>
2775
+
2776
+ <span class='ivar'>@resolver</span><span class='period'>.</span><span class='id identifier rubyid_resolveDependencies'>resolveDependencies</span><span class='lparen'>(</span> <span class='id identifier rubyid_download_artifacts'>download_artifacts</span><span class='comma'>,</span> <span class='id identifier rubyid_map'>map</span> <span class='rparen'>)</span><span class='semicolon'>;</span>
2777
+ <span class='id identifier rubyid_dependencies_notation'>dependencies_notation</span>
2778
+ <span class='kw'>end</span></pre>
2779
+ </td>
2780
+ </tr>
2781
+ </table>
2782
+ </div>
2783
+
2784
+ <div class="method_details ">
2785
+ <h3 class="signature " id="set_log_level-instance_method">
2786
+
2787
+ - (<tt>Object</tt>) <strong>set_log_level</strong>(level)
2788
+
2789
+
2790
+
2791
+
2792
+
2793
+ </h3><div class="docstring">
2794
+ <div class="discussion">
2795
+
2796
+ <p>Set Log level for Naether Java logging</p>
2797
+
2798
+
2799
+ </div>
2800
+ </div>
2801
+ <div class="tags">
2802
+ <p class="tag_title">Parameters:</p>
2803
+ <ul class="param">
2804
+
2805
+ <li>
2806
+
2807
+ <span class='name'>level</span>
2808
+
2809
+
2810
+ <span class='type'>(<tt>String</tt>)</span>
2811
+
2812
+
2813
+
2814
+ &mdash;
2815
+ <div class='inline'>
2816
+ <p>to debug, info, warn, or error</p>
2817
+ </div>
2818
+
2819
+ </li>
2820
+
2821
+ </ul>
2822
+
2823
+
2824
+ </div><table class="source_code">
2825
+ <tr>
2826
+ <td>
2827
+ <pre class="lines">
2828
+
2829
+
2830
+ 396
2831
+ 397
2832
+ 398</pre>
2833
+ </td>
2834
+ <td>
2835
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 396</span>
2836
+
2837
+ <span class='kw'>def</span> <span class='id identifier rubyid_set_log_level'>set_log_level</span><span class='lparen'>(</span> <span class='id identifier rubyid_level'>level</span> <span class='rparen'>)</span>
2838
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_exec_static_method'>exec_static_method</span><span class='lparen'>(</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.tobedevoured.naether.util.LogUtil</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>changeLevel</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.tobedevoured</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='id identifier rubyid_level'>level</span><span class='rbracket'>]</span> <span class='rparen'>)</span>
2839
+ <span class='kw'>end</span></pre>
2840
+ </td>
2841
+ </tr>
2842
+ </table>
2843
+ </div>
2844
+
2845
+ <div class="method_details ">
2846
+ <h3 class="signature " id="to_local_paths-instance_method">
2847
+
2848
+ - (<tt>Array&lt;String&gt;</tt>) <strong>to_local_paths</strong>(notations)
2849
+
2850
+
2851
+
2852
+
2853
+
2854
+ </h3><div class="docstring">
2855
+ <div class="discussion">
2856
+
2857
+ <p>Convert notations to local paths of artifacts</p>
2858
+
2859
+
2860
+ </div>
2861
+ </div>
2862
+ <div class="tags">
2863
+ <p class="tag_title">Parameters:</p>
2864
+ <ul class="param">
2865
+
2866
+ <li>
2867
+
2868
+ <span class='name'>notations</span>
2869
+
2870
+
2871
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2872
+
2873
+
2874
+
2875
+ </li>
2876
+
2877
+ </ul>
2878
+
2879
+ <p class="tag_title">Returns:</p>
2880
+ <ul class="return">
2881
+
2882
+ <li>
2883
+
2884
+
2885
+ <span class='type'>(<tt>Array&lt;String&gt;</tt>)</span>
2886
+
2887
+
2888
+
2889
+ &mdash;
2890
+ <div class='inline'>
2891
+ <p>of paths to artifacts</p>
2892
+ </div>
2893
+
2894
+ </li>
2895
+
2896
+ </ul>
2897
+
2898
+ <p class="tag_title">See Also:</p>
2899
+ <ul class="see">
2900
+
2901
+ <li><a href="https://github.com/mguymon/naether/wiki/Notations" target="_parent" title="https://github.com/mguymon/naether/wiki/Notations">https://github.com/mguymon/naether/wiki/Notations</a></li>
2902
+
2903
+ </ul>
2904
+
2905
+ </div><table class="source_code">
2906
+ <tr>
2907
+ <td>
2908
+ <pre class="lines">
2909
+
2910
+
2911
+ 308
2912
+ 309
2913
+ 310
2914
+ 311
2915
+ 312
2916
+ 313
2917
+ 314
2918
+ 315
2919
+ 316
2920
+ 317
2921
+ 318
2922
+ 319
2923
+ 320
2924
+ 321
2925
+ 322
2926
+ 323
2927
+ 324
2928
+ 325</pre>
2929
+ </td>
2930
+ <td>
2931
+ <pre class="code"><span class="info file"># File 'lib/naether/runtime.rb', line 308</span>
2932
+
2933
+ <span class='kw'>def</span> <span class='id identifier rubyid_to_local_paths'>to_local_paths</span><span class='lparen'>(</span> <span class='id identifier rubyid_notations'>notations</span> <span class='rparen'>)</span>
2934
+ <span class='kw'>if</span> <span class='const'>Naether</span><span class='period'>.</span><span class='id identifier rubyid_platform'>platform</span> <span class='op'>==</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java</span><span class='tstring_end'>'</span></span>
2935
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span>
2936
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_exec_static_method'>exec_static_method</span><span class='lparen'>(</span>
2937
+ <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.tobedevoured.naether.util.Notation</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
2938
+ <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>getLocalPaths</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
2939
+ <span class='lbracket'>[</span><span class='id identifier rubyid_local_repo_path'>local_repo_path</span><span class='comma'>,</span> <span class='id identifier rubyid_notations'>notations</span> <span class='rbracket'>]</span><span class='comma'>,</span>
2940
+ <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java.lang.String</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java.util.List</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='rparen'>)</span> <span class='rparen'>)</span>
2941
+ <span class='kw'>else</span>
2942
+ <span class='id identifier rubyid_paths'>paths</span> <span class='op'>=</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_exec_static_method'>exec_static_method</span><span class='lparen'>(</span>
2943
+ <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>com.tobedevoured.naether.util.Notation</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
2944
+ <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>getLocalPaths</span><span class='tstring_end'>'</span></span><span class='comma'>,</span>
2945
+ <span class='lbracket'>[</span><span class='id identifier rubyid_local_repo_path'>local_repo_path</span><span class='comma'>,</span> <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_java_list'>convert_to_java_list</span><span class='lparen'>(</span><span class='id identifier rubyid_notations'>notations</span><span class='rparen'>)</span> <span class='rbracket'>]</span><span class='comma'>,</span>
2946
+ <span class='lbracket'>[</span><span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java.lang.String</span><span class='tstring_end'>'</span></span><span class='comma'>,</span> <span class='tstring'><span class='tstring_beg'>'</span><span class='tstring_content'>java.util.List</span><span class='tstring_end'>'</span></span><span class='rbracket'>]</span> <span class='rparen'>)</span>
2947
+ <span class='const'>Naether</span><span class='op'>::</span><span class='const'>Java</span><span class='period'>.</span><span class='id identifier rubyid_convert_to_ruby_array'>convert_to_ruby_array</span><span class='lparen'>(</span> <span class='id identifier rubyid_paths'>paths</span><span class='comma'>,</span> <span class='kw'>true</span> <span class='rparen'>)</span>
2948
+ <span class='kw'>end</span>
2949
+
2950
+ <span class='kw'>end</span></pre>
2951
+ </td>
2952
+ </tr>
2953
+ </table>
2954
+ </div>
2955
+
2956
+ </div>
2957
+
2958
+ </div>
2959
+
2960
+ <div id="footer">
2961
+ Generated on Fri Sep 27 17:49:17 2013 by
2962
+ <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
2963
+ 0.8.2.1 (ruby-1.9.3).
2964
+ </div>
2965
+
2966
+ </body>
2967
+ </html>