Codota Logo
Execution
Code IndexAdd Codota to your IDE (free)

How to use
Execution
in
org.jboss.forge.addon.maven.plugins

Best Java code snippets using org.jboss.forge.addon.maven.plugins.Execution (Showing top 4 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
ArrayList a =
  • Codota Iconnew ArrayList<String>()
  • Codota Iconnew ArrayList()
  • Codota Iconnew ArrayList<Object>()
  • Smart code suggestions by Codota
}
origin: org.jboss.forge.addon/maven-api

private List<PluginExecution> transformExecutions(final MavenPlugin mavenPlugin)
{
 List<PluginExecution> executions = new ArrayList<PluginExecution>();
 for (Execution execution : mavenPlugin.listExecutions())
 {
   PluginExecution pluginExecution = new PluginExecution();
   pluginExecution.setId(execution.getId());
   pluginExecution.setPhase(execution.getPhase());
   pluginExecution.setGoals(execution.getGoals());
   pluginExecution.setConfiguration(parseConfig(execution.getConfig()));
   executions.add(pluginExecution);
 }
 return executions;
}
origin: errai/errai

@Override
protected void init() {
 final Execution execution = executions.iterator().next();
 final ConfigurationElement artifactItems = execution.getConfig().getConfigurationElement("artifactItems");
 final ConfigurationElementBuilder artifactItem = (ConfigurationElementBuilder) artifactItems.getChildren().get(0);
 final VersionFacet versionFacet = getProject().getFacet(VersionFacet.class);
 artifactItem.addChild(ConfigurationElementBuilder.create().setName("version")
     .setText(versionFacet.resolveVersion(WildflyDist)));
}
origin: errai/errai

for (final Execution pluginExec : mPlugin.listExecutions()) {
 if (exec.getId().equals(pluginExec.getId()))
  continue outer;
origin: org.jboss.forge.addon/maven-impl-projects

private boolean processorConfigured(MetaModelProvider provider)
{
 CoordinateBuilder dependency = createProcessorCoordinate().setVersion(null);
 MavenPluginFacet pluginFacet = getFaceted().getFacet(MavenPluginFacet.class);
 if (pluginFacet.hasPlugin(dependency))
 {
   MavenPlugin plugin = pluginFacet.getPlugin(dependency);
   if (plugin.listExecutions().size() > 0)
   {
    Configuration config = plugin.listExecutions().get(0).getConfig();
    if (config.hasConfigurationElement("processors"))
    {
      ConfigurationElement element = config.getConfigurationElement("processors").getChildByName("processor");
      return element.getText().equals(provider.getProcessor());
    }
   }
 }
 return false;
}
org.jboss.forge.addon.maven.pluginsExecution

Javadoc

Represents an element in the pom.xml

Most used methods

  • getConfig
  • getId
  • getGoals
  • getPhase

Popular in Java

  • Reading from database using SQL prepared statement
  • setRequestProperty (URLConnection)
  • getApplicationContext (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • ServerSocket (java.net)
    This class represents a server-side socket that waits for incoming client connections. A ServerSocke
  • SQLException (java.sql)
    An exception that indicates a failed JDBC operation. It provides the following information about pro
  • NumberFormat (java.text)
    The abstract base class for all number formats. This class provides the interface for formatting and
  • Notification (javax.management)
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • Scheduler (org.quartz)
    This is the main interface of a Quartz Scheduler. A Scheduler maintains a registery of org.quartz
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now