You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by David Jencks <da...@yahoo.com> on 2005/12/03 19:21:35 UTC

'new' build should now work

Following some hints from Brett I investigated using the maven reactor 
directly and think I've fixed the 'new' build.  So, for me,

maven -o new

builds all the geronimo-related projects I have checked out using the 
configs/assemblies based build.

Please try it and report problems

thanks
david jencks


Re: 'new' build should now work

Posted by David Jencks <da...@yahoo.com>.
On Dec 3, 2005, at 2:20 PM, Bruce Snyder wrote:

> On 12/3/05, David Jencks <da...@yahoo.com> wrote:
>> Following some hints from Brett I investigated using the maven reactor
>> directly and think I've fixed the 'new' build.  So, for me,
>>
>> maven -o new
>>
>> builds all the geronimo-related projects I have checked out using the
>> configs/assemblies based build.
>>
>> Please try it and report problems
>
> Late last night I did an m:update and an m:rebuild and all went well
> for me. Is this not related to the 'new' thingy?

m: goals have nothing to do with 'new' goals.  I find the 'new' goals 
will build everything just fine but I haven't tried extensive cleaning 
before I start

thanks
david jencks

>
> Bruce
> --
> perl -e 'print 
> unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
> );'
>
> The Castor Project
> http://www.castor.org/
>
> Apache Geronimo
> http://geronimo.apache.org/
>


Re: 'new' build should now work

Posted by Bruce Snyder <br...@gmail.com>.
On 12/3/05, David Jencks <da...@yahoo.com> wrote:
> Following some hints from Brett I investigated using the maven reactor
> directly and think I've fixed the 'new' build.  So, for me,
>
> maven -o new
>
> builds all the geronimo-related projects I have checked out using the
> configs/assemblies based build.
>
> Please try it and report problems

Late last night I did an m:update and an m:rebuild and all went well
for me. Is this not related to the 'new' thingy?

Bruce
--
perl -e 'print unpack("u30","D0G)U8V4\@4VYY9&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'

The Castor Project
http://www.castor.org/

Apache Geronimo
http://geronimo.apache.org/

Re: 'new' build should now work

Posted by David Jencks <da...@yahoo.com>.
On Dec 3, 2005, at 2:29 PM, Dave Colasurdo wrote:

> Are we still required to do a traditional "maven m:rebuild-all" prior 
> to "maven -o new"?

Theoretically no.
>
> I tried building several times using "maven new" with latest svn and 
> maven m:fresh-checkout and failed with missing dependencies.  Even 
> after flushing my repo and issuing maven new (without -o), I saw the 
> same errors.

I'll try to find some time to look into this.  'new' is new, so there 
may be bugs :-)

thanks
david jencks

>
> After doing a maven m:rebuild-all prior to maven new .. Everything 
> works fine..
>
> Suspect there may be an issue if the repo isn't fully populated prior 
> to  issuing maven new..
>
> Thanks
> -Dave-
>
>
> David Jencks wrote:
>> Following some hints from Brett I investigated using the maven 
>> reactor directly and think I've fixed the 'new' build.  So, for me,
>> maven -o new
>> builds all the geronimo-related projects I have checked out using the 
>> configs/assemblies based build.
>> Please try it and report problems
>> thanks
>> david jencks
>


Re: 'new' build should now work

Posted by Dave Colasurdo <da...@earthlink.net>.
Are we still required to do a traditional "maven m:rebuild-all" prior to 
"maven -o new"?

I tried building several times using "maven new" with latest svn and 
maven m:fresh-checkout and failed with missing dependencies.  Even after 
flushing my repo and issuing maven new (without -o), I saw the same errors.

After doing a maven m:rebuild-all prior to maven new .. Everything works 
fine..

Suspect there may be an issue if the repo isn't fully populated prior to 
  issuing maven new..

Thanks
-Dave-


David Jencks wrote:
> Following some hints from Brett I investigated using the maven reactor 
> directly and think I've fixed the 'new' build.  So, for me,
> 
> maven -o new
> 
> builds all the geronimo-related projects I have checked out using the 
> configs/assemblies based build.
> 
> Please try it and report problems
> 
> thanks
> david jencks
> 
> 
> 

Re: 'new' build should now work

Posted by Dain Sundstrom <da...@iq80.com>.
They simply don't work unless they are valid poms.  The transitive  
dependency system basically forces all of the poms to be valid.   
Trust me, we have discussed every possible hack for this and came to  
the conclusion we just need to bite the bullet and fix all the poms.

-dain

On Dec 3, 2005, at 3:15 PM, Jason Dillon wrote:

> Is this a hard requirement to switch?  You can still use the  
> existing maven1 repo in legacy mode to pull any artifacts that do  
> not already exist in the maven2 repo.
>
> --jason
>
>
> On Dec 3, 2005, at 3:11 PM, Dain Sundstrom wrote:
>
>> Hopefully we can be on maven 2 for geronimo 1.1, but we need to  
>> get valid maven 2 poms for every all of our dependencies.  We are  
>> tracking the progress here:
>>
>> http://wiki.apache.org/geronimo/Maven2Conversion
>>
>> -dain
>>
>> On Dec 3, 2005, at 2:15 PM, Jason Dillon wrote:
>>
>>> Is there a plan/timeline for switching to Maven2?
>>>
>>> --jason
>>>
>>>
>>> On Dec 3, 2005, at 2:02 PM, Dain Sundstrom wrote:
>>>
>>>> I just did a full rebuild and it worked perfectly :)
>>>>
>>>> Thanks David!
>>>>
>>>> -dain
>>>>
>>>> On Dec 3, 2005, at 10:21 AM, David Jencks wrote:
>>>>
>>>>> Following some hints from Brett I investigated using the maven  
>>>>> reactor directly and think I've fixed the 'new' build.  So, for  
>>>>> me,
>>>>>
>>>>> maven -o new
>>>>>
>>>>> builds all the geronimo-related projects I have checked out  
>>>>> using the configs/assemblies based build.
>>>>>
>>>>> Please try it and report problems
>>>>>
>>>>> thanks
>>>>> david jencks
>>>>
>>


Re: 'new' build should now work

Posted by Jason Dillon <ja...@planet57.com>.
Is this a hard requirement to switch?  You can still use the existing  
maven1 repo in legacy mode to pull any artifacts that do not already  
exist in the maven2 repo.

--jason


On Dec 3, 2005, at 3:11 PM, Dain Sundstrom wrote:

> Hopefully we can be on maven 2 for geronimo 1.1, but we need to get  
> valid maven 2 poms for every all of our dependencies.  We are  
> tracking the progress here:
>
> http://wiki.apache.org/geronimo/Maven2Conversion
>
> -dain
>
> On Dec 3, 2005, at 2:15 PM, Jason Dillon wrote:
>
>> Is there a plan/timeline for switching to Maven2?
>>
>> --jason
>>
>>
>> On Dec 3, 2005, at 2:02 PM, Dain Sundstrom wrote:
>>
>>> I just did a full rebuild and it worked perfectly :)
>>>
>>> Thanks David!
>>>
>>> -dain
>>>
>>> On Dec 3, 2005, at 10:21 AM, David Jencks wrote:
>>>
>>>> Following some hints from Brett I investigated using the maven  
>>>> reactor directly and think I've fixed the 'new' build.  So, for me,
>>>>
>>>> maven -o new
>>>>
>>>> builds all the geronimo-related projects I have checked out  
>>>> using the configs/assemblies based build.
>>>>
>>>> Please try it and report problems
>>>>
>>>> thanks
>>>> david jencks
>>>
>


Re: 'new' build should now work

Posted by Dain Sundstrom <da...@iq80.com>.
Hopefully we can be on maven 2 for geronimo 1.1, but we need to get  
valid maven 2 poms for every all of our dependencies.  We are  
tracking the progress here:

http://wiki.apache.org/geronimo/Maven2Conversion

-dain

On Dec 3, 2005, at 2:15 PM, Jason Dillon wrote:

> Is there a plan/timeline for switching to Maven2?
>
> --jason
>
>
> On Dec 3, 2005, at 2:02 PM, Dain Sundstrom wrote:
>
>> I just did a full rebuild and it worked perfectly :)
>>
>> Thanks David!
>>
>> -dain
>>
>> On Dec 3, 2005, at 10:21 AM, David Jencks wrote:
>>
>>> Following some hints from Brett I investigated using the maven  
>>> reactor directly and think I've fixed the 'new' build.  So, for me,
>>>
>>> maven -o new
>>>
>>> builds all the geronimo-related projects I have checked out using  
>>> the configs/assemblies based build.
>>>
>>> Please try it and report problems
>>>
>>> thanks
>>> david jencks
>>


Re: 'new' build should now work

Posted by Jason Dillon <ja...@planet57.com>.
Is there a plan/timeline for switching to Maven2?

--jason


On Dec 3, 2005, at 2:02 PM, Dain Sundstrom wrote:

> I just did a full rebuild and it worked perfectly :)
>
> Thanks David!
>
> -dain
>
> On Dec 3, 2005, at 10:21 AM, David Jencks wrote:
>
>> Following some hints from Brett I investigated using the maven  
>> reactor directly and think I've fixed the 'new' build.  So, for me,
>>
>> maven -o new
>>
>> builds all the geronimo-related projects I have checked out using  
>> the configs/assemblies based build.
>>
>> Please try it and report problems
>>
>> thanks
>> david jencks
>


Re: 'new' build should now work

Posted by Dain Sundstrom <da...@iq80.com>.
I just did a full rebuild and it worked perfectly :)

Thanks David!

-dain

On Dec 3, 2005, at 10:21 AM, David Jencks wrote:

> Following some hints from Brett I investigated using the maven  
> reactor directly and think I've fixed the 'new' build.  So, for me,
>
> maven -o new
>
> builds all the geronimo-related projects I have checked out using  
> the configs/assemblies based build.
>
> Please try it and report problems
>
> thanks
> david jencks


Re: 'new' build should now work

Posted by Dave Colasurdo <da...@earthlink.net>.
I hit the same error.  After manually pulling down the tranql rar, I got 
further but died with a different missing dependency ( IIRC it was 
activemq 3.2.1)...  Building via maven rebuild-all and then executing 
maven new is a temporary workaround..  Suspect "new" is missing a few of 
the recently changed dependencies..

Sachin Patel wrote:
> Ran with the -e flag, and here is the full stacktrace...
> 
> http://people.apache.org/~sppatel/builderror.txt
> 
> Note the error...
> 
> Caused by: org.apache.geronimo.common.DeploymentException: Module file does
> not exist: /Users/sppatel/maven_repo/tranql/rars/tran
> ql-connector-derby-embed-xa-1.1-SNAPSHOT.rar
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:113)
> 
> Do I need to pull down and build tranql?
> 
> sachin
> 
> 
> On 12/3/05 9:10 PM, "Sachin Patel" <sp...@gmail.com> wrote:
> 
> 
>>Hi David, 
>>
>>I just tried this and ran into the following error...
>>
>>multiproject:install-callback:
>>    [echo] Running car:install for System Database Configuration for the
>>J2EE Server
>>
>>BUILD FAILED
>>File...... /Users/sppatel/geronimo/geronimo/maven.xml
>>Element... maven:reactor
>>Line...... 58
>>Column.... 112
>>Unable to obtain goal [multiproject:install-callback] --
>>/Users/sppatel/.maven/cache/geronimo-packaging-plugin-1.0-SNAPSHOT/plugin.je
>>lly:67:15: <car:package> null
>>Total time: 30 minutes 45 seconds
>>Finished at: Sat Dec 03 21:06:12 EST 2005
>>
>>
>>On 12/3/05 1:21 PM, "David Jencks" <da...@yahoo.com> wrote:
>>
>>
>>>Following some hints from Brett I investigated using the maven reactor
>>>directly and think I've fixed the 'new' build.  So, for me,
>>>
>>>maven -o new
>>>
>>>builds all the geronimo-related projects I have checked out using the
>>>configs/assemblies based build.
>>>
>>>Please try it and report problems
>>>
>>>thanks
>>>david jencks
>>>
>>
>>
> 
> 
> 
> 

Re: 'new' build should now work

Posted by Sachin Patel <sp...@gmail.com>.
Strange. Building tranql didn't help.  In my local repo I only have...

tranql-connector-derby-client-xa-1.0.rar

But the exception refers to ...-1.1.rar and tranql_connector_version is set
to 1.1-SNAPSHOT

I've run clean, built both online and offline.  Any ideas how I can get 1.1?


On 12/3/05 9:43 PM, "Sachin Patel" <sp...@gmail.com> wrote:

> Ran with the -e flag, and here is the full stacktrace...
> 
> http://people.apache.org/~sppatel/builderror.txt
> 
> Note the error...
> 
> Caused by: org.apache.geronimo.common.DeploymentException: Module file does
> not exist: /Users/sppatel/maven_repo/tranql/rars/tran
> ql-connector-derby-embed-xa-1.1-SNAPSHOT.rar
>         at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:113)
> 
> Do I need to pull down and build tranql?
> 
> sachin
> 
> 
> On 12/3/05 9:10 PM, "Sachin Patel" <sp...@gmail.com> wrote:
> 
>> Hi David, 
>> 
>> I just tried this and ran into the following error...
>> 
>> multiproject:install-callback:
>>     [echo] Running car:install for System Database Configuration for the
>> J2EE Server
>> 
>> BUILD FAILED
>> File...... /Users/sppatel/geronimo/geronimo/maven.xml
>> Element... maven:reactor
>> Line...... 58
>> Column.... 112
>> Unable to obtain goal [multiproject:install-callback] --
>> /Users/sppatel/.maven/cache/geronimo-packaging-plugin-1.0-SNAPSHOT/plugin.je
>> lly:67:15: <car:package> null
>> Total time: 30 minutes 45 seconds
>> Finished at: Sat Dec 03 21:06:12 EST 2005
>> 
>> 
>> On 12/3/05 1:21 PM, "David Jencks" <da...@yahoo.com> wrote:
>> 
>>> Following some hints from Brett I investigated using the maven reactor
>>> directly and think I've fixed the 'new' build.  So, for me,
>>> 
>>> maven -o new
>>> 
>>> builds all the geronimo-related projects I have checked out using the
>>> configs/assemblies based build.
>>> 
>>> Please try it and report problems
>>> 
>>> thanks
>>> david jencks
>>> 
>> 
>> 
> 
> 



Re: 'new' build should now work

Posted by Sachin Patel <sp...@gmail.com>.
Ran with the -e flag, and here is the full stacktrace...

http://people.apache.org/~sppatel/builderror.txt

Note the error...

Caused by: org.apache.geronimo.common.DeploymentException: Module file does
not exist: /Users/sppatel/maven_repo/tranql/rars/tran
ql-connector-derby-embed-xa-1.1-SNAPSHOT.rar
        at org.apache.geronimo.deployment.Deployer.deploy(Deployer.java:113)

Do I need to pull down and build tranql?

sachin


On 12/3/05 9:10 PM, "Sachin Patel" <sp...@gmail.com> wrote:

> Hi David, 
> 
> I just tried this and ran into the following error...
> 
> multiproject:install-callback:
>     [echo] Running car:install for System Database Configuration for the
> J2EE Server
> 
> BUILD FAILED
> File...... /Users/sppatel/geronimo/geronimo/maven.xml
> Element... maven:reactor
> Line...... 58
> Column.... 112
> Unable to obtain goal [multiproject:install-callback] --
> /Users/sppatel/.maven/cache/geronimo-packaging-plugin-1.0-SNAPSHOT/plugin.je
> lly:67:15: <car:package> null
> Total time: 30 minutes 45 seconds
> Finished at: Sat Dec 03 21:06:12 EST 2005
> 
> 
> On 12/3/05 1:21 PM, "David Jencks" <da...@yahoo.com> wrote:
> 
>> Following some hints from Brett I investigated using the maven reactor
>> directly and think I've fixed the 'new' build.  So, for me,
>> 
>> maven -o new
>> 
>> builds all the geronimo-related projects I have checked out using the
>> configs/assemblies based build.
>> 
>> Please try it and report problems
>> 
>> thanks
>> david jencks
>> 
> 
> 



Re: 'new' build should now work

Posted by Sachin Patel <sp...@gmail.com>.
Hi David, 

I just tried this and ran into the following error...

multiproject:install-callback:
    [echo] Running car:install for System Database Configuration for the
J2EE Server

BUILD FAILED
File...... /Users/sppatel/geronimo/geronimo/maven.xml
Element... maven:reactor
Line...... 58
Column.... 112
Unable to obtain goal [multiproject:install-callback] --
/Users/sppatel/.maven/cache/geronimo-packaging-plugin-1.0-SNAPSHOT/plugin.je
lly:67:15: <car:package> null
Total time: 30 minutes 45 seconds
Finished at: Sat Dec 03 21:06:12 EST 2005


On 12/3/05 1:21 PM, "David Jencks" <da...@yahoo.com> wrote:

> Following some hints from Brett I investigated using the maven reactor
> directly and think I've fixed the 'new' build.  So, for me,
> 
> maven -o new
> 
> builds all the geronimo-related projects I have checked out using the
> configs/assemblies based build.
> 
> Please try it and report problems
> 
> thanks
> david jencks
>