There, now the branch and trunk use the same method for bootstrapping. I added the build to Hudson and seems to be happy:

https://ci.sonatype.org/view/Maven%202.0.x/job/Maven-2.0.x-with-bootstrap/7/console

On 15-Apr-08, at 5:34 PM, Deepak Bhole wrote:
* 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]

<maven2- bootstrapbuild .patch >---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Thanks,

Jason

----------------------------------------------------------
Jason van Zyl
Founder,  Apache Maven
jason at sonatype dot com
----------------------------------------------------------

Selfish deeds are the shortest path to self destruction.

-- The Seven Samuari, Akira Kirosawa



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to