ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

org.jboss.shrinkwrap.resolver.impl.maven.task
Class LoadPomMetadataTask

java.lang.Object
  extended by org.jboss.shrinkwrap.resolver.impl.maven.task.LoadPomMetadataTask
All Implemented Interfaces:
MavenWorkingSessionTask

public class LoadPomMetadataTask
extends Object
implements MavenWorkingSessionTask

MavenWorkingSessionTask implementation which is configured from properties set by the Maven Resolver Maven Plugin

Author:
Karel Piwko

Constructor Summary
LoadPomMetadataTask(File pomFile, String... profiles)
           
LoadPomMetadataTask(String pathToPomFile, String... profiles)
           
 
Method Summary
 MavenWorkingSession execute(MavenWorkingSession session)
          Executes the specified session, returning the next session to be invoked
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LoadPomMetadataTask

public LoadPomMetadataTask(File pomFile,
                           String... profiles)

LoadPomMetadataTask

public LoadPomMetadataTask(String pathToPomFile,
                           String... profiles)
                    throws IllegalArgumentException,
                           org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
Throws:
IllegalArgumentException
org.jboss.shrinkwrap.resolver.api.InvalidConfigurationFileException
Method Detail

execute

public MavenWorkingSession execute(MavenWorkingSession session)
Description copied from interface: MavenWorkingSessionTask
Executes the specified session, returning the next session to be invoked

Specified by:
execute in interface MavenWorkingSessionTask
Returns:

ShrinkWrap Resolver Maven Implementation 2.0.0-alpha-2

Copyright © 2012 JBoss by Red Hat. All Rights Reserved.