* Brian E. Fox <[EMAIL PROTECTED]> [2008-04-15 17:55]:
> Yes. I should add it to the Hudson build to check it. Maybe jason will
> feel like rewriting it to use the ant tasks like he did for trunk....
>
Ah okay, good to know.
In the mean time, I have found the issue that causes bootstrap.sh in
2.0.9 to fail. It is a simple fix and I am attaching a patch, in case
anyone else runs into it and needs the fix.
Cheers,
Deepak
> -----Original Message-----
> From: Deepak Bhole [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, April 15, 2008 5:34 PM
> To: Brian E. Fox
> Cc: Maven Developers List
> Subject: Re: Maven 2.0.9 build failure
>
> * Brian E. Fox <[EMAIL PROTECTED]> [2008-04-15 17:21]:
> > Not many people are using the bootstrap on 2.0.x. Just grab 2.0.8 (or
> > 2.0.9) and build it as a normal maven project.
> >
> >
>
> Thanks, that worked. Are there plans to make bootstrap work again
> though? I maintain the Maven package in Fedora, and from a packaging
> perspective, bootstrapping is a valuable option...
>
> Deepak
>
> > -----Original Message-----
> > From: Deepak Bhole [mailto:[EMAIL PROTECTED]
> > Sent: Tuesday, April 15, 2008 5:15 PM
> > To: [email protected]
> > Subject: Maven 2.0.9 build failure
> >
> > Hi,
> >
> > I checked out the 2.0.9 tag from here:
> >
> > http://svn.apache.org/repos/asf/maven/components/tags/maven-2.0.9
> >
> > rm -rf'd ~/.m2, set M2_HOME to $PWD/build/apache-maven-2.0.9, and
> > ran ./bootstrap.sh. However, the build keeps failing:
> >
> > --- BEGIN ---
> >
> > Building project in /tmp/maven2-build/maven2/apache-maven
> > ------------------------------------------------------------------
> > Cleaning /tmp/maven2-build/maven2/apache-maven/target...
> > Compiling sources ...
> > Packaging resources ...
> > Packaging
> /tmp/maven2-build/maven2/apache-maven/target/apache-maven.jar
> > ...
> > ------------------------------------------------------------------
> > Exception in thread "main" java.lang.NullPointerException at
> >
> org.apache.maven.bootstrap.installer.BootstrapInstaller.createInstallati
> > on(BootstrapInstaller.java:254) at
> >
> org.apache.maven.bootstrap.installer.BootstrapInstaller.run(BootstrapIns
> > taller.java:136) at
> >
> org.apache.maven.bootstrap.installer.BootstrapInstaller.main(BootstrapIn
> > staller.java:91)
> >
> > --- END ---
> >
> > I am using OpenJDK 1.6.0 to build.
> >
> > Has anyone encountered this before? And if so, how can I fix it?
> >
> > Cheers,
> > Deepak
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
diff -up
./maven2/bootstrap/bootstrap-installer/src/main/java/org/apache/maven/bootstrap/installer/BootstrapInstaller.java.sav
./maven2/bootstrap/bootstrap-installer/src/main/java/org/apache/maven/bootstrap/installer/BootstrapInstaller.java
---
./maven2/bootstrap/bootstrap-installer/src/main/java/org/apache/maven/bootstrap/installer/BootstrapInstaller.java.sav
2008-04-15 20:26:29.000000000 -0400
+++
./maven2/bootstrap/bootstrap-installer/src/main/java/org/apache/maven/bootstrap/installer/BootstrapInstaller.java
2008-04-15 20:22:14.000000000 -0400
@@ -130,7 +130,7 @@ public class BootstrapInstaller
bootstrapper.buildProject( new File( basedir ), true );
- Model mavenCoreModel = bootstrapper.getCachedModel( MAVEN_GROUPID,
"assembly" );
+ Model mavenCoreModel = bootstrapper.getCachedModel( MAVEN_GROUPID,
"apache-maven" );
File installation = new File( basedir, "bootstrap/target/installation"
);
createInstallation( installation, mavenCoreModel );
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]