You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by br...@apache.org on 2005/10/14 16:20:03 UTC

svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh

Author: brett
Date: Fri Oct 14 07:19:58 2005
New Revision: 321131

URL: http://svn.apache.org/viewcvs?rev=321131&view=rev
Log:
seems to be choking on the bootstrap-built plugin-plugin in the reactor, try building manually first

Modified:
    maven/components/trunk/m2-bootstrap-all.sh

Modified: maven/components/trunk/m2-bootstrap-all.sh
URL: http://svn.apache.org/viewcvs/maven/components/trunk/m2-bootstrap-all.sh?rev=321131&r1=321130&r2=321131&view=diff
==============================================================================
--- maven/components/trunk/m2-bootstrap-all.sh (original)
+++ maven/components/trunk/m2-bootstrap-all.sh Fri Oct 14 07:19:58 2005
@@ -47,14 +47,21 @@
 )
 ret=$?; if [ $ret != 0 ]; then exit $ret; fi
 
+echo "-----------------------------------------------------------------------"
+echo " Rebuilding maven2 plugins ... "
+echo "-----------------------------------------------------------------------"  
+
 # I Really Don't want to be rebuilding these (Especially the reports) every time, but
 # until we regularly push them to the repository and the integration tests rely on
 # some of these plugins, there is no choice
 (
-  echo "-----------------------------------------------------------------------"
-  echo " Rebuilding maven2 plugins ... "
-  echo "-----------------------------------------------------------------------"  
+  # Build plugin plugin first, it seems to choke on the version built by the bootstrap
+  cd maven-plugins/maven-plugin-plugin
+
+  m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install
+)
 
+(
   cd maven-plugins
   # update the release info to ensure these versions get used in the integration tests
   m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean install



Re: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh

Posted by Brett Porter <br...@apache.org>.
I use windows + cygwin. The bootstrap runs on a solaris 10 x86 machine.

It runs m2-bootstrap-all.sh

The checkout failures are due to server down messages from ibiblio - 
still investigating that.

I'd highly recommend using the release unless you intend to submit 
patches to the Maven core.

Regards,
Brett

Grzegorz Słowikowski wrote:
> Hi all
> 
> What exactly does your Continuum when building m2?
> I'm asking because very often I cannot bootstrap m2
> from 'trunk' souces while Continuum sends me email
> about successful compilation. Does it call m2-bootstrap-all
> or something other? Some days ago I saw that:
> - after update from scm Continuum built m2 successfully
> - after fresh checkout - there were errors
> Bootstraping cleans everything before building, so I don't
> understand why Continuum performed differently after
> fresh checkout.
> 
> Greg
> 
> P.S.
> I have Windows, and I think you have Linux. I did some
> corrections in bat files so they look like sh ones.
> 
> 
> ----- Original Message ----- 
> From: "Grzegorz Słowikowski" <gs...@op.pl>
> To: <de...@maven.apache.org>
> Sent: Monday, October 17, 2005 2:59 PM
> Subject: Re: svn commit: r321131 - 
> /maven/components/trunk/m2-bootstrap-all.sh
> 
> 
> 
>>Hi
>>
>>And what about m2-bootstrap-all.bat?
>>
>>Greg
>>
>>----- Original Message ----- 
>>From: <br...@apache.org>
>>To: <co...@maven.apache.org>
>>Sent: Friday, October 14, 2005 4:20 PM
>>Subject: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh
>>
>>
>>
>>>Author: brett
>>>Date: Fri Oct 14 07:19:58 2005
>>>New Revision: 321131
>>>
>>>URL: http://svn.apache.org/viewcvs?rev=321131&view=rev
>>>Log:
>>>seems to be choking on the bootstrap-built plugin-plugin in the reactor,
>>>try building manually first
>>>
>>>Modified:
>>>   maven/components/trunk/m2-bootstrap-all.sh
>>>
>>>Modified: maven/components/trunk/m2-bootstrap-all.sh
>>>URL:
>>>http://svn.apache.org/viewcvs/maven/components/trunk/m2-bootstrap-all.sh?rev=321131&r1=321130&r2=321131&view=diff
>>>==============================================================================
>>>--- maven/components/trunk/m2-bootstrap-all.sh (original)
>>>+++ maven/components/trunk/m2-bootstrap-all.sh Fri Oct 14 07:19:58 2005
>>>@@ -47,14 +47,21 @@
>>>)
>>>ret=$?; if [ $ret != 0 ]; then exit $ret; fi
>>>
>>>+echo
>>>"-----------------------------------------------------------------------"
>>>+echo " Rebuilding maven2 plugins ... "
>>>+echo
>>>"-----------------------------------------------------------------------"
>>>+
>>># I Really Don't want to be rebuilding these (Especially the reports)
>>>every time, but
>>># until we regularly push them to the repository and the integration 
>>>tests
>>>rely on
>>># some of these plugins, there is no choice
>>>(
>>>-  echo
>>>"-----------------------------------------------------------------------"
>>>-  echo " Rebuilding maven2 plugins ... "
>>>-  echo
>>>"-----------------------------------------------------------------------"
>>>+  # Build plugin plugin first, it seems to choke on the version built by
>>>the bootstrap
>>>+  cd maven-plugins/maven-plugin-plugin
>>>+
>>>+  m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS 
>>>clean:clean
>>>install
>>>+)
>>>
>>>+(
>>>  cd maven-plugins
>>>  # update the release info to ensure these versions get used in the
>>>integration tests
>>>  m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean
>>>install
>>>
>>>
>>
>>
>>---------------------------------------------------------------------
>>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>>For additional commands, e-mail: dev-help@maven.apache.org
>>
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 

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


Re: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh

Posted by Grzegorz Słowikowski <gs...@op.pl>.
Hi all

What exactly does your Continuum when building m2?
I'm asking because very often I cannot bootstrap m2
from 'trunk' souces while Continuum sends me email
about successful compilation. Does it call m2-bootstrap-all
or something other? Some days ago I saw that:
- after update from scm Continuum built m2 successfully
- after fresh checkout - there were errors
Bootstraping cleans everything before building, so I don't
understand why Continuum performed differently after
fresh checkout.

Greg

P.S.
I have Windows, and I think you have Linux. I did some
corrections in bat files so they look like sh ones.


----- Original Message ----- 
From: "Grzegorz Słowikowski" <gs...@op.pl>
To: <de...@maven.apache.org>
Sent: Monday, October 17, 2005 2:59 PM
Subject: Re: svn commit: r321131 - 
/maven/components/trunk/m2-bootstrap-all.sh


> Hi
>
> And what about m2-bootstrap-all.bat?
>
> Greg
>
> ----- Original Message ----- 
> From: <br...@apache.org>
> To: <co...@maven.apache.org>
> Sent: Friday, October 14, 2005 4:20 PM
> Subject: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh
>
>
>> Author: brett
>> Date: Fri Oct 14 07:19:58 2005
>> New Revision: 321131
>>
>> URL: http://svn.apache.org/viewcvs?rev=321131&view=rev
>> Log:
>> seems to be choking on the bootstrap-built plugin-plugin in the reactor,
>> try building manually first
>>
>> Modified:
>>    maven/components/trunk/m2-bootstrap-all.sh
>>
>> Modified: maven/components/trunk/m2-bootstrap-all.sh
>> URL:
>> http://svn.apache.org/viewcvs/maven/components/trunk/m2-bootstrap-all.sh?rev=321131&r1=321130&r2=321131&view=diff
>> ==============================================================================
>> --- maven/components/trunk/m2-bootstrap-all.sh (original)
>> +++ maven/components/trunk/m2-bootstrap-all.sh Fri Oct 14 07:19:58 2005
>> @@ -47,14 +47,21 @@
>> )
>> ret=$?; if [ $ret != 0 ]; then exit $ret; fi
>>
>> +echo
>> "-----------------------------------------------------------------------"
>> +echo " Rebuilding maven2 plugins ... "
>> +echo
>> "-----------------------------------------------------------------------"
>> +
>> # I Really Don't want to be rebuilding these (Especially the reports)
>> every time, but
>> # until we regularly push them to the repository and the integration 
>> tests
>> rely on
>> # some of these plugins, there is no choice
>> (
>> -  echo
>> "-----------------------------------------------------------------------"
>> -  echo " Rebuilding maven2 plugins ... "
>> -  echo
>> "-----------------------------------------------------------------------"
>> +  # Build plugin plugin first, it seems to choke on the version built by
>> the bootstrap
>> +  cd maven-plugins/maven-plugin-plugin
>> +
>> +  m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS 
>> clean:clean
>> install
>> +)
>>
>> +(
>>   cd maven-plugins
>>   # update the release info to ensure these versions get used in the
>> integration tests
>>   m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean
>> install
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 


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


Re: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh

Posted by Grzegorz Słowikowski <gs...@op.pl>.
Hi

And what about m2-bootstrap-all.bat?

Greg

----- Original Message ----- 
From: <br...@apache.org>
To: <co...@maven.apache.org>
Sent: Friday, October 14, 2005 4:20 PM
Subject: svn commit: r321131 - /maven/components/trunk/m2-bootstrap-all.sh


> Author: brett
> Date: Fri Oct 14 07:19:58 2005
> New Revision: 321131
>
> URL: http://svn.apache.org/viewcvs?rev=321131&view=rev
> Log:
> seems to be choking on the bootstrap-built plugin-plugin in the reactor, 
> try building manually first
>
> Modified:
>    maven/components/trunk/m2-bootstrap-all.sh
>
> Modified: maven/components/trunk/m2-bootstrap-all.sh
> URL: 
> http://svn.apache.org/viewcvs/maven/components/trunk/m2-bootstrap-all.sh?rev=321131&r1=321130&r2=321131&view=diff
> ==============================================================================
> --- maven/components/trunk/m2-bootstrap-all.sh (original)
> +++ maven/components/trunk/m2-bootstrap-all.sh Fri Oct 14 07:19:58 2005
> @@ -47,14 +47,21 @@
> )
> ret=$?; if [ $ret != 0 ]; then exit $ret; fi
>
> +echo 
> "-----------------------------------------------------------------------"
> +echo " Rebuilding maven2 plugins ... "
> +echo 
> "-----------------------------------------------------------------------"
> +
> # I Really Don't want to be rebuilding these (Especially the reports) 
> every time, but
> # until we regularly push them to the repository and the integration tests 
> rely on
> # some of these plugins, there is no choice
> (
> -  echo 
> "-----------------------------------------------------------------------"
> -  echo " Rebuilding maven2 plugins ... "
> -  echo 
> "-----------------------------------------------------------------------"
> +  # Build plugin plugin first, it seems to choke on the version built by 
> the bootstrap
> +  cd maven-plugins/maven-plugin-plugin
> +
> +  m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean 
> install
> +)
>
> +(
>   cd maven-plugins
>   # update the release info to ensure these versions get used in the 
> integration tests
>   m2 --no-plugin-registry --batch-mode --fail-at-end -e $ARGS clean:clean 
> install
>
> 


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