line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
4
|
|
|
4
|
|
22
|
use strict; |
|
4
|
|
|
|
|
11
|
|
|
4
|
|
|
|
|
99
|
|
2
|
4
|
|
|
4
|
|
14
|
use warnings; |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
179
|
|
3
|
|
|
|
|
|
|
|
4
|
|
|
|
|
|
|
package Footprintless::Resource::Maven; |
5
|
|
|
|
|
|
|
$Footprintless::Resource::Maven::VERSION = '1.29'; |
6
|
|
|
|
|
|
|
# ABSTRACT: A resource described by Maven artifact |
7
|
|
|
|
|
|
|
# PODNAME: Footprintless::Resource::Maven |
8
|
|
|
|
|
|
|
|
9
|
4
|
|
|
4
|
|
32
|
use parent qw(Footprintless::Resource); |
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
18
|
|
10
|
|
|
|
|
|
|
|
11
|
|
|
|
|
|
|
sub get_artifact { |
12
|
0
|
|
|
0
|
1
|
|
return $_[0]->{artifact}; |
13
|
|
|
|
|
|
|
} |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
sub _init { |
16
|
0
|
|
|
0
|
|
|
my ( $self, $artifact ) = @_; |
17
|
|
|
|
|
|
|
|
18
|
0
|
|
|
|
|
|
$self->Footprintless::Resource::_init( $artifact->get_url() ); |
19
|
0
|
|
|
|
|
|
$self->{artifact} = $artifact; |
20
|
|
|
|
|
|
|
|
21
|
0
|
|
|
|
|
|
return $self; |
22
|
|
|
|
|
|
|
} |
23
|
|
|
|
|
|
|
|
24
|
|
|
|
|
|
|
1; |
25
|
|
|
|
|
|
|
|
26
|
|
|
|
|
|
|
__END__ |