org.apache.cayenne.tools.MavenPluginClassLoaderManager.class Maven / Gradle / Ivy
???? 4 ?
B C
B D E
F G
H
I J
K L M N O
P Q > R ? S ? T U
V
P W X Y M Z [
\
] ^
_ ` a b project 'Lorg/apache/maven/project/MavenProject; urls Ljava/util/List; Signature Ljava/util/List; *(Lorg/apache/maven/project/MavenProject;)V Code LineNumberTable LocalVariableTable this 8Lorg/apache/cayenne/tools/MavenPluginClassLoaderManager; getClassLoader +(Ljava/lang/String;)Ljava/lang/ClassLoader; resourceName Ljava/lang/String; addUrlFromArtifact '(Lorg/apache/maven/artifact/Artifact;)V artifact $Lorg/apache/maven/artifact/Artifact;
StackMapTable addUrlFromFile (Ljava/io/File;)V file Ljava/io/File; buildClassLoader ()Ljava/lang/ClassLoader; artifacts Ljava/util/Set; LocalVariableTypeTable 5Ljava/util/Set; c d
SourceFile "MavenPluginClassLoaderManager.java $ e java/util/ArrayList ! 8 9 f g 4 5 h i j k l m n o p java/lang/Exception q r s t u v w x y "org/apache/maven/artifact/Artifact / 0 z { java/net/URLClassLoader java/net/URL | } [Ljava/net/URL; ~ ? + 9 $ ? 6org/apache/cayenne/tools/MavenPluginClassLoaderManager java/lang/Object (org/apache/cayenne/di/ClassLoaderManager
java/util/Set java/util/Iterator ()V getFile ()Ljava/io/File; java/io/File toURI ()Ljava/net/URI; java/net/URI toURL ()Ljava/net/URL; java/util/List add (Ljava/lang/Object;)Z %org/apache/maven/project/MavenProject getDependencyArtifacts ()Ljava/util/Set; iterator ()Ljava/util/Iterator; hasNext ()Z next ()Ljava/lang/Object; getArtifact &()Lorg/apache/maven/artifact/Artifact; toArray (([Ljava/lang/Object;)[Ljava/lang/Object; getClass ()Ljava/lang/Class; java/lang/Class )([Ljava/net/URL;Ljava/lang/ClassLoader;)V ! ! " # $ % &