You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Aaron Mulder <am...@alumni.princeton.edu> on 2006/04/02 21:04:06 UTC

New machine: build error on HEAD

Maybe a missing dependency?

When I build HEAD I get this:

+----------------------------------------
| geronimo-configs Configuration for application client deployments
| Memory: 13M/23M
+----------------------------------------
DEPRECATED: the default goal should be specified in the <build>
section of project.xml instead of maven.xml
DEPRECATED: the default goal should be specified in the <build>
section of project.xml instead of maven.xml

build:end:

Attempting to download j2ee-deployer-1.2-SNAPSHOT.car.
Attempting to download geronimo-spec-corba-1.0-SNAPSHOT.jar.
Attempting to download geronimo-client-builder-1.2-SNAPSHOT.jar.
Attempting to download geronimo-axis-builder-1.2-SNAPSHOT.jar.
Attempting to download geronimo-jetty-builder-1.2-SNAPSHOT.jar.
Attempting to download openejb-builder-2.2-SNAPSHOT.jar.
Attempting to download openejb-pkgen-builder-2.2-SNAPSHOT.jar.
build:start:

multiproject:install-callback:
    [echo] Running car:install for Configuration for application
client deployments
14:53:00,695 ERROR [PackageBuilder]
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repository.MissingDependencyException: uri
activemq/activemq-core/3.2.1/jar not found in repository
org.apache.geronimo.common.DeploymentException:
org.apache.geronimo.kernel.repository.MissingDependencyException: uri
activemq/activemq-core/3.2.1/jar not found in repository
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.getDependencyURI(ServiceConfigBuilder.java:402)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:276)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.addDependencies(ServiceConfigBuilder.java:303)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:204)
        at org.apache.geronimo.deployment.service.ServiceConfigBuilder.buildConfiguration(ServiceConfigBuilder.java:167)


I don't understand where the dependency on ActiveMQ is coming from --
I don't see it in:
 * modules/client-builder/project.xml
 * modules/client-builder/target/classes/META-INF/geronimo-service.xml
 * configs/client-deployer/project.xml
 * configs/client-deployer/target/plan/plan.xml
Where else do dependencies come from?

Thanks,
    Aaron

Re: New machine: build error on HEAD

Posted by Jacek Laskowski <ja...@laskowski.net.pl>.
On 4/2/06, Aaron Mulder <am...@alumni.princeton.edu> wrote:
> Maybe a missing dependency?

Yes, it is since HEAD is using 4.0-SNAPSHOT. Run

  find . -type f -exec grep 3.2.1 {} \; -print

in configs and got lots of places with it referenced. It seems somone
didn't take care of the plans once ActiveMQ was upgraded.

Here's what I got (without binary files that some matched):

$ find . -type f -exec grep 3.2.1 {} \; -print
    <version>3.2.1</version>
    <version>3.2.1</version>
    <version>3.2.1</version>
./activemq-broker/target/plan/plan.xml
    <dep:version>3.2.1</dep:version>
    <dep:version>3.2.1</dep:version>
    <dep:version>3.2.1</dep:version>
./console-jetty/target/plan/plan.xml
    <dep:version>3.2.1</dep:version>
    <dep:version>3.2.1</dep:version>
    <dep:version>3.2.1</dep:version>
./console-tomcat/target/plan/plan.xml
        <external-rar>activemq/activemq-ra/3.2.1/rar</external-rar>
    <external-path>activemq/activemq-ra/3.2.1/rar</external-path>
./daytrader-jetty/target/plan/plan.xml
        <external-rar>activemq/activemq-ra/3.2.1/rar</external-rar>
    <external-path>activemq/activemq-ra/3.2.1/rar</external-path>
./daytrader-tomcat/target/plan/plan.xml

>     Aaron

Jacek

--
Jacek Laskowski
http://www.laskowski.org.pl