See http://maven.apache.org/reference/standard-sun-jar-names.html for general info. Let us know if that doesn't explain enough.
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: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > -- Dave Brondsema Software Developer Cornerstone University
signature.asc
Description: OpenPGP digital signature
