Skip to content

Update MavenWrapperDownloader.java to fix stack trace in console #5

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="UTF-8" ?>
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.org/schema/context" xmlns:cxf="http://camel.apache.org/schema/cxf" xsi:schemaLocation="
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd
http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd
http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd
<beans xmlns="https://www.springframework.org/schema/beans" xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xmlns:context="https://www.springframework.org/schema/context" xmlns:cxf="https://camel.apache.org/schema/cxf" xsi:schemaLocation="
https://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd
https://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd
https://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd
https://camel.apache.org/schema/cxf https://camel.apache.org/schema/cxf/camel-cxf.xsd
">
<camelContext id="chuck-norris-facts-api" xmlns="http://camel.apache.org/schema/spring">
<camelContext id="chuck-norris-facts-api" xmlns="https://camel.apache.org/schema/spring">
<rest path="/restsvc">

<get uri="/fact">
Expand Down Expand Up @@ -36,4 +36,4 @@
</setBody>
</route>
</camelContext>
</beans>
</beans>
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ public static void main(String args[]) {
System.out.println("Done");
System.exit(0);
} catch (Throwable e) {
System.out.println("- Error downloading");
e.printStackTrace();
System.out.println("- Error downloading: " + e.getMessage() );
System.exit(1);
}
}
Expand Down
10 changes: 5 additions & 5 deletions rental-service/src/main/resources/spring/camel-context.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:cxf="http://camel.apache.org/schema/cxf"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context.xsd http://camel.apache.org/schema/cxf http://camel.apache.org/schema/cxf/camel-cxf.xsd ">
<camelContext id="rental-service" xmlns="http://camel.apache.org/schema/spring">
<beans xmlns="https://www.springframework.org/schema/beans"
xmlns:context="https://www.springframework.org/schema/context"
xmlns:cxf="https://camel.apache.org/schema/cxf"
xmlns:xsi="https://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation=" https://www.springframework.org/schema/beans https://www.springframework.org/schema/beans/spring-beans.xsd https://camel.apache.org/schema/spring https://camel.apache.org/schema/spring/camel-spring.xsd https://www.springframework.org/schema/context https://www.springframework.org/schema/context/spring-context.xsd https://camel.apache.org/schema/cxf https://camel.apache.org/schema/cxf/camel-cxf.xsd ">
<camelContext id="rental-service" xmlns="https://camel.apache.org/schema/spring">
<rest id="chuckrental" path="/chuckrental">
<post id="rental-post" outType="nextgen.model.Rental"
type="nextgen.apimodel.RentalEdit" uri="/save">
Expand Down