maven-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Miks Rozenbergs <miks_rozenbe...@exigengroup.lv>
Subject Re: [M2] Unable to download the artifact from any repository -- javax.transaction:jta:1.0.1B:jar
Date Tue, 25 Oct 2005 13:39:37 GMT
Dave Brondsema wrote:
> See http://maven.apache.org/reference/standard-sun-jar-names.html for
> general info.  Let us know if that doesn't explain enough.
It doesn't. Because I'm not referencing Sun jar's. I've only added 
dependency to Hibernate. That javax.transaction.jta is probably required 
by one of the Hibernates transitive dependencies which were pulled from 
central repository. So, I assume there is something wrong with some of 
the POM's in central repository. Here is a log of what happens when I do 
"mvn compile" on the below pom.xml with clean (empty) local repository:

====================== log starts here =================================
#mvn -e compile
+ Error stacktraces are turned on.
[INFO] Scanning for projects...
[INFO] 
----------------------------------------------------------------------------
[INFO] Building Unnamed - com.exigen.bpm:runtime:jar:1.0-SNAPSHOT
[INFO]    task-segment: [compile]
[INFO] 
----------------------------------------------------------------------------
[INFO] artifact org.apache.maven.plugins:maven-resources-plugin: 
checking for updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.0/maven-resources-plugin-2.0.pom
888b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-plugin-parent/2.0/maven-plugin-parent-2.0.pom
6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-resources-plugin/2.0/maven-resources-plugin-2.0.jar
10K downloaded
[INFO] artifact org.apache.maven.plugins:maven-compiler-plugin: checking 
for updates from central
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/plugins/maven-compiler-plugin/2.0/maven-compiler-plugin-2.0.jar
13K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-model/2.0/maven-model-2.0.pom
2K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven/2.0/maven-2.0.pom
8K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.pom
6K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-project/2.0/maven-project-2.0.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.pom
7K downloaded
Downloading: 
http://repo1.maven.org/maven2/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.pom
3K downloaded
Downloading: http://repo1.maven.org/maven2/junit/junit/3.8.1/junit-3.8.1.pom
145b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.pom
723b downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.pom
4K downloaded
Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-profile/2.0/maven-profile-2.0.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'901893f66d5b9de78c66dc39daebcb7569756666'; remote = 
'SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'901893f66d5b9de78c66dc39daebcb7569756666'; remote = 
'SHA1(commons-io/commons-io/1.0/commons-io-1.0.pom)=' - IGNORING
[WARNING] POM for: 'commons-io:commons-io:pom:1.0' does not appear to be 
valid. Its will be ignored for artifact resolution.

Reason: Failed to validate POM


Downloading: 
http://repo1.maven.org/maven2/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.pom
601b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-io/commons-io/1.0/commons-io-1.0.jar
44K downloaded
[INFO] [resources:resources]
[INFO] Using default encoding to copy filtered resources.
Downloading: 
http://repo1.maven.org/maven2/org/hibernate/hibernate/3.0.5/hibernate-3.0.5.pom
3K downloaded
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
515b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'9fbaf81aba46a55a46fcb8b666568aa0feaf2f32'; remote = 
'SHA1(javax/transaction/jta/1.0.1B/jta-1.0.1B.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.pom
515b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'9fbaf81aba46a55a46fcb8b666568aa0feaf2f32'; remote = 
'SHA1(javax/transaction/jta/1.0.1B/jta-1.0.1B.pom)=' - IGNORING
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-cache/1.2.2/jboss-cache-1.2.2.pom
1K downloaded
Downloading: 
http://repo1.maven.org/maven2/concurrent/concurrent/1.3.4/concurrent-1.3.4.pom
226b downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-j2se/200504122039/jboss-j2se-200504122039.pom
161b downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-minimal/4.0.2/jboss-minimal-4.0.2.pom
152b downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-system/4.0.2/jboss-system-4.0.2.pom
156b downloaded
Downloading: 
http://repo1.maven.org/maven2/jgroups/jgroups-all/2.2.7/jgroups-all-2.2.7.pom
152b downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-common/4.0.2/jboss-common-4.0.2.pom
151b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'7210173c06d09e301cf4ffc906d1f969d5f6c367'; remote = 
'SHA1(commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom)=' 
- RETRYING
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom
5K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'7210173c06d09e301cf4ffc906d1f969d5f6c367'; remote = 
'SHA1(commons-logging/commons-logging/1.0.4/commons-logging-1.0.4.pom)=' 
- IGNORING
Downloading: 
http://repo1.maven.org/maven2/logkit/logkit/1.0.1/logkit-1.0.1.pom
147b downloaded
Downloading: 
http://repo1.maven.org/maven2/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.pom
167b downloaded
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.6/log4j-1.2.6.pom
145b downloaded
Downloading: 
http://repo1.maven.org/maven2/javax/security/jacc/1.0/jacc-1.0.pom
531b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'ff0cf0f5af6d80f19ab5a2799bf1ba448d08f3f4'; remote = 
'SHA1(javax/security/jacc/1.0/jacc-1.0.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/javax/security/jacc/1.0/jacc-1.0.pom
531b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'ff0cf0f5af6d80f19ab5a2799bf1ba448d08f3f4'; remote = 
'SHA1(javax/security/jacc/1.0/jacc-1.0.pom)=' - IGNORING
Downloading: 
http://repo1.maven.org/maven2/swarmcache/swarmcache/1.0RC2/swarmcache-1.0RC2.pom
645b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'f39e7ccb4614fc6a5e5af030fa627ee95ca85596'; remote = 
'SHA1(swarmcache/swarmcache/1.0RC2/swarmcache-1.0RC2.pom)=' - RETRYING
Downloading: 
http://repo1.maven.org/maven2/swarmcache/swarmcache/1.0RC2/swarmcache-1.0RC2.pom
645b downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'f39e7ccb4614fc6a5e5af030fa627ee95ca85596'; remote = 
'SHA1(swarmcache/swarmcache/1.0RC2/swarmcache-1.0RC2.pom)=' - IGNORING
Downloading: 
http://repo1.maven.org/maven2/commons-logging/commons-logging/1.02/commons-logging-1.02.pom
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
Downloading: 
http://repo1.maven.org/maven2/jgroups/jgroups-all/2.2.8/jgroups-all-2.2.8.pom
152b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1/commons-collections-2.1.pom
3K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'03ac124c9f50b403afc9819e1f430d6883e77213'; remote = 
'SHA1(commons-collections/commons-collections/2.1/commons-collections-2.1.pom)=' 
- RETRYING
Downloading: 
http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1/commons-collections-2.1.pom
3K downloaded
[WARNING] *** CHECKSUM FAILED - Checksum failed on download: local = 
'03ac124c9f50b403afc9819e1f430d6883e77213'; remote = 
'SHA1(commons-collections/commons-collections/2.1/commons-collections-2.1.pom)=' 
- IGNORING
Downloading: http://repo1.maven.org/maven2/cglib/cglib/2.0.2/cglib-2.0.2.pom
144b downloaded
Downloading: http://repo1.maven.org/maven2/asm/asm/1.4.3/asm-1.4.3.pom
140b downloaded
Downloading: http://repo1.maven.org/maven2/dom4j/dom4j/1.6/dom4j-1.6.pom
6K downloaded
Downloading: 
http://repo1.maven.org/maven2/ehcache/ehcache/1.1/ehcache-1.1.pom
909b downloaded
Downloading: 
http://repo1.maven.org/maven2/opensymphony/oscache/2.1/oscache-2.1.pom
151b downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.pom
172b downloaded
Downloading: http://repo1.maven.org/maven2/odmg/odmg/3.0/odmg-3.0.pom
141b downloaded
Downloading: 
http://repo1.maven.org/maven2/proxool/proxool/0.8.3/proxool-0.8.3.pom
148b downloaded
Downloading: 
http://repo1.maven.org/maven2/hibernate/antlr/2.7.5H3/antlr-2.7.5H3.pom
150b downloaded
Downloading: 
http://repo1.maven.org/maven2/c3p0/c3p0/0.8.4.5/c3p0-0.8.4.5.pom
164b downloaded
Downloading: http://repo1.maven.org/maven2/log4j/log4j/1.2.6/log4j-1.2.6.jar
342K downloaded
Downloading: 
http://repo1.maven.org/maven2/commons-collections/commons-collections/2.1.1/commons-collections-2.1.1.jar
171K downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-cache/1.2.2/jboss-cache-1.2.2.jar
365K downloaded
Downloading: 
http://repo1.maven.org/maven2/ehcache/ehcache/1.1/ehcache-1.1.jar
46K downloaded
Downloading: 
http://repo1.maven.org/maven2/jboss/jboss-common/4.0.2/jboss-common-4.0.2.jar
457K downloaded
Downloading: 
http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
[WARNING] Unable to get resource from repository central 
(http://repo1.maven.org/maven2)
[INFO] 
----------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO] 
----------------------------------------------------------------------------
[INFO] Failed to resolve artifact.

GroupId: javax.transaction
ArtifactId: jta
Version: 1.0.1B

Reason: Unable to download the artifact from any repository

Try downloading the file manually from
   http://java.sun.com/products/jta
and install it using the command:
   m2 install:install-file -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
   javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)


[INFO] 
----------------------------------------------------------------------------
[INFO] Trace
org.apache.maven.lifecycle.LifecycleExecutionException: Unable to 
download the artifact from any repository

Try downloading the file manually from
   http://java.sun.com/products/jta
and install it using the command:
   m2 install:install-file -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
   javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:528)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:469)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:448)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:301)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:268)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:137)
         at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:316)
         at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:113)
         at org.apache.maven.cli.MavenCli.main(MavenCli.java:249)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
         at org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
         at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
         at org.codehaus.classworlds.Launcher.main(Launcher.java:375)
Caused by: org.apache.maven.artifact.resolver.ArtifactNotFoundException: 
Unable to download the artifact from any repository

Try downloading the file manually from
   http://java.sun.com/products/jta
and install it using the command:
   m2 install:install-file -DgroupId=javax.transaction -DartifactId=jta 
-Dversion=1.0.1B -Dpackaging=jar -Dfile=/path/to/file
   javax.transaction:jta:1.0.1B:jar

from the specified remote repositories:
   central (http://repo1.maven.org/maven2)

         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:136)
         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63)
         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:230)
         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:211)
         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolveTransitively(DefaultArtifactResolver.java:182)
         at 
org.apache.maven.plugin.DefaultPluginManager.resolveTransitiveDependencies(DefaultPluginManager.java:1152)
         at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:353)
         at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:519)
         ... 16 more
Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable 
to download the artifact from any repository
         at 
org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260)
         at 
org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124)
         ... 23 more
[INFO] 
----------------------------------------------------------------------------
[INFO] Total time: 7 minutes 23 seconds
[INFO] Finished at: Tue Oct 25 16:37:12 EEST 2005
[INFO] Final Memory: 2M/5M
[INFO] 
----------------------------------------------------------------------------

#
====================== log ends here ===================================

> 
> Miks Rozenbergs wrote:
>> Hello!
>>
>> Here is my POM, with dependency to hibernate. But when doing "mvn
>> compile", Maven can't download one of dependencies -- GroupId:
>> javax.transaction, ArtifactId: jta, Version: 1.0.1B. See console output
>> down bellow. Any ideas why?
>>
>> ===========================================================================
>> <?xml version="1.0"?>
>> <project>
>>   <modelVersion>4.0.0</modelVersion>
>>   <groupId>com.exigen.bpm</groupId>
>>   <artifactId>runtime</artifactId>
>>   <packaging>jar</packaging>
>>   <version>1.0-SNAPSHOT</version>
>>   <build>
>>     <sourceDirectory>src</sourceDirectory>
>>     <finalName>com.exigen.bpm.runtime</finalName>
>>   </build>
>>   <dependencies>
>>     <dependency>
>>       <groupId>org.hibernate</groupId>
>>       <artifactId>hibernate</artifactId>
>>       <version>3.0.5</version>
>>     </dependency>
>>   </dependencies>
>> </project>
>> ===========================================================================
>> c:\workspace\com.exigen.bpm.runtime\mvn compile
>> [INFO] Scanning for projects...
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Building Unnamed - com.exigen.bpm:runtime:jar:1.0-SNAPSHOT
>> [INFO]    task-segment: [compile]
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] [resources:resources]
>> [INFO] Using default encoding to copy filtered resources.
>> Downloading:
>> http://repo1.maven.org/maven2/javax/transaction/jta/1.0.1B/jta-1.0.1B.jar
>> [WARNING] Unable to get resource from repository central
>> (http://repo1.maven.org/maven2)
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [ERROR] BUILD ERROR
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>> [INFO] Failed to resolve artifact.
>>
>> GroupId: javax.transaction
>> ArtifactId: jta
>> Version: 1.0.1B
>>
>> Reason: Unable to download the artifact from any repository
>>   javax.transaction:jta:1.0.1B:jar
>>
>> 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: 10 seconds
>> [INFO] Finished at: Tue Oct 25 10:46:03 EEST 2005
>> [INFO] Final Memory: 2M/5M
>> [INFO]
>> ----------------------------------------------------------------------------
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
>> For additional commands, e-mail: users-help@maven.apache.org
>>
> 
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Mime
View raw message