org.apache.karaf.tooling.features
Class AddFeaturesToRepoMojo

java.lang.Object
  extended by org.apache.maven.plugin.AbstractMojo
      extended by org.apache.karaf.tooling.features.MojoSupport
          extended by org.apache.karaf.tooling.features.AddFeaturesToRepoMojo
All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled, org.apache.maven.plugin.Mojo

public class AddFeaturesToRepoMojo
extends MojoSupport

Generates the features XML file

Version:
$Revision: 1.1 $

Nested Class Summary
static class AddFeaturesToRepoMojo.Feature
           
static class AddFeaturesToRepoMojo.Repository
           
 
Field Summary
 
Fields inherited from class org.apache.karaf.tooling.features.MojoSupport
artifactMetadataSource, collector, factory, localRepo, project, projectBuilder, projectHelper, remoteRepos, resolver, workDirectory
 
Fields inherited from interface org.apache.maven.plugin.Mojo
ROLE
 
Constructor Summary
AddFeaturesToRepoMojo()
           
 
Method Summary
static void copy(java.io.InputStream is, java.io.File dir, java.lang.String destName, java.lang.String destDir, byte[] buffer)
           
 void execute()
           
 
Methods inherited from class org.apache.karaf.tooling.features.MojoSupport
bundleToArtifact, createManagedVersionMap, excludeBranch, getArtifacts, getClassLoader, getLocalRepoUrl, getProject, getProjectHelper, getWorkDirectory, print, removeBranch, removeChildren, resolveProject, retainArtifacts, translateFromMaven
 
Methods inherited from class org.apache.maven.plugin.AbstractMojo
getLog, getPluginContext, setLog, setPluginContext
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AddFeaturesToRepoMojo

public AddFeaturesToRepoMojo()
Method Detail

execute

public void execute()
             throws org.apache.maven.plugin.MojoExecutionException,
                    org.apache.maven.plugin.MojoFailureException
Throws:
org.apache.maven.plugin.MojoExecutionException
org.apache.maven.plugin.MojoFailureException

copy

public static void copy(java.io.InputStream is,
                        java.io.File dir,
                        java.lang.String destName,
                        java.lang.String destDir,
                        byte[] buffer)
                 throws java.io.IOException
Throws:
java.io.IOException


Copyright © 2007-2011 Apache Software Foundation. All Rights Reserved.