You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@geronimo.apache.org by Mark Kirkwood <ma...@paradise.net.nz> on 2006/02/11 23:29:02 UTC
1.0 src build failure
I thought I would have a got at building the 1.0 release from src on
FreeBSD 6.0/i386 using jdk 1.4.2, ant 1.6.5 and maven 1.0.2
I am getting what looks like a missing dependency error - any ideas?
Cheers
Mark
----------------|tail of build log|----------------------------------
multiproject:install-callback:
[echo] Running car:install for Configuration for the J2EE Client
19342 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder
- org.ap
ache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repository.
MissingDependencyException: uri
org.apache.geronimo.specs/geronimo-corba_2.3_spe
c/1.0/jar not found in repository
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repos
itory.MissingDependencyException: uri
org.apache.geronimo.specs/geronimo-corba_2
.3_spec/1.0/jar not found in repository
.
.
.
... 53 more
Caused by:
org.apache.geronimo.kernel.repository.MissingDependencyException: uri
org.apache.geronimo.specs/geronimo-corba_2.3_spec/1.0/jar not found in
reposito
ry
... 76 more
BUILD FAILED
File...... /home/postgres/develop/java/geronimo-1.0-src/maven.xml
Element... maven:reactor
Line...... 58
Column.... 112
Unable to obtain goal [multiproject:install-callback] --
/home/postgres/.maven/c
ache/geronimo-packaging-plugin-1.0.1/plugin.jelly:68:15: <car:package> null
Total time: 12 minutes 23 seconds
Finished at: Sun Feb 12 10:54:56 NZDT 2006
Re: 1.0 src build failure
Posted by Mark Kirkwood <ma...@paradise.net.nz>.
Aaron Mulder wrote:
> One of those spec JARs goes in the repository/geronimo-spec/jars
> directory and the other in repository/org.apache.geronimo.specs/jars
> -- the difference being that the spec build was changed resulting in a
> different output location and somehow both of them snuck into the 1.0
> source (I think Geronimo used one and OpenEJB the other, or something
> like that). So the error you're getting indicates that
> geronimo-spec-corba-2.3-rc4.jar goes in geronimo-spec/ not
> o.a.g.specs/ and if you move it to the right location in your repo you
> should get further.
>
Ah - excellent! Placing geronimo-spec-corba-2.3-rc4.jar into
repository/geronimo-spec/jars does the trick (successful build).
I feel a bit stupid - it seems so obvious in hindsight, but the error
message format i.e:
specifying 'geronimo-spec/geronimo-spec-corba/2.3-rc4/jar' is a bit
confusing to decode for us geronimo/maven newbies....
Anyway to help ease the level for confusion for future folks like me,
this is what I ended up doing:
i) Fetch clean 1.0 source (no patch) and empty maven repository.
ii) Fetch geronimo-spec-corba-2.3-rc4.jar and place in
.maven/repository/geronimo-spec/jars.
iii) Fetch geronimo-corba_2.3_spec-1.0.jar and place in
.maven/repository/org.apache.geronimo.specs/jars.
iv) Build as in BUILDING.txt.
Thanks
Mark
Re: 1.0 src build failure
Posted by Aaron Mulder <am...@alumni.princeton.edu>.
One of those spec JARs goes in the repository/geronimo-spec/jars
directory and the other in repository/org.apache.geronimo.specs/jars
-- the difference being that the spec build was changed resulting in a
different output location and somehow both of them snuck into the 1.0
source (I think Geronimo used one and OpenEJB the other, or something
like that). So the error you're getting indicates that
geronimo-spec-corba-2.3-rc4.jar goes in geronimo-spec/ not
o.a.g.specs/ and if you move it to the right location in your repo you
should get further.
Thanks,
Aaron
On 2/11/06, Mark Kirkwood <ma...@paradise.net.nz> wrote:
> Mark Kirkwood wrote:
> > Kevan Miller wrote:
> >
> >>
> >> On Feb 11, 2006, at 5:29 PM, Mark Kirkwood wrote:
> >>
> >>> I thought I would have a got at building the 1.0 release from src on
> >>> FreeBSD 6.0/i386 using jdk 1.4.2, ant 1.6.5 and maven 1.0.2
> >>>
> >>> I am getting what looks like a missing dependency error - any ideas?
> >>
> >>
> >>
> >> Hi Mark,
> >> See http://issues.apache.org/jira/browse/GERONIMO-1449 . This earlier
> >> posting http://article.gmane.org/gmane.comp.java.geronimo.user/1607/
> >> match= should get you going...
> >>
> >
> >
>
> Further on this, I tried the alternative workaround of adding
> geronimo-spec-corba-2.3-rc4.jar to the repository instead of patching,
> and when this produced the same error, I added *both* of the spec-corba
> jars:
>
> .maven/repository/org.apache.geronimo.specs/jars/geronimo-spec-corba-2.3-rc4.jar
> .maven/repository/org.apache.geronimo.specs/jars/geronimo-corba_2.3_spec-1.0.jar
>
> This resulted in a complaint about :
>
> geronimo-spec/geronimo-spec-corba/2.3-rc4/jar
>
> missing (see below). At this point I'm somewhat confused - is
> geronimo-spec not mapped to org.apache.geronimo-specs? I'll try manually
> adding it and see... but ISTM that a clean repository build does not
> work at the moment (even with patch).
>
>
> cheers
>
> Mark
>
> -----------------------|build log |------------------------------------
> +----------------------------------------
> | configurations Configuration for the J2EE Client
> | Memory: 56M/91M
> +----------------------------------------
> Attempting to download openejb-core-2.0.jar.
> 1186K downloaded
> Attempting to download activemq-gbean-management-3.2.1.jar.
> 1K downloaded
> Attempting to download jaxr-api-0.5.jar.
> 28K downloaded
> Attempting to download juddi-0.9rc4.jar.
> 727K downloaded
> Attempting to download jdom-1.0.jar.
> 149K downloaded
> car:prepare-plan:
>
> car:package:
>
> car:install:
>
>
> build:end:
>
> build:start:
>
> multiproject:install-callback:
> [echo] Running car:install for Configuration for the J2EE Client
> 19358 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder
> - org.apache.geronimo.common.DeploymentException:
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri
> geronimo-spec/geronimo-spec-corba/2.3-rc4/jar not found in repository
> org.apache.geronimo.common.DeploymentException:
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri
> geronimo-spec/geronimo-spec-corba/2.3-rc4/jar not found in repository
>
Re: 1.0 src build failure
Posted by Mark Kirkwood <ma...@paradise.net.nz>.
Mark Kirkwood wrote:
> Kevan Miller wrote:
>
>>
>> On Feb 11, 2006, at 5:29 PM, Mark Kirkwood wrote:
>>
>>> I thought I would have a got at building the 1.0 release from src on
>>> FreeBSD 6.0/i386 using jdk 1.4.2, ant 1.6.5 and maven 1.0.2
>>>
>>> I am getting what looks like a missing dependency error - any ideas?
>>
>>
>>
>> Hi Mark,
>> See http://issues.apache.org/jira/browse/GERONIMO-1449 . This earlier
>> posting http://article.gmane.org/gmane.comp.java.geronimo.user/1607/
>> match= should get you going...
>>
>
>
Further on this, I tried the alternative workaround of adding
geronimo-spec-corba-2.3-rc4.jar to the repository instead of patching,
and when this produced the same error, I added *both* of the spec-corba
jars:
.maven/repository/org.apache.geronimo.specs/jars/geronimo-spec-corba-2.3-rc4.jar
.maven/repository/org.apache.geronimo.specs/jars/geronimo-corba_2.3_spec-1.0.jar
This resulted in a complaint about :
geronimo-spec/geronimo-spec-corba/2.3-rc4/jar
missing (see below). At this point I'm somewhat confused - is
geronimo-spec not mapped to org.apache.geronimo-specs? I'll try manually
adding it and see... but ISTM that a clean repository build does not
work at the moment (even with patch).
cheers
Mark
-----------------------|build log |------------------------------------
+----------------------------------------
| configurations Configuration for the J2EE Client
| Memory: 56M/91M
+----------------------------------------
Attempting to download openejb-core-2.0.jar.
1186K downloaded
Attempting to download activemq-gbean-management-3.2.1.jar.
1K downloaded
Attempting to download jaxr-api-0.5.jar.
28K downloaded
Attempting to download juddi-0.9rc4.jar.
727K downloaded
Attempting to download jdom-1.0.jar.
149K downloaded
car:prepare-plan:
car:package:
car:install:
build:end:
build:start:
multiproject:install-callback:
[echo] Running car:install for Configuration for the J2EE Client
19358 [main] ERROR org.apache.geronimo.plugin.packaging.PackageBuilder
- org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repository.MissingDependencyException: uri
geronimo-spec/geronimo-spec-corba/2.3-rc4/jar not found in repository
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repository.MissingDependencyException: uri
geronimo-spec/geronimo-spec-corba/2.3-rc4/jar not found in repository
Re: 1.0 src build failure
Posted by Mark Kirkwood <ma...@paradise.net.nz>.
Kevan Miller wrote:
>
> On Feb 11, 2006, at 5:29 PM, Mark Kirkwood wrote:
>
>> I thought I would have a got at building the 1.0 release from src on
>> FreeBSD 6.0/i386 using jdk 1.4.2, ant 1.6.5 and maven 1.0.2
>>
>> I am getting what looks like a missing dependency error - any ideas?
>
>
> Hi Mark,
> See http://issues.apache.org/jira/browse/GERONIMO-1449 . This earlier
> posting http://article.gmane.org/gmane.comp.java.geronimo.user/1607/
> match= should get you going...
>
Thanks for such a quick reply!
I applied the patch to 'configs/j2ee-server/project.xml' as indicated,
cleared the repository and rebuilt. Same error! I also tried manually
putting 'geronimo-spec-corba-2.3-rc4.jar' into the repostory (along with
an md5 for it). This didn't help either. There seems to be some
confusion in the various xml files about whether it wants
geronimo-spec-corba-2.3-$version} or
geronimo-corba_2.3_spec-${version}
and I suspect that this needs to be sorted - a quick search yields the
follwing files referencing 'geronimo-corba_2.3_spec':
./configs/j2ee-deployer/project.xml
./assemblies/j2ee-installer/project.xml
./assemblies/j2ee-tomcat-server/project.xml
./assemblies/j2ee-jetty-server/project.xml
./modules/interop/project.xml
Maybe I need to patch these too?
Thanks
Mark
Re: 1.0 src build failure
Posted by Kevan Miller <ke...@gmail.com>.
On Feb 11, 2006, at 5:29 PM, Mark Kirkwood wrote:
> I thought I would have a got at building the 1.0 release from src
> on FreeBSD 6.0/i386 using jdk 1.4.2, ant 1.6.5 and maven 1.0.2
>
> I am getting what looks like a missing dependency error - any ideas?
Hi Mark,
See http://issues.apache.org/jira/browse/GERONIMO-1449 . This earlier
posting http://article.gmane.org/gmane.comp.java.geronimo.user/1607/
match= should get you going...
--kevan
>
> Cheers
>
> Mark
>
> ----------------|tail of build log|----------------------------------
>
> multiproject:install-callback:
> [echo] Running car:install for Configuration for the J2EE Client
> 19342 [main] ERROR
> org.apache.geronimo.plugin.packaging.PackageBuilder - org.ap
> ache.geronimo.common.DeploymentException:
> org.apache.geronimo.kernel.repository.
> MissingDependencyException: uri org.apache.geronimo.specs/geronimo-
> corba_2.3_spe
> c/1.0/jar not found in repository
> org.apache.geronimo.common.DeploymentException:
> org.apache.geronimo.kernel.repos
> itory.MissingDependencyException: uri org.apache.geronimo.specs/
> geronimo-corba_2
> .3_spec/1.0/jar not found in repository
> .
> .
> .
> ... 53 more
> Caused by:
> org.apache.geronimo.kernel.repository.MissingDependencyException: uri
> org.apache.geronimo.specs/geronimo-corba_2.3_spec/1.0/jar not
> found in reposito
> ry
> ... 76 more
>
> BUILD FAILED
> File...... /home/postgres/develop/java/geronimo-1.0-src/maven.xml
> Element... maven:reactor
> Line...... 58
> Column.... 112
> Unable to obtain goal [multiproject:install-callback] -- /home/
> postgres/.maven/c
> ache/geronimo-packaging-plugin-1.0.1/plugin.jelly:68:15:
> <car:package> null
> Total time: 12 minutes 23 seconds
> Finished at: Sun Feb 12 10:54:56 NZDT 2006