I've created a test repo at http://repo1.maven.org/eclipse/ with a lot of them. We are looking for feedback
Excellent! Having this shared repository of eclipse artifacts will really help our project. However, I'm getting one very strange error that I don't understand at all. Can you try out this POM: <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>foo.test</groupId> <artifactId>test</artifactId> <packaging>jar</packaging> <version>1.0-SNAPSHOT</version> <name>This is a test</name> <url>http://maven.apache.org</url> <dependencies> <dependency> <groupId>org.eclipse.ui</groupId> <artifactId>org.eclipse.ui</artifactId> <version>3.2.0</version> <scope>provided</scope> </dependency> <dependency> <groupId>org.eclipse.jdt</groupId> <artifactId>org.eclipse.jdt.debug.ui</artifactId> <version>3.2.0</version> <scope>provided</scope> </dependency> </dependencies> <repositories> <repository> <id>eclipsePlugins</id> <url>http://repo1.maven.org/eclipse</url> </repository> </repositories> </project> When I run "mvn compile" I get: [INFO] ------------------------------------------------------------------------ [ERROR] BUILD ERROR [INFO] ------------------------------------------------------------------------ [INFO] Failed to resolve artifact. Missing: ---------- 1) org.eclipse.ui:org.eclipse.ui:jar:4.0.0 Try downloading the file manually from the project website. Then, install it using the command: mvn install:install-file -DgroupId=org.eclipse.ui -DartifactId=org.eclipse .ui \ -Dversion=4.0.0 -Dpackaging=jar -Dfile=/path/to/file Path to dependency: 1) foo.test:test:jar:1.0-SNAPSHOT 2) org.eclipse.ui:org.eclipse.ui:jar:4.0.0 ---------------------------------------------------- The really bizarre thing is that it works if I have a dependency on either org.eclipse.ui OR org.eclipse.jdt.debug.ui, but not both. Any idea how that could happen? This isn't a showstopper for me since if I just declare a dependency on org.eclipse.jdt.debug.ui it will drag in the right version of org.eclipse.ui anyway. But I'm curious to know what the problem is. -Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
