Package com.hascode.tutorial.xbeam.projection

Examples of com.hascode.tutorial.xbeam.projection.MavenPom.dependencies()


public class MavenPomParsing {
  public static void main(final String[] args) throws IOException {
    MavenPom pom = new XBProjector().io().fromURLAnnotation(MavenPom.class);
    System.out.println("Project: " + pom.project().artifactId() + ":" + pom.project().groupId() + ":" + pom.project().version());
    pom.dependencies().forEach(dep -> {
      System.out.println("-dependency -> " + dep.artifactId() + ":" + dep.groupId() + ":" + dep.version());
    });
    System.out.println("updating project version to 1.2.3..");
    pom.project().version("1.2.3");
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.