Package org.eclipse.cbi.mojo
Class TestPropertiesMojo
- java.lang.Object
-
- org.apache.maven.plugin.AbstractMojo
-
- org.eclipse.cbi.mojo.AbstractPluginScannerMojo
-
- org.eclipse.cbi.mojo.TestPropertiesMojo
-
- All Implemented Interfaces:
org.apache.maven.plugin.ContextEnabled
,org.apache.maven.plugin.Mojo
@Mojo(name="test-properties") public class TestPropertiesMojo extends AbstractPluginScannerMojo
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description private static class
TestPropertiesMojo.Plugin
private static class
TestPropertiesMojo.TestType
-
Field Summary
Fields Modifier and Type Field Description protected java.io.File
destination
private static de.pdark.decentxml.XMLParser
parser
-
Fields inherited from class org.eclipse.cbi.mojo.AbstractPluginScannerMojo
bundleReader, repository
-
-
Constructor Summary
Constructors Constructor Description TestPropertiesMojo()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description private void
collectRequiredBundles(TestPropertiesMojo.Plugin plugin, java.util.Map<java.lang.String,TestPropertiesMojo.Plugin> model, java.util.Collection<TestPropertiesMojo.Plugin> required, java.util.Set<org.eclipse.tycho.ArtifactKey> visited)
protected java.io.File
getDestination()
private static TestPropertiesMojo.TestType
getTestType(java.io.File plugin)
private static org.eclipse.tycho.ArtifactKey
newArtifactKey(TestPropertiesMojo.Plugin plugin)
protected void
processPlugins(java.util.Properties properties, java.util.Map<java.io.File,org.eclipse.tycho.core.osgitools.OsgiManifest> plugins)
-
Methods inherited from class org.eclipse.cbi.mojo.AbstractPluginScannerMojo
execute
-
-
-
-
Method Detail
-
getDestination
protected java.io.File getDestination()
- Specified by:
getDestination
in classAbstractPluginScannerMojo
-
processPlugins
protected void processPlugins(java.util.Properties properties, java.util.Map<java.io.File,org.eclipse.tycho.core.osgitools.OsgiManifest> plugins) throws java.lang.Exception
- Specified by:
processPlugins
in classAbstractPluginScannerMojo
- Throws:
java.lang.Exception
-
collectRequiredBundles
private void collectRequiredBundles(TestPropertiesMojo.Plugin plugin, java.util.Map<java.lang.String,TestPropertiesMojo.Plugin> model, java.util.Collection<TestPropertiesMojo.Plugin> required, java.util.Set<org.eclipse.tycho.ArtifactKey> visited) throws org.osgi.framework.BundleException
- Throws:
org.osgi.framework.BundleException
-
newArtifactKey
private static org.eclipse.tycho.ArtifactKey newArtifactKey(TestPropertiesMojo.Plugin plugin)
-
getTestType
private static TestPropertiesMojo.TestType getTestType(java.io.File plugin) throws java.io.IOException
- Throws:
java.io.IOException
-
-