Examples of MavenFacetImpl


Examples of org.jboss.forge.addon.maven.projects.MavenFacetImpl

   }

   @Override
   public List<Dependency> getEffectiveDependencies()
   {
      MavenFacetImpl maven = getFaceted().getFacet(MavenFacetImpl.class);
      ProjectBuildingResult projectBuildingResult = maven.getProjectBuildingResult();
      DependencyResolutionResult dependencyResolutionResult = projectBuildingResult.getDependencyResolutionResult();
      List<Dependency> deps = MavenDependencyAdapter.fromAetherList(dependencyResolutionResult.getDependencies());

      List<Dependency> result = new ArrayList<Dependency>();
      for (Dependency dependency : deps)
View Full Code Here

Examples of org.jboss.forge.maven.projects.MavenFacetImpl

   }

   @Override
   public Resource<?> getFinalArtifact()
   {
      MavenFacetImpl mvn = (MavenFacetImpl) getOrigin().getFacet(MavenFacet.class);
      String directory = mvn.getPartialProjectBuildingResult().getProject().getBuild().getDirectory();
      String finalName = mvn.getPartialProjectBuildingResult().getProject().getBuild().getFinalName();

      if (Strings.isNullOrEmpty(directory))
      {
         throw new IllegalStateException("Project build directory is not configured");
      }
View Full Code Here

Examples of org.jboss.forge.maven.projects.MavenFacetImpl

   }

   @Override
   public Resource<?> getFinalArtifact()
   {
      MavenFacetImpl mvn = (MavenFacetImpl) getOrigin().getFacet(MavenFacet.class);
      String directory = mvn.getProjectBuildingResult().getProject().getBuild().getDirectory();
      String finalName = mvn.getProjectBuildingResult().getProject().getBuild().getFinalName();

      if (Strings.isNullOrEmpty(directory))
      {
         throw new IllegalStateException("Project build directory is not configured");
      }
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.