Skip to main content

Posts

Showing posts from September, 2016

maven commands

Command Line Reference The following command line options are available when running Maven: usage: maven [options] [goal [goal2 [goal3] ...]] Options: -D,--define arg Define a system property -E,--emacs Produce logging information without adornments -P,--plugin-help Display help on using a given plugin -X,--debug Produce execution debug output -b,--nobanner Suppress logo banner -d,--dir arg Set effective working directory (ignored with -p or -f) -e,--exception Produce exception stack traces -f,--find arg Set project file and effective working directory by finding the project file -g,--goals Display available goals -h,--help Display help information -i,--info Display system information -o,--offline Build is happening offline -p,--pom arg Set project file -q,--quiet Reduce execution output -u,--usage Display help on using the current project ...

swagger annotations

@ApiResponses(value = { @ApiResponse(code = 200, message = "Successful retrieval of user detail"),             @ApiResponse(code = 404, message = "User with given username does not exist"),             @ApiResponse(code = 500, message = "Internal server error") }) @POST @Path("/pdf") @Consumes({ MediaType.MULTIPART_FORM_DATA }) @Produces({"image/jpeg,image/png"}) //@Produces("text/plain") public Response uploadPdfFile(@FormDataParam("file") InputStream fileInputStream,@FormDataParam("file") FormDataContentDisposition fileMetaData) throws Exception {  ... } @ApiModelProperty(value = "pet status in the store", allowableValues = "available,pending,sold")     @ApiOperation(value = "New User can register by himself by using this service", notes = "we have to provide valid email Id and Mobile number then user will get the verification mail or otp ") @Produces({...

Gmail Settings

For MAIL settings: Configure Outbound Email for shrikantmutyala.blogspot.in  for SMTP Servers​ Common Providers Settings Google Apps GMail SMTP HOST: smtp.gmail.com SMTPPORT: 587 (465 for SSL) USE SSL: Optional SMTP Auth: Login Yahoo SMTP HOST: smtp.mail.yahoo.com SMTPPORT : 465 USE SSL: Checked SMTP Auth: Login step 1: For Less Security https://www.google.com/settings/security/lesssecureapps step 2: For Unlocking Captcha https://accounts.google.com/DisplayUnlockCaptcha