PatternResult prod = new PatternResult();
prod.addArtifact(new PatternArtifactBuilder().artifactoryUrl("http://localhost:8080/artifactory").url("lib-releases-local:mmm.jar").size(345654).lastModifiedDate(new Date()).sha1("sha1").build());
prod.addArtifact(new PatternArtifactBuilder().artifactoryUrl("http://localhost:8080/artifactory").url("lib-releases-local:kkk/lll.war").size(456546743).lastModifiedDate(new Date()).sha1("sha1").build());
BuildPatternArtifacts buildPatternArtifacts = new BuildPatternArtifactsBuilder().buildName("foo").buildNumber("123")
.patternResult(bobZips).patternResult(prod).url("http://localhost:8080/artifactory/lib-releases-local/mmm.jar").startedDate(new Date()).build();
String buildOutputsJson = new JsonSerializer<BuildPatternArtifacts>().toJSON(buildPatternArtifacts);
System.out.println("buildOutputsJson = " + buildOutputsJson);
}