本文整理了Java中org.apache.maven.continuum.model.project.Project.getDependencies()
方法的一些代码示例,展示了Project.getDependencies()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Project.getDependencies()
方法的具体详情如下:
包路径:org.apache.maven.continuum.model.project.Project
类名称:Project
方法名:getDependencies
[英]Method getDependencies
[中]方法getDependencies
代码示例来源:origin: org.apache.continuum/continuum-model
/**
* Method removeDependency.
*
* @param projectDependency
*/
public void removeDependency( ProjectDependency projectDependency )
{
getDependencies().remove( projectDependency );
} //-- void removeDependency( ProjectDependency )
代码示例来源:origin: org.apache.continuum/continuum-model
/**
* Method addDependency.
*
* @param projectDependency
*/
public void addDependency( ProjectDependency projectDependency )
{
getDependencies().add( projectDependency );
} //-- void addDependency( ProjectDependency )
代码示例来源:origin: org.apache.maven.continuum/continuum-model
/**
* Method removeDependency
*
* @param projectDependency
*/
public void removeDependency(ProjectDependency projectDependency)
{
if ( !(projectDependency instanceof ProjectDependency) )
{
throw new ClassCastException( "Project.removeDependencies(projectDependency) parameter must be instanceof " + ProjectDependency.class.getName() );
}
getDependencies().remove( projectDependency );
} //-- void removeDependency(ProjectDependency)
代码示例来源:origin: org.apache.maven.continuum/continuum-model
/**
* Method addDependency
*
* @param projectDependency
*/
public void addDependency(ProjectDependency projectDependency)
{
if ( !(projectDependency instanceof ProjectDependency) )
{
throw new ClassCastException( "Project.addDependencies(projectDependency) parameter must be instanceof " + ProjectDependency.class.getName() );
}
getDependencies().add( projectDependency );
} //-- void addDependency(ProjectDependency)
代码示例来源:origin: org.apache.continuum/continuum-buildagent-core
project.getDevelopers() ) );
projectMap.put( ContinuumBuildAgentUtil.KEY_PROJECT_DEPENDENCIES, getProjectDependencies(
project.getDependencies() ) );
projectMap.put( ContinuumBuildAgentUtil.KEY_PROJECT_NOTIFIERS, getProjectNotifiers( project.getNotifiers() ) );
代码示例来源:origin: org.apache.continuum/continuum-model
if ( ( project.getDependencies() != null ) && ( project.getDependencies().size() > 0 ) )
for ( Iterator iter = project.getDependencies().iterator(); iter.hasNext(); )
代码示例来源:origin: org.apache.maven.continuum/continuum-model
if ( project.getDependencies() != null && project.getDependencies().size() > 0 )
for ( Iterator iter = project.getDependencies().iterator(); iter.hasNext(); )
代码示例来源:origin: org.apache.continuum/continuum-core
List<ProjectDependency> dependencies = project.getDependencies();
代码示例来源:origin: org.apache.continuum/continuum-api
for ( Object o : project.getDependencies() )
代码示例来源:origin: org.apache.maven.continuum/continuum-core
for ( Object o : project.getDependencies() )
代码示例来源:origin: org.apache.continuum/continuum-core
List<ProjectDependency> dependencies = project.getDependencies();
代码示例来源:origin: org.apache.maven.continuum/continuum-core
List dependencies = project.getDependencies();
代码示例来源:origin: org.apache.continuum/continuum-core
project.getDependencies().clear();
projectDao.updateProject( project );
内容来源于网络,如有侵权,请联系作者删除!