adding basic bootstrapping instructions to the README.

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@614337 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
John Dennis Casey 2008-01-22 21:52:28 +00:00
parent f2ea396212
commit a23ed648fd
2 changed files with 33 additions and 0 deletions

View File

@ -1,3 +1,25 @@
See:
http://maven.apache.org/guides/development/guide-building-m2.html
for complete instructions.
BOOTSTRAPPING BASICS
-----------------------
You'll need:
- Java 1.4
- Ant 1.6.5 or later
First, give Ant a location into which the completed Maven distro should be installed:
export M2_HOME=$HOME/apps/maven/apache-maven-2.1-SNAPSHOT
Then, run Ant:
ant
Once the build completes, you should have a new Maven distro ready to roll in your $M2_HOME directory!
Enjoy.

View File

@ -7,6 +7,7 @@ import org.codehaus.plexus.classworlds.realm.ClassRealm;
import org.apache.maven.plugin.Mojo;
import org.apache.maven.plugin.DefaultPluginManager;
import org.apache.maven.plugin.descriptor.PluginDescriptor;
import org.aspectj.lang.JoinPoint;
import java.util.Iterator;
import java.util.List;
@ -14,6 +15,16 @@ import java.util.List;
public aspect CoreDebuggingAspect
{
after() throwing ( RuntimeException e ):
// adviceexecution( )
// && args( jp )
call( * *..*.*(..))
&& !within( CoreDebuggingAspect+ )
&& !handler( * )
{
System.out.println( "Error: " + e.getClass().getName() + "\nwas in join point: " + thisJoinPoint.toLongString() + "\n(at: " + thisJoinPoint.getSourceLocation() + ")" );
}
// after( MavenExecutionRequest request ) returning( List projects ):
// call( List DefaultMaven.getProjects( MavenExecutionRequest ) )
// && args( request )