testLocalRepository3.setId( 3 );
}
testBuildQueue1 = createTestBuildQueue( "build queue 1" );
BuildQueue buildQueue1 = createTestBuildQueue( testBuildQueue1 );
if ( addToStore )
{
buildQueue1 = buildQueueDao.addBuildQueue( buildQueue1 );
testBuildQueue1.setId( buildQueue1.getId() );
}
else
{
buildQueue1.setId( 1 );
testBuildQueue1.setId( 1 );
}
testBuildQueue2 = createTestBuildQueue( "build queue 2" );
BuildQueue buildQueue2 = createTestBuildQueue( testBuildQueue2 );
if ( addToStore )
{
buildQueue2 = buildQueueDao.addBuildQueue( buildQueue2 );
testBuildQueue2.setId( buildQueue2.getId() );
}
else
{
buildQueue2.setId( 2 );
testBuildQueue2.setId( 2 );
}
testBuildQueue3 = createTestBuildQueue( "build queue 3" );
BuildQueue buildQueue3 = createTestBuildQueue( testBuildQueue3 );
if ( addToStore )
{
buildQueue3 = buildQueueDao.addBuildQueue( buildQueue3 );
testBuildQueue3.setId( buildQueue3.getId() );
}
else
{
buildQueue3.setId( 3 );
testBuildQueue3.setId( 3 );
}
defaultProjectGroup = createTestProjectGroup( "Default Group", "The Default Group",
"org.apache.maven.test.default", localRepository1 );