maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Benjamin Bentmann <benjamin.bentm...@udo.edu>
Subject Re: svn commit: r720525 - in /maven/components/trunk/maven-core/src: main/java/org/apache/maven/listeners/ test/java/org/apache/maven/listeners/
Date Tue, 25 Nov 2008 16:19:49 GMT
jvanzyl wrote:

> Author: jvanzyl
> Date: Tue Nov 25 08:13:29 2008
> New Revision: 720525
> 
> URL: http://svn.apache.org/viewvc?rev=720525&view=rev
> Log:
> o adding missing model extensions i added
> 
> Added:
>     maven/components/trunk/maven-core/src/main/java/org/apache/maven/listeners/DefaultMavenModelEventProcessor.java
  (with props)
>     maven/components/trunk/maven-core/src/main/java/org/apache/maven/listeners/MavenModelEventListener.java
  (with props)
>     maven/components/trunk/maven-core/src/main/java/org/apache/maven/listeners/MavenModelEventProcessor.java
  (with props)
>     maven/components/trunk/maven-core/src/test/java/org/apache/maven/listeners/
>     maven/components/trunk/maven-core/src/test/java/org/apache/maven/listeners/BuildExtensionListenerTest.java
  (with props)
> 
> +    private MavenSession newMavenSession()
> +        throws CycleDetectedException, DuplicateProjectException
> +    {
> +        Model model = new Model();
> +        model.setGroupId( "group" );
> +        model.setArtifactId( "artifact" );
> +        model.setVersion( "1" );
> +
> +        MavenProject project = new MavenProject( model );
> +        ReactorManager rm = new ReactorManager( Collections.singletonList( project ),
ReactorManager.FAIL_FAST );
> +        MavenExecutionRequest request = new DefaultMavenExecutionRequest();
> +        request.setLocalRepositoryPath( new File( "/Users/jvanzyl/.m2/repository" )
);        

This path might be troublesome for others...


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Mime
View raw message