mirror of https://github.com/apache/maven.git
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@491373 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
267dec7af8
commit
e259065562
|
@ -27,7 +27,7 @@
|
||||||
<artifactId>maven-embedder</artifactId>
|
<artifactId>maven-embedder</artifactId>
|
||||||
<name>Maven Embedder</name>
|
<name>Maven Embedder</name>
|
||||||
<properties>
|
<properties>
|
||||||
<bundleVersion>2.1.0.v20061230-1718</bundleVersion>
|
<bundleVersion>2.1.0.v20061230-1839</bundleVersion>
|
||||||
</properties>
|
</properties>
|
||||||
<build>
|
<build>
|
||||||
<resources>
|
<resources>
|
||||||
|
|
|
@ -36,7 +36,6 @@ import org.apache.maven.lifecycle.LifecycleExecutor;
|
||||||
import org.apache.maven.model.Model;
|
import org.apache.maven.model.Model;
|
||||||
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
|
import org.apache.maven.model.io.xpp3.MavenXpp3Reader;
|
||||||
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
|
import org.apache.maven.model.io.xpp3.MavenXpp3Writer;
|
||||||
import org.apache.maven.plugin.MojoExecutionException;
|
|
||||||
import org.apache.maven.plugin.descriptor.PluginDescriptor;
|
import org.apache.maven.plugin.descriptor.PluginDescriptor;
|
||||||
import org.apache.maven.plugin.descriptor.PluginDescriptorBuilder;
|
import org.apache.maven.plugin.descriptor.PluginDescriptorBuilder;
|
||||||
import org.apache.maven.profiles.DefaultProfileManager;
|
import org.apache.maven.profiles.DefaultProfileManager;
|
||||||
|
@ -60,7 +59,6 @@ import org.codehaus.plexus.component.repository.exception.ComponentLifecycleExce
|
||||||
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
import org.codehaus.plexus.component.repository.exception.ComponentLookupException;
|
||||||
import org.codehaus.plexus.configuration.PlexusConfiguration;
|
import org.codehaus.plexus.configuration.PlexusConfiguration;
|
||||||
import org.codehaus.plexus.configuration.PlexusConfigurationException;
|
import org.codehaus.plexus.configuration.PlexusConfigurationException;
|
||||||
import org.codehaus.plexus.util.DirectoryScanner;
|
|
||||||
import org.codehaus.plexus.util.xml.Xpp3Dom;
|
import org.codehaus.plexus.util.xml.Xpp3Dom;
|
||||||
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
|
import org.codehaus.plexus.util.xml.pull.XmlPullParserException;
|
||||||
|
|
||||||
|
@ -79,7 +77,7 @@ import java.util.List;
|
||||||
/**
|
/**
|
||||||
* Class intended to be used by clients who wish to embed Maven into their applications
|
* Class intended to be used by clients who wish to embed Maven into their applications
|
||||||
*
|
*
|
||||||
* @author <a href="mailto:jason@maven.org">Jason van Zyl</a>
|
* @author Jason van Zyl
|
||||||
*/
|
*/
|
||||||
public class MavenEmbedder
|
public class MavenEmbedder
|
||||||
{
|
{
|
||||||
|
@ -183,7 +181,7 @@ public class MavenEmbedder
|
||||||
}
|
}
|
||||||
|
|
||||||
public Model readModel( File model )
|
public Model readModel( File model )
|
||||||
throws XmlPullParserException, FileNotFoundException, IOException
|
throws XmlPullParserException, IOException
|
||||||
{
|
{
|
||||||
checkStarted();
|
checkStarted();
|
||||||
return modelReader.read( new FileReader( model ) );
|
return modelReader.read( new FileReader( model ) );
|
||||||
|
|
Loading…
Reference in New Issue