当前位置: 首页>>代码示例>>Java>>正文


Java MavenFileFilter类代码示例

本文整理汇总了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;
}
 
开发者ID:axonivy,项目名称:project-build-plugin,代码行数:8,代码来源:DeploymentOptionsFile.java

示例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 );
}
 
开发者ID:mojohaus,项目名称:sql-maven-plugin,代码行数:33,代码来源:SqlExecMojoTest.java

示例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;
}
 
开发者ID:fabric8io,项目名称:jube,代码行数:10,代码来源:JubeArchiveConfigurationSource.java

示例4: getMavenFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
 * {@inheritDoc}
 */
public MavenFileFilter getMavenFileFilter()
{
    return mavenFileFilter;
}
 
开发者ID:zhegexiaohuozi,项目名称:maven-seimicrawler-plugin,代码行数:8,代码来源:AbstractWarMojo.java

示例5: setFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public void setFileFilter( MavenFileFilter filter )
{
    this.fileFilter = filter;
}
 
开发者ID:mojohaus,项目名称:sql-maven-plugin,代码行数:5,代码来源:SqlExecMojo.java

示例6: getMavenFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public MavenFileFilter getMavenFileFilter() {
    return mavenFilter;
}
 
开发者ID:fabric8io,项目名称:jube,代码行数:4,代码来源:JubeArchiveConfigurationSource.java

示例7: getMavenFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
public MavenFileFilter getMavenFileFilter()
{
    return mavenFileFilter;
}
 
开发者ID:pister,项目名称:wint,代码行数:5,代码来源:AbstractWarMojo.java

示例8: getMavenFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
 * @return property.
 */
public MavenFileFilter getMavenFileFilter()
{
    return mavenFileFilter;
}
 
开发者ID:cameroncan,项目名称:js-import-maven-plugin,代码行数:8,代码来源:AbstractGenerateHtmlMojo.java

示例9: setMavenFileFilter

import org.apache.maven.shared.filtering.MavenFileFilter; //导入依赖的package包/类
/**
 * @param mavenFileFilter set property.
 */
public void setMavenFileFilter( MavenFileFilter mavenFileFilter )
{
    this.mavenFileFilter = mavenFileFilter;
}
 
开发者ID:cameroncan,项目名称:js-import-maven-plugin,代码行数:8,代码来源:AbstractGenerateHtmlMojo.java

示例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();
 
开发者ID:zhegexiaohuozi,项目名称:maven-seimicrawler-plugin,代码行数:8,代码来源:WarPackagingContext.java


注:本文中的org.apache.maven.shared.filtering.MavenFileFilter类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。