本文整理汇总了Java中org.apache.maven.shared.filtering.MavenFileFilter类的典型用法代码示例。如果您正苦于以下问题:Java MavenFileFilter类的具体用法?Java MavenFileFilter怎么用?Java MavenFileFilter使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
MavenFileFilter类属于org.apache.maven.shared.filtering包,在下文中一共展示了MavenFileFilter类的10个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: DeploymentOptionsFile
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public DeploymentOptionsFile(File optionsFile, MavenProject project, MavenSession session, MavenFileFilter fileFilter)
{
this.optionsFile = optionsFile;
this.project = project;
this.session = session;
this.fileFilter = fileFilter;
}
示例2: setUp
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public void setUp()
throws Exception
{
super.setUp();
p = new Properties();
p.load( getClass().getResourceAsStream( "/test.properties" ) );
mojo = new SqlExecMojo();
// populate parameters
mojo.setDriver( p.getProperty( "driver" ) );
mojo.setUsername( p.getProperty( "user" ) );
mojo.setPassword( p.getProperty( "password" ) );
mojo.setUrl( p.getProperty( "url" ) );
mojo.setDriverProperties( p.getProperty( "driverProperties" ) );
mojo.setSqlCommand( null );
mojo.setDelimiter( SqlExecMojo.DEFAULT_DELIMITER );// This will simulate the defaultValue of @Parameter (...)
mojo.setOnError( SqlExecMojo.ON_ERROR_ABORT );
mojo.setDelimiterType( DelimiterType.NORMAL );
mojo.setEscapeProcessing( true );
MavenFileFilter filter =
(MavenFileFilter) lookup( "org.apache.maven.shared.filtering.MavenFileFilter", "default" );
mojo.setFileFilter( filter );
SecDispatcher securityDispatcher =
(SecDispatcher) lookup( "org.sonatype.plexus.components.sec.dispatcher.SecDispatcher", "default" );
mojo.setSecurityDispatcher( securityDispatcher );
MavenProject project = new MavenProjectStub();
setVariableValueToObject( mojo, "project", project );
}
示例3: JubeArchiveConfigurationSource
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public JubeArchiveConfigurationSource(MavenProject project, MavenSession mavenSession, MavenArchiveConfiguration archiveConfiguration,
MavenFileFilter mavenFilter, String[] descriptors, String[] descriptorRefs) {
this.project = project;
this.mavenSession = mavenSession;
this.archiveConfiguration = archiveConfiguration;
this.mavenFilter = mavenFilter;
this.descriptors = descriptors;
this.descriptorRefs = descriptorRefs;
}
示例4: getMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
* {@inheritDoc}
*/
public MavenFileFilter getMavenFileFilter()
{
return mavenFileFilter;
}
示例5: setFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public void setFileFilter( MavenFileFilter filter )
{
this.fileFilter = filter;
}
示例6: getMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public MavenFileFilter getMavenFileFilter() {
return mavenFilter;
}
示例7: getMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public MavenFileFilter getMavenFileFilter()
{
return mavenFileFilter;
}
示例8: getMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
* @return property.
*/
public MavenFileFilter getMavenFileFilter()
{
return mavenFileFilter;
}
示例9: setMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
* @param mavenFileFilter set property.
*/
public void setMavenFileFilter( MavenFileFilter mavenFileFilter )
{
this.mavenFileFilter = mavenFileFilter;
}
示例10: getMavenFileFilter
import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
* Returns the {@link MavenFileFilter} instance to use.
*
* @return the maven file filter to use
* @since 2.1-alpha-2
*/
MavenFileFilter getMavenFileFilter();