I doubt that jar file is really a jar. The URL you provided in the
EclipseLink Repo repository seems to return HTML rather than a proper
302 to the right mirror.
As a result, I bet that jar is actually an HTML file. Delete it,
change that URL (or just delete that node and keep the USP-BR one
only) and try running Maven again.
Wayne
2010/1/11 Felipe Gaúcho <fgaucho_at_gmail.com>:
> the pom.xml stopped to work..
>
> [INFO] Compilation failure
> error: error reading
> /home/fgaucho/.m2/repository/org/eclipse/persistence/eclipselink/2.0.0-RC1/eclipselink-2.0.0-RC1.jar;
> error in opening zip file
>
> what dependency should I use in the pom.xml for EclipseLink ?
>
> I have :
>
>
> <dependency>
> <groupId>org.eclipse.persistence</groupId>
> <artifactId>eclipselink</artifactId>
> <version>2.0.0-RC1</version>
> <scope>provided</scope>
> </dependency>
>
> <repositories>
> <repository>
> <id>EclipseLink Repo</id>
> <url>http://www.eclipse.org/downloads/download.php?r=2&nf=1&file=/rt/eclipselink/maven.repo</url>
> </repository>
> <repository>
> <id>EclipseLink Repo USP-BR</id>
> <url>http://linorg.usp.br/eclipse/rt/eclipselink/maven.repo</url>
> </repository>
> ...
> </repositories>
>
> --
> ------------------------------------------
> Felipe Gaúcho
> 10+ Java Programmer
> CEJUG Senior Advisor
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_glassfish.dev.java.net
> For additional commands, e-mail: users-help_at_glassfish.dev.java.net
>
>