congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
MavenFormatStage.asList
Code IndexAdd Tabnine to your IDE (free)

How to use
asList
method
in
org.jboss.shrinkwrap.resolver.api.maven.MavenFormatStage

Best Java code snippets using org.jboss.shrinkwrap.resolver.api.maven.MavenFormatStage.asList (Showing top 2 results out of 315)

origin: hibernate/hibernate-search

/**
 * @return the Maven coordinates of all archives returned by {@link #hibernateSearchLibraries()}
 */
private static String[] coordinatesOfHibernateSearchLibraries() {
  return Maven.resolver()
      .resolve( "org.hibernate:hibernate-search-orm:" + getCurrentVersion() )
      .using( new RejectDependenciesStrategy( false, exclusions ) )
      .asList( MavenResolvedArtifact.class )
      .stream().map( m -> m.getCoordinate().getGroupId().toString() + ":" + m.getCoordinate().getArtifactId().toString() )
      .toArray( String[]::new );
}
origin: com.remondis.limbus/limbus-staging

/**
 * Adds the dependencies defined in the project's POM to the deployment. <b>Only call this method if you have
 * dependencies defined in the project's POM.</b>
 *
 * @return Return this instance for method chaining.
 */
public LimbusStaging fromProjectDependencies() {
 //@formatter:off
 this.stage.setDependencies(Maven.configureResolver()
                 .withClassPathResolution(true)
                 .loadPomFromFile("pom.xml")
                 .importCompileAndRuntimeDependencies()
                 .resolve()
                 .withTransitivity()
                 .asList(JavaArchive.class));
 //@formatter:on
 return this;
}
org.jboss.shrinkwrap.resolver.api.mavenMavenFormatStageasList

Popular methods of MavenFormatStage

  • asFile
  • as
  • asSingleFile
  • asResolvedArtifact
  • asSingle
  • asSingleResolvedArtifact
  • asSingleInputStream

Popular in Java

  • Reactive rest calls using spring rest template
  • notifyDataSetChanged (ArrayAdapter)
  • putExtra (Intent)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • KeyStore (java.security)
    KeyStore is responsible for maintaining cryptographic keys and their owners. The type of the syste
  • SecureRandom (java.security)
    This class generates cryptographically secure pseudo-random numbers. It is best to invoke SecureRand
  • TimeUnit (java.util.concurrent)
    A TimeUnit represents time durations at a given unit of granularity and provides utility methods to
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now