Hi gyus, I am not sure if this is the right place to ask for help, as my problem is more like cargo related, but anyway...
I have a project that depends on some cargo stuff. When I run mvn install I get this error: INFO] ------------------------------ ---------------------------------------------- [INFO] Building --INTEGRATION(ANT) -- [INFO] task-segment: [install] [INFO] ---------------------------------------------------------------------------- [INFO] [resources:resources] [INFO] Using default encoding to copy filtered resources. Downloading: http://repo1.maven.org/maven2/org/codehaus/cargo/cargo-core-api-container/2.4.1/cargo-core-api-container-2.4.1.pom [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) Downloading: http://repo1.maven.org/maven2/org/codehaus/cargo/cargo-core-api-container/2.4.1/cargo-core-api-container-2.4.1.jar [WARNING] Unable to get resource from repository central ( http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.codehaus.cargo:cargo-core-api-container:jar:2.4.1 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.codehaus.cargo-DartifactId=cargo-core-api-container \ -Dversion=2.4.1 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) org.mycompany.test:ant-integration:jar:18-SNAPSHOT 2) org.codehaus.cargo:cargo-ant:jar:0.8 3) org.codehaus.cargo:cargo-core-container-resin:jar:0.8 4) org.codehaus.cargo:cargo-core-api-container:jar:2.4.1 ---------- 1 required artifact is missing. for artifact: org.apache.jakarta.cactus:cactus-ant-integration:jar:18-SNAPSHOT from the specified remote repositories: central (http://repo1.maven.org/maven2) [INFO] ------------------------------------------------------------------------ [INFO] For more information, run Maven with the -e switch [INFO] ------------------------------------------------------------------------ [INFO] Total time: 45 seconds [INFO] Finished at: Wed Jan 03 11:58:40 EET 2007 [INFO] Final Memory: 14M/26M And the weirdest thing is that this error is produced once I try to install my top level pom, in which I don't have anything defined for cargo. But when I try to install my ant-integration-module pom everything passes like a charm and no error is generated. The only thing that I have cargo related in my ant-module pom.xml is this one: *<dependency>* *<groupId>*org.codehaus.cargo*</groupId>* *<artifactId>*cargo-ant*</artifactId>* *<version>*0.8*</version>* *</dependency>* Does anyone have an idea is this is a cargo problem, or am I missing something? Thanks. -- Regards, Petar! Karlovo, Bulgaria.