diff --git a/README.md b/README.md index 51c6e3e..b247b2d 100644 --- a/README.md +++ b/README.md @@ -3,3 +3,30 @@ Udacity and Twitter bring you Real-Time Analytics with Apache Storm Join the course for free: www.udacity.com/course/ud381 + +Since maven has enforced new ssl policy + +## settings.xml +We need to add a settings.xml to use http instead of https + +`vi /home/vagrant/.m2/settings.xml` +
+<settings> + <mirrors> + <mirror> + <id>centralhttps</id> + <mirrorOf>central</mirrorOf> + <name>Maven central https</name> + <url>http://insecure.repo1.maven.org/maven2/</url> + </mirror> + </mirrors> +</settings> ++ +## New storm build command +to avoid peer not authenticated error + +` +mvn package -Dmaven.wagon.http.ssl.insecure=true -Dmaven.wagon.http.ssl.allowall=true -Dhttps.protocols=TLSv1.2 +` +