001package org.andromda.maven.plugin; 002 003import org.andromda.core.AndroMDAServer; 004import org.andromda.core.configuration.Configuration; 005 006/** 007 * Provides the ability to start the AndroMDA server. 008 * 009 * @author Chad Brandon 010 * @goal start-server 011 * @requiresProject false 012 * @requiresDependencyResolution runtime 013 */ 014public class AndroMDAServerStartMojo 015 extends AbstractAndroMDAMojo 016{ 017 /** 018 * @see org.andromda.maven.plugin.AbstractAndroMDAMojo#execute(org.andromda.core.configuration.Configuration) 019 */ 020 public void execute(final Configuration configuration) 021 { 022 this.allowMultipleRuns = true; 023 final AndroMDAServer server = AndroMDAServer.newInstance(); 024 server.start(configuration); 025 } 026}