Re: Problem downloading dependencies
Hi Robert, I don't see the artifact you want in the repository you listed. I don't see it in Maven Central, either. So: 1) What makes you think such an artifact exists? It looks to me as though all of the spring artifacts have names beginning with spring-osgi 2) Why are you trying to use a snapshot? Prefer the releases unless you have some specific reason to look for unreleased features. Regards, Russ On Oct 21, 2013, at 3:35 PM, Robert Dailey rcdailey.li...@gmail.com wrote: Hi, I'm very new to maven so I have no idea what's causing this error. I have a sample application and I type mvn clean install -U, which seems to grab all dependencies except one: [WARNING] The POM for org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing, no dependency information available Because of this, building my project eventually has an error: [INFO] [INFO] Reactor Summary: [INFO] [INFO] simple-bundle . SUCCESS [1.029s] [INFO] simpleweb-war . SUCCESS [2.764s] [INFO] simple-kar FAILURE [3.378s] [INFO] simpleweb . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 7.632s [INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013 [INFO] Final Memory: 29M/561M [INFO] [ERROR] Failed to execute goal on project simple-kar: Could not resolve dependencies for project com.good.server:simple-kar:pom:1.0: Could not find artifact org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in repository.springsource.snapshot (http://repo.springsource.org/snapshot) - [Help 1] I have tried messing around with repositories in my pom.xml, but that doesn't seem to help. Here is my project pom.xml (for simple-kar). Any idea whats going on? ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.good.server/groupId artifactIdsimple-kar/artifactId version1.0/version packagingpom/packaging repositories repository idrepository.springsource.snapshot/id nameSpringSource Snapshot Repository/name urlhttp://repo.springsource.org/snapshot/url /repository repository idmvnrepository/id urlhttp://repo1.maven.org/maven2/url !--snapshots enabledfalse/enabled /snapshots releases enabledtrue/enabled /releases-- /repository /repositories properties java.version1.7/java.version org.springframework.version3.1.1.RELEASE /org.springframework.version project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies dependency groupIdjavax.servlet/groupId artifactIdjavax.servlet-api/artifactId version3.0.1/version scopeprovided/scope /dependency dependency groupIdorg.springframework.osgi/groupId artifactIdspring-osgi-web/artifactId version1.1.2/version /dependency /dependencies build plugins plugin groupIdorg.apache.karaf.tooling/groupId artifactIdfeatures-maven-plugin/artifactId version2.2.8/version executions execution idcreate-kar/id goals goalcreate-kar/goal /goals configuration featuresFilesrc/main/resources/features.xml/featuresFile /configuration /execution /executions /plugin /plugins /build /project - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org - Author, Getting Started with Apache Maven http://www.packtpub.com/getting-started-with-apache-maven/video Come read my webnovel, Take a Lemon http://www.takealemon.com, and listen to the Misfile radio play http://www.fuzzyfacetheater.com/misfile/!
Re: Problem downloading dependencies
Hi Robert, spring-web-osgi 1.1.2 is depending on org.springframework.osgi: servlet-api.osgi:jar:2.5-SNAPSHOT which is rather surprising (A release should never contains any snapshot, and even more considering it is on maven central) I would try to update spring-web-osgi to 1.2.0 which does not seems to suffer from the same problem. On Tue, Oct 22, 2013 at 2:10 PM, Russell Gold r...@gold-family.us wrote: Hi Robert, I don't see the artifact you want in the repository you listed. I don't see it in Maven Central, either. So: 1) What makes you think such an artifact exists? It looks to me as though all of the spring artifacts have names beginning with spring-osgi 2) Why are you trying to use a snapshot? Prefer the releases unless you have some specific reason to look for unreleased features. Regards, Russ On Oct 21, 2013, at 3:35 PM, Robert Dailey rcdailey.li...@gmail.com wrote: Hi, I'm very new to maven so I have no idea what's causing this error. I have a sample application and I type mvn clean install -U, which seems to grab all dependencies except one: [WARNING] The POM for org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing, no dependency information available Because of this, building my project eventually has an error: [INFO] [INFO] Reactor Summary: [INFO] [INFO] simple-bundle . SUCCESS [1.029s] [INFO] simpleweb-war . SUCCESS [2.764s] [INFO] simple-kar FAILURE [3.378s] [INFO] simpleweb . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 7.632s [INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013 [INFO] Final Memory: 29M/561M [INFO] [ERROR] Failed to execute goal on project simple-kar: Could not resolve dependencies for project com.good.server:simple-kar:pom:1.0: Could not find artifact org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in repository.springsource.snapshot (http://repo.springsource.org/snapshot) - [Help 1] I have tried messing around with repositories in my pom.xml, but that doesn't seem to help. Here is my project pom.xml (for simple-kar). Any idea whats going on? ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.good.server/groupId artifactIdsimple-kar/artifactId version1.0/version packagingpom/packaging repositories repository idrepository.springsource.snapshot/id nameSpringSource Snapshot Repository/name urlhttp://repo.springsource.org/snapshot/url /repository repository idmvnrepository/id urlhttp://repo1.maven.org/maven2/url !--snapshots enabledfalse/enabled /snapshots releases enabledtrue/enabled /releases-- /repository /repositories properties java.version1.7/java.version org.springframework.version3.1.1.RELEASE /org.springframework.version project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies dependency groupIdjavax.servlet/groupId artifactIdjavax.servlet-api/artifactId version3.0.1/version scopeprovided/scope /dependency dependency groupIdorg.springframework.osgi/groupId artifactIdspring-osgi-web/artifactId version1.1.2/version /dependency /dependencies build plugins plugin groupIdorg.apache.karaf.tooling/groupId artifactIdfeatures-maven-plugin/artifactId version2.2.8/version executions execution idcreate-kar/id goals goalcreate-kar/goal /goals configuration featuresFilesrc/main/resources/features.xml/featuresFile /configuration /execution /executions /plugin /plugins /build /project - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
Problem downloading dependencies
Hi, I'm very new to maven so I have no idea what's causing this error. I have a sample application and I type mvn clean install -U, which seems to grab all dependencies except one: [WARNING] The POM for org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT is missing, no dependency information available Because of this, building my project eventually has an error: [INFO] [INFO] Reactor Summary: [INFO] [INFO] simple-bundle . SUCCESS [1.029s] [INFO] simpleweb-war . SUCCESS [2.764s] [INFO] simple-kar FAILURE [3.378s] [INFO] simpleweb . SKIPPED [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 7.632s [INFO] Finished at: Mon Oct 21 14:25:17 CDT 2013 [INFO] Final Memory: 29M/561M [INFO] [ERROR] Failed to execute goal on project simple-kar: Could not resolve dependencies for project com.good.server:simple-kar:pom:1.0: Could not find artifact org.springframework.osgi:servlet-api.osgi:jar:2.5-SNAPSHOT in repository.springsource.snapshot (http://repo.springsource.org/snapshot) - [Help 1] I have tried messing around with repositories in my pom.xml, but that doesn't seem to help. Here is my project pom.xml (for simple-kar). Any idea whats going on? ?xml version=1.0 encoding=UTF-8? project xmlns=http://maven.apache.org/POM/4.0.0; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd; modelVersion4.0.0/modelVersion groupIdcom.good.server/groupId artifactIdsimple-kar/artifactId version1.0/version packagingpom/packaging repositories repository idrepository.springsource.snapshot/id nameSpringSource Snapshot Repository/name urlhttp://repo.springsource.org/snapshot/url /repository repository idmvnrepository/id urlhttp://repo1.maven.org/maven2/url !--snapshots enabledfalse/enabled /snapshots releases enabledtrue/enabled /releases-- /repository /repositories properties java.version1.7/java.version org.springframework.version3.1.1.RELEASE /org.springframework.version project.build.sourceEncodingUTF-8/project.build.sourceEncoding /properties dependencies dependency groupIdjavax.servlet/groupId artifactIdjavax.servlet-api/artifactId version3.0.1/version scopeprovided/scope /dependency dependency groupIdorg.springframework.osgi/groupId artifactIdspring-osgi-web/artifactId version1.1.2/version /dependency /dependencies build plugins plugin groupIdorg.apache.karaf.tooling/groupId artifactIdfeatures-maven-plugin/artifactId version2.2.8/version executions execution idcreate-kar/id goals goalcreate-kar/goal /goals configuration featuresFilesrc/main/resources/features.xml/featuresFile /configuration /execution /executions /plugin /plugins /build /project - To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org
problem downloading dependencies
Hi, I followed http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin order to create my first Maven project. The installation was successful but when i try to download the dependencies I have some downloading activities but after a while the downlaoding stops and eventually there will be an error as the one below. This is my home network and I don't have proxy, also part of the dependencies are being downloaded so the settings should be correct. On the page http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html there is a text *If you have just installed Maven, it may take a while on the first run. This is because Maven is downloading the most recent artifacts (plugin jars and other files) into your local repository. You may also need to execute the command a couple of times before it succeeds. This is because the remote server may time out before your downloads are complete. Don't worry, there are ways to fix that. * But I tried 15-20 times same thing is happening. What could be the problem, do I need to set up something else? I am investigating this issue couple of days but I still can't find a solution. Thank You [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30:01.055s [INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012 [INFO] Final Memory: 6M/107M [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its d ependencies could not be resolved: Could not transfer artifact org.apache.maven. plugins:maven-clean-plugin:jar:2.4.1 from/to central ( http://repo.maven.apache.o rg/maven2): GET request of: org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma ven-clean-plugin-2.4.1.jar from central failed: Read timed out - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException
Re: problem downloading dependencies
Hi, can it be that your Internet connection is unreliable and sometimes download is interrupted? Maven by default will not reattempt to dowload artifacts until the next day. You can try adding -U to force Maven to redownload failed artifacts and snapshots. Regards, htfv (Aliaksei Lahachou) On Sat, Jun 30, 2012 at 1:42 PM, sdgvdsg sdgvdsg sdgv...@gmail.com wrote: Hi, I followed http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin order to create my first Maven project. The installation was successful but when i try to download the dependencies I have some downloading activities but after a while the downlaoding stops and eventually there will be an error as the one below. This is my home network and I don't have proxy, also part of the dependencies are being downloaded so the settings should be correct. On the page http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html there is a text *If you have just installed Maven, it may take a while on the first run. This is because Maven is downloading the most recent artifacts (plugin jars and other files) into your local repository. You may also need to execute the command a couple of times before it succeeds. This is because the remote server may time out before your downloads are complete. Don't worry, there are ways to fix that. * But I tried 15-20 times same thing is happening. What could be the problem, do I need to set up something else? I am investigating this issue couple of days but I still can't find a solution. Thank You [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30:01.055s [INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012 [INFO] Final Memory: 6M/107M [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its d ependencies could not be resolved: Could not transfer artifact org.apache.maven. plugins:maven-clean-plugin:jar:2.4.1 from/to central ( http://repo.maven.apache.o rg/maven2): GET request of: org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma ven-clean-plugin-2.4.1.jar from central failed: Read timed out - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException
Re: problem downloading dependencies
I still don't know what actually was the problem but i found a workaround using the same network but connecting through my phone. Thanks for the replay Regards On Sat, Jun 30, 2012 at 5:16 PM, Aliaksei Lahachou aliaksei.lahac...@gmail.com wrote: Hi, can it be that your Internet connection is unreliable and sometimes download is interrupted? Maven by default will not reattempt to dowload artifacts until the next day. You can try adding -U to force Maven to redownload failed artifacts and snapshots. Regards, htfv (Aliaksei Lahachou) On Sat, Jun 30, 2012 at 1:42 PM, sdgvdsg sdgvdsg sdgv...@gmail.com wrote: Hi, I followed http://maven.apache.org/guides/getting-started/maven-in-five-minutes.htmlin order to create my first Maven project. The installation was successful but when i try to download the dependencies I have some downloading activities but after a while the downlaoding stops and eventually there will be an error as the one below. This is my home network and I don't have proxy, also part of the dependencies are being downloaded so the settings should be correct. On the page http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html there is a text *If you have just installed Maven, it may take a while on the first run. This is because Maven is downloading the most recent artifacts (plugin jars and other files) into your local repository. You may also need to execute the command a couple of times before it succeeds. This is because the remote server may time out before your downloads are complete. Don't worry, there are ways to fix that. * But I tried 15-20 times same thing is happening. What could be the problem, do I need to set up something else? I am investigating this issue couple of days but I still can't find a solution. Thank You [INFO] [INFO] BUILD FAILURE [INFO] [INFO] Total time: 30:01.055s [INFO] Finished at: Fri Jun 29 19:11:55 CEST 2012 [INFO] Final Memory: 6M/107M [INFO] [ERROR] Plugin org.apache.maven.plugins:maven-clean-plugin:2.4.1 or one of its d ependencies could not be resolved: Could not transfer artifact org.apache.maven. plugins:maven-clean-plugin:jar:2.4.1 from/to central ( http://repo.maven.apache.o rg/maven2): GET request of: org/apache/maven/plugins/maven-clean-plugin/2.4.1/ma ven-clean-plugin-2.4.1.jar from central failed: Read timed out - [Help 1] [ERROR] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e swit ch. [ERROR] Re-run Maven using the -X switch to enable full debug logging. [ERROR] [ERROR] For more information about the errors and possible solutions, please rea d the following articles: [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginResoluti onException
Re: problem downloading dependencies of pom-type
we have that - it is just becoming obvious that we need to make it simpler to turn on and off :) On 12/02/2008, aldana [EMAIL PROTECTED] wrote: one thing which could have helped had been a maven command-line log (though this is hardly feasible for dependency resolving is transparently done by repository maven settings). maybe the more practical hint could have been given through a logging statement in archiva. something like: (check resolution-policies (Never, Once, Always) in archiva configuration) Brett Porter wrote: thanks - is there some way Archiva could have helped troubleshoot this better? On 12/02/2008, aldana [EMAIL PROTECTED] wrote: hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never' to 'Always'. Brett Porter wrote: I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote: hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411499.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/
Re: problem downloading dependencies of pom-type
one thing which could have helped had been a maven command-line log (though this is hardly feasible for dependency resolving is transparently done by repository maven settings). maybe the more practical hint could have been given through a logging statement in archiva. something like: (check resolution-policies (Never, Once, Always) in archiva configuration) Brett Porter wrote: thanks - is there some way Archiva could have helped troubleshoot this better? On 12/02/2008, aldana [EMAIL PROTECTED] wrote: hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never' to 'Always'. Brett Porter wrote: I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote: hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411499.html Sent from the archiva-users mailing list archive at Nabble.com.
Re: problem downloading dependencies of pom-type
hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never' to 'Always'. Brett Porter wrote: I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote: hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html Sent from the archiva-users mailing list archive at Nabble.com.
Re: problem downloading dependencies of pom-type
thanks - is there some way Archiva could have helped troubleshoot this better? On 12/02/2008, aldana [EMAIL PROTECTED] wrote: hi, sorry, i forgot to close this topic. it was a configuration error: i worked with snapshot-pom and forgot to set the download policies for snapshots from 'Never' to 'Always'. Brett Porter wrote: I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote: hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/ - manuel aldana aldana((at))gmx.de homepage: http://www.aldana-online.de -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15411250.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/
Re: problem downloading dependencies of pom-type
I successfully download POM files all the time - you might need to check that it works from the web iinterface in case this is a problem on the Maven side. If it doesn't, you can review the Archiva logs to give further information. Cheers, Brett On 05/02/2008, aldana [EMAIL PROTECTED] wrote: hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com. -- Brett Porter Blog: http://blogs.exist.com/bporter/
problem downloading dependencies of pom-type
hi, downloading jar's using archiva (as proxy) works fine (both release and snapshots). but downloading referenced pom (as parent) fails. i had a look at 'Repository Scanning' menu and pom is included (**/*.pom). could this be a bug or do i need to set pom download somewhere else too? i am using archiva 1.0.1. -- View this message in context: http://www.nabble.com/problem-downloading-dependencies-of-pom-type-tp15268095p15268095.html Sent from the archiva-users mailing list archive at Nabble.com.
Re: problem downloading dependencies
Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall
Re: problem downloading dependencies
Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem downloading dependencies
http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties cheers arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem downloading dependencies
Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would I need one? In any case I dont have one. I am doing this from home and just have a standard cable internet connection. Also, why would some jars succeed in downloading from ibiblio and others not? Cheers Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties cheers arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: problem downloading dependencies
I've noticed this that occasionally the connection drops or it can't download a dependency for a split second and then when I retry it works (this is using the default ibiblio repo- my guess is usage of the server). -aps On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would I need one? In any case I dont have one. I am doing this from home and just have a standard cable internet connection. Also, why would some jars succeed in downloading from ibiblio and others not? Cheers Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties cheers arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson
Re: problem downloading dependencies
Thanks but the dependecies that are failing fail every time I run the build (and I've run it many, many times). On 04/09/06, Alexander Sack [EMAIL PROTECTED] wrote: I've noticed this that occasionally the connection drops or it can't download a dependency for a split second and then when I retry it works (this is using the default ibiblio repo- my guess is usage of the server). -aps On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi thanks for the pointer, but I'm not sure I need a Proxy. Why would I need one? In any case I dont have one. I am doing this from home and just have a standard cable internet connection. Also, why would some jars succeed in downloading from ibiblio and others not? Cheers Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: http://maven.apache.org/maven-1.x/reference/properties.html#Proxy_Properties cheers arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hi I tried replacing id with artifactId but it made no difference. I didn't know I had to set up a proxy to access ibiblio. There is nothing in the documentation about that How do you do it? Thanks a lot Andy On 04/09/06, Arnaud HERITIER [EMAIL PROTECTED] wrote: Don't you have a proxy to access to ibiblio ? Did you try to replace id (deprecated) by artifactId dependency groupIdbouncycastle/groupId artifactIdbcprov-jdk14/artifactId version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency Arnaud On 9/4/06, Andrew Birchall [EMAIL PROTECTED] wrote: Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- What lies behind us and what lies in front of us is of little concern to what lies within us. -Ralph Waldo Emerson - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
problem downloading dependencies
Hello I am using Maven 1.0.2 for a project and I'm having a problem downloading a few of the artifacts (jar files) that the project uses. I have declared them in project.xml with all the right attributes. For example, for the Bouncy Castle crytography library: dependency groupIdbouncycastle/groupId idbcprov-jdk14/id version124/version url http://www.bouncycastle.org/download//url properties war.bundletrue/war.bundle shippabletrue/shippable /properties /dependency But bcprov-jdk14-124.jar fails to download, even though it is there in Ibiblio: http://www.ibiblio.org/maven/bouncycastle/jars/ and on the bouncycastle website http://www.bouncycastle.org/download/ I have also set: maven.repo.remote=http://www.ibiblio.org/maven in project.properties There about 14 other jars that aren't downloaded and I can't figure out why. Can anyone help? Thanks Andy Birchall