@Test
public void testMavenProject() throws Exception {

	File dir = this.folder.newFolder();
	CreationBean bean = new CreationBean()
						.projectDescription( "some desc" ).projectName( "my-project" )
						.groupId( "net.roboconf" ).projectVersion( "1.0-SNAPSHOT" )
						.pluginVersion( "1.0.0" );
	Assert.assertEquals( 0, dir.listFiles().length );
	ProjectUtils.createProjectSkeleton( dir, bean );
	Assert.assertEquals( 2, dir.listFiles().length );
	Assert.assertTrue( new File( dir, "pom.xml" ).exists());
	File modelDir = new File( dir, Constants.MAVEN_SRC_MAIN_MODEL );
	Assert.assertTrue( modelDir.exists());
	Assert.assertEquals( 6, modelDir.listFiles().length );
	ApplicationLoadResult alr = RuntimeModelIo.loadApplication( modelDir );
	List<RoboconfError> errors = new ArrayList<>( alr.getLoadErrors());
	Assert.assertEquals( 3, errors.size());
	Assert.assertEquals( ErrorCode.RM_INVALID_APPLICATION_VERSION, errors.get( 0 ).getErrorCode());
	Assert.assertEquals( ErrorCode.PROJ_NO_RESOURCE_DIRECTORY, errors.get( 1 ).getErrorCode());
	Assert.assertEquals( ErrorCode.PROJ_NO_RESOURCE_DIRECTORY, errors.get( 2 ).getErrorCode());
	Assert.assertEquals( "${project.description}", alr.getApplicationTemplate().getDescription());
	Assert.assertEquals( bean.getProjectName(), alr.getApplicationTemplate().getName());
	Assert.assertEquals( "${project.version}", alr.getApplicationTemplate().getVersion());
}