[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [eclipselink-users] Maven issues
|
Hi David,
You have a spelling error:
<artifactId>org.eclipse.peristence.jpa</artifactId>
It should be "persistence". :)
--Polly
David Nedrow-3 wrote:
>
> I'm having trouble adding eclipselink via Maven2 in a NetBeans project.
>
> I always receive the following error either via the GUI, or when
> kicking off a build from the command line...
>
> [ERROR]Transitive dependency resolution for scope: compile has failed
> for your project.
> [ERROR]Error message: Missing:
> [ERROR]----------
> [ERROR]1) org.eclipse.persistence:org.eclipse.peristence.jpa:jar:1.0
>
> According to the documentation on the EclipseLink page, the following
> POM should be correct (note that the &'s are correct in the URL)...
>
> <?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/maven-v4_0_0.xsd
> ">
> <modelVersion>4.0.0</modelVersion>
> <groupId>com.vzbi.ncs.argfrp.jpa</groupId>
> <artifactId>netconf</artifactId>
> <packaging>jar</packaging>
> <version>1.0-SNAPSHOT</version>
> <name>netconf</name>
> <url>http://maven.apache.org</url>
> <repositories>
> <repository>
> <id>Eclipse Repo</id>
>
> <url>http://www.eclipse.org/downloads/download.php?r=1&nf=1&file=/rt/eclipselink/maven.repo/
> </url>
> </repository>
> </repositories>
> <build>
> <plugins>
> <plugin>
> <artifactId>maven-compiler-plugin</artifactId>
> <version>2.0.2</version>
> <configuration>
> <source>1.5</source>
> <target>1.5</target>
> </configuration>
> </plugin>
> </plugins>
> </build>
> <dependencies>
> <dependency>
> <groupId>org.eclipse.persistence</groupId>
> <artifactId>org.eclipse.peristence.jpa</artifactId>
> <version>1.0</version>
> <scope>compile</scope>
> </dependency>
> </dependencies>
> </project>
>
> Any ideas? I'm asking here hoping that someone using EclipseLink and
> Maven might be able to confirm that they are successfully pulling
> items from the EclipseLink mirrors. If so, could you post your
> settings/pom info?
>
> -David
> _______________________________________________
> eclipselink-users mailing list
> eclipselink-users@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/eclipselink-users
>
>
--
View this message in context: http://www.nabble.com/Maven-issues-tp18571255p18576178.html
Sent from the EclipseLink - Users mailing list archive at Nabble.com.