maven-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gerrit Jansen van Vuuren <gerrit...@googlemail.com>
Subject Re: Error . reg
Date Fri, 20 Mar 2009 09:36:51 GMT
Hi,

The message says that maven canĀ“t find in its default repositories the jars
for 2 artifacts:
1)opensaml:opensaml:jar:1.1
2)bouncycastle:bcprov-jdk15:jar:132

To have a look if the artifacts you're looking for exist in the default
maven repositories or if you have the correct groupId, artifact id and
version, have a look at this web site http://mvnrepository.com it allows you
to search for artifacts.

For example I did a search for opensaml and the latest version is

<dependency>
    <groupId>org.opensaml</groupId>
    <artifactId>opensaml</artifactId>
    <version>2.2.1</version>
</dependency>

For bouncy castle the following came up:
<dependency>
    <groupId>bouncycastle</groupId>
    <artifactId>bcprov-jdk15</artifactId>
    <version>140</version>
</dependency>

Hope this helps...

Normally you will find some artifacts that are not in the default maven
repositories, if they exist in other repos like codehaus or spring then
you'll need to include the paths to these repositories in your settings.xml
or pom.xml see the http://maven.apache.org/guides/ page for help on this.

As a last resort if they do not exist in any repo and you must have them,
try settingup your own local repository using programs like archiva,
artifactory or nexus.

Regards,
 Gerrit
On Fri, Mar 20, 2009 at 6:50 AM, Mohapatra Pragna Prachetas <
pragnamohapatra@temenos.com> wrote:

> Dear all,
>
>
>
> I am a very novice user of maven
>
> I am trying to create a dummy project using IONA FUSE.
>
> When I am trying to use the "mvn install" command it is ending up in the
> following error. When I manually try to down load the artifact the sites
> does not respond to it .
>
>
>
> Please find the log trace.
>
>
>
> Downloading:
> http://ws.zones.apache.org/repository2//opensaml/opensaml/1.1/opensaml-1
> .1.jar
> <http://ws.zones.apache.org/repository2/opensaml/opensaml/1.1/opensaml-1
> .1.jar>
>
> 152K downloaded
>
> [WARNING] *** CHECKSUM FAILED - Error retrieving checksum file for
> opensaml/opensaml/1.1/opensaml-1.1.jar - IGNORING
>
> Downloading:
> http://repo1.maven.org/maven2//opensaml/opensaml/1.1/opensaml-1.1.jar
> <http://repo1.maven.org/maven2/opensaml/opensaml/1.1/opensaml-1.1.jar>
>
> Downloading:
> http://repo1.maven.org/maven2/opensaml/opensaml/1.1/opensaml-1.1.jar
>
> Downloading:
> http://repo.open.iona.com/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jd
> k15-132.jar<http://repo.open.iona.com/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jd%0Ak15-132.jar>
>
> Downloading:
> http://download.java.net/maven/1/bouncycastle/jars/bcprov-jdk15-132.jar
>
> Downloading:
> http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/bouncycastle/bcprov-
> jdk15/132/bcprov-jdk15-132.jar<http://gwt-maven.googlecode.com/svn/trunk/mavenrepo/bouncycastle/bcprov-%0Ajdk15/132/bcprov-jdk15-132.jar>
>
> Downloading:
> http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk15/132/bc
> prov-jdk15-132.jar<http://ws.zones.apache.org/repository2//bouncycastle/bcprov-jdk15/132/bc%0Aprov-jdk15-132.jar>
> <http://ws.zones.apache.org/repository2/bouncycastle/bcprov-jdk15/132/bc
> prov-jdk15-132.jar<http://ws.zones.apache.org/repository2/bouncycastle/bcprov-jdk15/132/bc%0Aprov-jdk15-132.jar>
> >
>
> 1040K downloaded
>
> Downloading:
> http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk15/132/bcprov-jdk1
> 5-132.jar<http://repo1.maven.org/maven2//bouncycastle/bcprov-jdk15/132/bcprov-jdk1%0A5-132.jar>
> <http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jdk1
> 5-132.jar<http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jdk1%0A5-132.jar>
> >
>
> Downloading:
> http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jdk15
> -132.jar<http://repo1.maven.org/maven2/bouncycastle/bcprov-jdk15/132/bcprov-jdk15%0A-132.jar>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [ERROR] BUILD ERROR
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Failed to resolve artifact.
>
>
>
> Missing:
>
> ----------
>
> 1) opensaml:opensaml:jar:1.1
>
>
>
>  Try downloading the file manually from the project website.
>
>
>
>  Then, install it using the command:
>
>      mvn install:install-file -DgroupId=opensaml -DartifactId=opensaml
> -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file
>
>
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>
>      mvn deploy:deploy-file -DgroupId=opensaml -DartifactId=opensaml
> -Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file -Durl=[url]
> -DrepositoryId=[id]
>
>
>
>  Path to dependency:
>
>        1)
> com.iona.fuse.demo.logisticx.order:order-ws-su:jbi-service-unit:1.1-fuse
>
>        2) org.apache.servicemix:servicemix-cxf-se:jar:3.3.1.11-fuse
>
>        3) org.apache.servicemix:servicemix-shared:jar:3.3.1.11-fuse
>
>        4) org.apache.servicemix:servicemix-soap2:jar:3.3.1.11-fuse
>
>        5) org.apache.ws.security:wss4j:jar:1.5.4
>
>        6) opensaml:opensaml:jar:1.1
>
>
>
> 2) bouncycastle:bcprov-jdk15:jar:132
>
>
>
>  Try downloading the file manually from the project website.
>
>
>
>  Then, install it using the command:
>
>      mvn install:install-file -DgroupId=bouncycastle
> -DartifactId=bcprov-jdk15 -Dversion=132 -Dpackaging=jar
> -Dfile=/path/to/file
>
>
>
>  Alternatively, if you host your own repository you can deploy the file
> there:
>
>      mvn deploy:deploy-file -DgroupId=bouncycastle
> -DartifactId=bcprov-jdk15 -Dversion=132 -Dpackaging=jar
> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>
>
>
>  Path to dependency:
>
>        1)
> com.iona.fuse.demo.logisticx.order:order-ws-su:jbi-service-unit:1.1-fuse
>
>        2) org.apache.servicemix:servicemix-cxf-se:jar:3.3.1.11-fuse
>
>        3) org.apache.servicemix:servicemix-shared:jar:3.3.1.11-fuse
>
>        4) org.apache.servicemix:servicemix-soap2:jar:3.3.1.11-fuse
>
>        5) org.apache.ws.security:wss4j:jar:1.5.4
>
>        6) bouncycastle:bcprov-jdk15:jar:132
>
>
>
> ----------
>
> 2 required artifacts are missing.
>
>
>
> for artifact:
>
>
> com.iona.fuse.demo.logisticx.order:order-ws-su:jbi-service-unit:1.1-fuse
>
>
>
> from the specified remote repositories:
>
>  central (http://repo1.maven.org/maven2),
>
>  java.net (http://download.java.net/maven/1),
>
>  gwt-maven (http://gwt-maven.googlecode.com/svn/trunk/mavenrepo),
>
>  open.iona.m2-snapshot (http://repo.open.iona.com/maven2-snapshot),
>
>  open.iona.m2 (http://repo.open.iona.com/maven2)
>
>
>
>
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] For more information, run Maven with the -e switch
>
> [INFO]
> ------------------------------------------------------------------------
>
> [INFO] Total time: 25 minutes 40 seconds
>
> [INFO] Finished at: Fri Mar 20 11:00:52 IST 2009
>
> [INFO] Final Memory: 19M/35M
>
> [INFO]
> ------------------------------------------------------------------------
>
>
>
> D:\Logisticx-Demo\order>
>
> D:\Logisticx-Demo\order>
>
> D:\Logisticx-Demo\order>
>
>
>
>
>
>
>
> Please help me to resolve the issue.
>
>
>
> Thanks and regards
>
> Pragna
>
>
>
>
> Disclaimer:
> If you have received this e-mail in error please notify the sender.
> Please note that any views or opinions presented in this e-mail are solely
> those of the author and do not necessarily represent those of TEMENOS.
> We recommend that you check this e-mail and any attachments against
> viruses.
> TEMENOS accepts no liability for any damage caused by any malicious code
> or virus transmitted by this e-mail.
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message