foundeo / maven-command

A commandbox command for installing jars from maven (via a POM file)
MIT License
2 stars 1 forks source link

UserInterruptException when running command #2

Open stewartmcguire opened 2 years ago

stewartmcguire commented 2 years ago

I am trying to use this maven command in commandbox to download my Java jar files from maven so I don't have to have them committed to my CFML repo. I am getting a couple errors in the output from the command and several of my jar assets are NOT downloading. The dependencies in my pom.xml file are looked up and directly copied from maven so they should be available to download and should not have any syntax errors.

I have attached a screenshot of the output from the command which shows the error messages as well as a copy of my pom.xml file (renamed to .txt to make GitHub happy).

I chatted with Brad Wood on Slack about the errors which appear to be in the Shell.cfc file in CommandBox. I was running a slightly older version of CommandBox which he recommended updating which I did but that didn't help. I still get the same errors.

maven-command-error pom.txt

pfreitag commented 2 years ago

Hmm, when I run your pom.xml file I get the following output:

✓ Downloaded: jakarta.xml.bind-api-2.3.2.jar
✓ Downloaded: SparseBitSet-1.2.jar
✓ Downloaded: jackson-databind-2.13.3.jar
✓ Downloaded: netty-transport-native-epoll-4.1.78.Final.jar                                                                  
✓ Downloaded: jackson-annotations-2.13.3.jar
✓ Downloaded: jsoup-1.15.1.jar
✓ Downloaded: reactor-netty-http-1.0.20.jar
✓ Downloaded: azure-client-authentication-1.7.14.jar
✓ Downloaded: azure-core-http-netty-1.12.3.jar
✓ Downloaded: slf4j-api-1.7.36.jar
✓ Downloaded: netty-buffer-4.1.78.Final.jar
✓ Downloaded: netty-handler-proxy-4.1.78.Final.jar
✓ Downloaded: jgoodies-binding-2.13.0.jar
✓ Downloaded: proton-j-0.33.8.jar
✓ Downloaded: netty-transport-native-kqueue-4.1.78.Final.jar
✓ Downloaded: netty-handler-4.1.78.Final.jar
✓ Downloaded: jackson-dataformat-xml-2.13.3.jar
✓ Downloaded: commons-math3-3.6.1.jar
✓ Downloaded: qpid-proton-j-extensions-1.2.4.jar
✓ Downloaded: commons-codec-1.13.jar
✓ Downloaded: rtfparserkit-1.16.0.jar
✓ Downloaded: async-http-client-2.12.1.jar
✓ Downloaded: azure-storage-internal-avro-12.3.1.jar
✓ Downloaded: netty-tcnative-boringssl-static-2.0.53.Final.jar
✓ Downloaded: azure-storage-common-12.16.1.jar
✓ Downloaded: freemarker-2.3.31.jar
✓ Downloaded: azure-core-1.30.0.jar
✓ Downloaded: jackson-datatype-jsr310-2.13.3.jar
✓ Downloaded: reactor-core-3.4.19.jar
✓ Downloaded: sqlite-jdbc-3.36.0.3.jar
✓ Downloaded: poi-4.1.2.jar
✓ Downloaded: jackson-core-2.13.3.jar
✓ Downloaded: snakeyaml-1.27.jar
✓ Downloaded: netty-codec-http-4.1.78.Final.jar
✓ Downloaded: jaxb-api-2.3.1.jar
✓ Downloaded: jaxb-runtime-2.3.2.jar
✓ Downloaded: commons-collections4-4.4.jar
✓ Downloaded: opencsv-5.6.jar
✓ Downloaded: netty-codec-http2-4.1.78.Final.jar
✓ Downloaded: netty-transport-native-unix-common-4.1.78.Final.jar

Is that all the files that you expect to be downloaded?

pfreitag commented 2 years ago

Running a second time, I did get this error:

key [TOTALSIZEKB] doesn't exist 
/Users/username/.CommandBox/cfml/system/util/ProgressBar.cfc: line 68
UserInterruptException 
/Users/username/.CommandBox/cfml/system/Shell.cfc: line 644