Package org.sonatype.maven.polyglot.execute

Examples of org.sonatype.maven.polyglot.execute.ExecuteManagerImpl


* This is a slightly modified version as shipped with polyglot Maven.
*/
public class CustomModelBuilder extends ModelBuilder {

    public CustomModelBuilder(Model model) {
        ExecuteManager executeManager = new ExecuteManagerImpl();
        setProp(executeManager.getClass(), executeManager, "log",
                new PlexusLoggerAdapter(LoggerFactory.getLogger(ExecuteManagerImpl.class)));
        setProp(ModelBuilder.class, this, "executeManager", executeManager);
        setProp(ModelBuilder.class, this, "log",
                new PlexusLoggerAdapter(LoggerFactory.getLogger(ModelBuilder.class)));
        try {
View Full Code Here


      //
      // Read in the Ruby POM
      //
      RubyModelReader rubyModelReader = new RubyModelReader();
      rubyModelReader.executeManager = new ExecuteManagerImpl() {
        {
          log = new ConsoleLogger( Logger.LEVEL_INFO, "test" );
        }
      };
        rubyModelReader.setupManager = new SetupClassRealmRuby();
View Full Code Here

            {
               mappings = new ArrayList<Mapping>();
            }
        };
        modelManager.addMapping( new RubyMapping() );
        rubyModelReader.executeManager = new ExecuteManagerImpl() {
            {
                log = new ConsoleLogger( Logger.LEVEL_INFO, "test" );
                manager = modelManager;
            }
        };
View Full Code Here

            {
               mappings = new ArrayList<Mapping>();
            }
        };
        modelManager.addMapping( new RubyMapping() );
        rubyModelReader.executeManager = new ExecuteManagerImpl() {
            {
                log = new ConsoleLogger( Logger.LEVEL_INFO, "test" );
                manager = modelManager;
            }
        };
View Full Code Here

            {
                mappings = new ArrayList<Mapping>();
             }
         };
         modelManager.addMapping( new RubyMapping() );
         rubyModelReader.executeManager = new ExecuteManagerImpl() {
             {
                 log = new ConsoleLogger( Logger.LEVEL_INFO, "test" );
                 manager = modelManager;
             }
        };
View Full Code Here

TOP

Related Classes of org.sonatype.maven.polyglot.execute.ExecuteManagerImpl

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.