io.atlasmap.java.inspect.MavenClasspathHelper.class Maven / Gradle / Ivy
Go to download
A single aggregated bundle which contains all AtlasMap library artifacts including modules.
???? 4
? ? ~ ? ~
~
~
!"
~# ?!$%
&'
()
*+,
-./01
~2
~34567
&8
~9:;
*<= =>?@
ABC
D..EFGHIJ
:8K
=8
=LM
*8
=NOP
DQ
DR
DS
DT
UVWX
KY
JZ[\]
N<^
~_
`a
Jb
cd ef eghi
~j
Uklm
Uno
pq '
rstu
c<v
Jwx
ywz{|
o<}~
???
:<
*???
z<????
*?
*??
??
*? ???? ??
?
??
?????w
o??
?8?????
??? WORKING_FOLDER_PREFIX Ljava/lang/String;
ConstantValue LOG Lorg/slf4j/Logger; processCheckInterval J processMaxExecutionTime
baseFolder ()V Code LineNumberTable LocalVariableTable this /Lio/atlasmap/java/inspect/MavenClasspathHelper; generateClasspathFromPom &(Ljava/lang/String;)Ljava/lang/String; ioe Ljava/io/IOException; pom workingDirectory Ljava/nio/file/Path; pomFile cmd Ljava/util/List; result LocalVariableTypeTable $Ljava/util/List;
StackMapTable?$??:
Exceptions executeMavenProcess 6(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String; e Ljava/lang/Exception;
currentUpdate Ljava/lang/StringBuilder; line timeHMS itse 'Ljava/lang/IllegalThreadStateException; processBuilder Ljava/lang/ProcessBuilder; running Z r I mavenOutputFile t Ljava/lang/Throwable; errMsg iae $Ljava/lang/IllegalArgumentException; intre Ljava/lang/InterruptedException; mavenOutputFilePath cwd Ljava/io/File; startTime totalTime process Ljava/lang/Process;
outputMessage stdout Ljava/io/InputStream; reader Ljava/io/BufferedReader; lastTimeDebugPrintedK??WP[q{I? Signature J(Ljava/lang/String;Ljava/util/List;)Ljava/lang/String; createWorkingDirectory ()Ljava/nio/file/Path; deleteWorkingDirectory (Ljava/nio/file/Path;)V
tempDirectory cleanupTempFolders ()Ljava/lang/Integer; tmpFolder
tmpFolders Ljava/util/stream/Stream; count Ljava/lang/Integer; /Ljava/util/stream/Stream;?? parseClasspathFromMavenOutput
commandOutput useNextLine getProcessCheckInterval ()J setProcessCheckInterval (J)V getProcessMaxExecutionTime setProcessMaxExecutionTime
getBaseFolder ()Ljava/lang/String;
setBaseFolder (Ljava/lang/String;)V generateJavaCommand lambda$cleanupTempFolders$0 (I)[Ljava/nio/file/Path; x$0
SourceFile MavenClasspathHelper.java ? ? ? ? ? ? java.io.tmpdir?? ? ? ??? ? ???? java/lang/StringBuilder Generating classpath from pom:
??? ? ? ? java/lang/String pom.xml????? java/nio/file/OpenOption??? java/util/LinkedList mvn??? Forg.apache.maven.plugins:maven-dependency-plugin:3.0.0:build-classpath -DincludeScope=runtime ? ? ? ? )MavenProcess returned unexpected result: ? ,io/atlasmap/java/inspect/InspectionException *Unable to generate classpath from pom file ? ? ? java/io/IOException 1Cleanup of working directory failed to complete: ? ??? ? maven.output.txt )Starting to execute process for command: ??
workingDirectory:
mvn output log: ??? Invalid workingDirectory:
or command:
specified "java/lang/IllegalArgumentException /Working directory and command must be specified java/io/File?? "Working Directory does not exist: ?? &Working Directory is not a directory: java/lang/ProcessBuilder ??????????? java/io/BufferedReader java/io/InputStreamReader ?? ?? java/lang/Exception "Error reading output for command: msg: ????? ??
????? "Error writing output for command:
to file: ? ? Command ) killed due to exceeding max process time?? %Command returned non-zero exit code: ?? %java/lang/IllegalThreadStateException??? Command still running: , msg: , elapsed: ? ? &Error closing BufferedReader for cmd: ? #Error closing InputStream for cmd: java/lang/Throwable 7Error while attempting to destroy process for command: Exiting process for command: exec time(ms): ?? workingDirectory: Unable to execute command: error: ?? java/lang/InterruptedException Command interrupted cmd: Output for command: -io/atlasmap/java/inspect/MavenClasspathHelper atlas-mapping-mvn- %java/nio/file/attribute/FileAttribute???? java/lang/Integer ???? BootstrapMethods???????? [Ljava/nio/file/Path;? ??????? Deleted tempFolder: ,Error when attempting to delete tempFolder: ?? java/io/StringReader [INFO] Dependencies classpath: java.home bin java java/nio/file/Path??? java/lang/Object java/util/List java/lang/Process java/io/InputStream java/util/stream/Stream java/lang/System getProperty isEmpty ()Z org/slf4j/Logger isDebugEnabled append -(Ljava/lang/String;)Ljava/lang/StringBuilder; toString debug java/nio/file/Paths get ;(Ljava/lang/String;[Ljava/lang/String;)Ljava/nio/file/Path; getBytes ()[B java/nio/file/Files write G(Ljava/nio/file/Path;[B[Ljava/nio/file/OpenOption;)Ljava/nio/file/Path; add (Ljava/lang/Object;)Z error
getMessage warn *(Ljava/lang/String;Ljava/lang/Throwable;)V separator -(Ljava/lang/Object;)Ljava/lang/StringBuilder; currentTimeMillis (I)Ljava/lang/Object; exists isDirectory (Ljava/util/List;)V redirectErrorStream (Z)Ljava/lang/ProcessBuilder; directory *(Ljava/io/File;)Ljava/lang/ProcessBuilder; start ()Ljava/lang/Process; getInputStream ()Ljava/io/InputStream; (Ljava/io/InputStream;)V (Ljava/io/Reader;)V java/lang/Thread sleep readLine length ()I java/nio/file/StandardOpenOption CREATE "Ljava/nio/file/StandardOpenOption; APPEND destroy exitValue (I)Ljava/lang/StringBuilder; io/atlasmap/java/core/StringUtil
formatTimeHMS (J)Ljava/lang/String; close (J)Ljava/lang/StringBuilder; createTempDirectory P(Ljava/lang/String;[Ljava/nio/file/attribute/FileAttribute;)Ljava/nio/file/Path; deleteIfExists (Ljava/nio/file/Path;)Z (I)V list /(Ljava/nio/file/Path;)Ljava/util/stream/Stream;
??
~ apply "()Ljava/util/function/IntFunction; toArray 5(Ljava/util/function/IntFunction;)[Ljava/lang/Object; getFileName
startsWith (Ljava/lang/String;)Z intValue valueOf (I)Ljava/lang/Integer;
addSuppressed (Ljava/lang/Throwable;)V org/slf4j/LoggerFactory getLogger %(Ljava/lang/Class;)Lorg/slf4j/Logger;
"java/lang/invoke/LambdaMetafactory metafactory Lookup InnerClasses ?(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite; %java/lang/invoke/MethodHandles$Lookup java/lang/invoke/MethodHandles ! ~ ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? R *? * ? * ? *? ?
? ? % + , - ? ? ? ? ? ? ? ?+?
+? ? ?? ?
? ? ? Y? ? +? ? ? *? M,? ? YS? N-+? ? ? W? Y? :? W ? W!? W*,? ? ":? *? #:? )? ? Y? $? ? ? ? % ? &Y'? (?*,? )? &:? ? Y? +? ? ,? ? ? - ? ? ? ? * ? V 1 2
5 6 3 9 8 : K ; X = a > k ? u @ B ? D ? E ? G ? H ? L ? O ? M ? N ? Q ? H ? ! ? ? ? ? ? ? ? ? 8 ? ? ? K ? ? ? a ? ? ? ? d ? ? ? a ? ? ? ? $ %? i ? ? ? ? ? ? %G ?" ? N ? ? ? ? Y? +? ? .? /? ? N? ?
? 0? ? Y? 0? ,? 12? +? 3? -? ? ? :? 47 7: ? Y? :
+? '+? ? ,? ,? 5 ? ,? 6 ? ? ? 6? ? Y? 7? +? 8? ,? 19? ? ? % ? :Y;? +? S? =Y+? >:? ?? ? *Y? Y? @? +? ? ? A?? B? ? *Y? Y? C? +? ? ? A?:: 7
? DY,? E:? FW? =Y+? >? GW? H: 66 ? K ? I:? JY? KY? L? M:? /:? ? Y? O? ,? 1P? ? Q? ? ? R -? ? :??*? S? T*? Sa7 ? ʻ Y? ::? UY:? 3
? V?
? W? W? W? W???
? W???? V? L? ? ? Y? XSY? YS? W? +:? ? Y? Z? ,? 1[? -? ? ? R ? /:? ? Y? O? ,? 1P? ? Q? ? ? R *? \?? + ? ]6? *Y? Y? ^? ,? 1_? ? ? A? ? `66?
? Y? a? ? b? ? W???:? ?
? R? 4
e d?? E? 4e? f:? ? Y? g? ,? 1h? ? i? j? ? ? ? ? 47
??e? ;? k:? 0:? ? Y? l? ,? 1? ? - :? ::?? ;? m:? 0:? ? Y? n? ,? 1? ? - :? ::? ? 7 ? ]? /:? ? Y? p? ,? 1P? ? q? ? ? R ? ?
?? ? Y? r? ,? 1s? ? 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