Package org.jboss.shrinkwrap.resolver.impl.maven

Examples of org.jboss.shrinkwrap.resolver.impl.maven.MavenRepositorySystem


        return Collections.emptyList();
    }
   
    // FIXME relying on internals of ShrinkWrap Maven Resolver
    private String getArchiveNameFromPom() {
        MavenRepositorySystem system = new MavenRepositorySystem();
        MavenDependencyResolverSettings settings = new MavenDependencyResolverSettings();
        Model model = system.loadPom(new File("pom.xml"), settings, system.getSession(settings));
        String finalName = model.getBuild().getFinalName();
        String packaging = model.getPackaging();
        return finalName + '.' + packaging;
    }
View Full Code Here

TOP

Related Classes of org.jboss.shrinkwrap.resolver.impl.maven.MavenRepositorySystem

Copyright © 2018 www.massapicom. 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.