Tabnine Logo
AbstractMojoTestCase.newMavenSession
Code IndexAdd Tabnine to your IDE (free)

How to use
newMavenSession
method
in
org.apache.maven.plugin.testing.AbstractMojoTestCase

Best Java code snippets using org.apache.maven.plugin.testing.AbstractMojoTestCase.newMavenSession (Showing top 4 results out of 315)

origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

public MavenSession newMavenSession( MavenProject project )
{
  return testCase.newMavenSession( project );
}
origin: org.apache.maven.plugin-testing/maven-plugin-testing-harness

/**
 * 
 * @param project
 * @param goal
 * @return
 * @throws Exception
 * @since 2.0
 */
protected Mojo lookupConfiguredMojo( MavenProject project, String goal )
  throws Exception
{
  return lookupConfiguredMojo( newMavenSession( project ), newMojoExecution( goal ) );
}
origin: com.simpligility.org.apache.maven.plugin-testing/maven-plugin-testing-harness

public MavenSession newMavenSession( MavenProject project )
{
  return testCase.newMavenSession( project );
}
origin: com.simpligility.org.apache.maven.plugin-testing/maven-plugin-testing-harness

/**
 * 
 * @param project
 * @param goal
 * @return
 * @throws Exception
 * @since 2.0
 */
protected Mojo lookupConfiguredMojo( MavenProject project, String goal )
  throws Exception
{
  return lookupConfiguredMojo( newMavenSession( project ), newMojoExecution( goal ) );
}
org.apache.maven.plugin.testingAbstractMojoTestCasenewMavenSession

Popular methods of AbstractMojoTestCase

  • setUp
  • tearDown
  • getContainer
  • lookupMojo
    lookup the mojo while we have all of the relavent information
  • assertNotNull
  • configureMojo
    Configure the mojo with the given plexus configuration
  • extractPluginConfiguration
  • fail
  • finalizeMojoConfiguration
  • getBasedir
  • getPluginDescriptorLocation
  • getPluginDescriptorPath
  • getPluginDescriptorLocation,
  • getPluginDescriptorPath,
  • getPublicDescriptorStream,
  • getVariableValueFromObject,
  • getVariablesAndValuesFromObject,
  • lookup,
  • lookupConfiguredMojo,
  • lookupEmptyMojo,
  • newMojoExecution

Popular in Java

  • Running tasks concurrently on multiple threads
  • setRequestProperty (URLConnection)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • setContentView (Activity)
  • Graphics2D (java.awt)
    This Graphics2D class extends the Graphics class to provide more sophisticated control overgraphics
  • InetAddress (java.net)
    An Internet Protocol (IP) address. This can be either an IPv4 address or an IPv6 address, and in pra
  • ByteBuffer (java.nio)
    A buffer for bytes. A byte buffer can be created in either one of the following ways: * #allocate
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • Response (javax.ws.rs.core)
    Defines the contract between a returned instance and the runtime when an application needs to provid
  • Project (org.apache.tools.ant)
    Central representation of an Ant project. This class defines an Ant project with all of its targets,
  • From CI to AI: The AI layer in your organization
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