I'm trying to use Tycho (0.3.0-DEV-1785) behind a Nexus (1.0.2) proxy. So far unsuccessful. In Nexus I configured
Repository ID: forge Repository Name: Sonatype Repository Type: proxy Repository Policy: Release Remote Storage Location: http://repository.sonatype.org/content/groups/public Download Remote Indexes: True and I added my the Sonatype repository to the public Nexus group (even as first entry). I put this in my ~/.m2/settings.xml: <mirror> <id>Nexus-Forge</id> <name>Nexus Public Mirror</name> <url>http://my-nexus-server:8081/nexus/content/groups/public</url> <mirrorOf>forge</mirrorOf> </mirror> An 'mvn clean' from an empty local repository does succeed. An 'mvn validate' however does not: ... | (mirror url: http://my-nexus-server:8081/nexus/content/groups/public) | Downloading: http://my-nexus-server:8081/nexus/content/groups/public/org/codehaus/tycho/maven-osgi-packaging-plugin/0.3.0-SNAPSHOT/maven-osgi-packaging-plugin-0.3.0-SNAPSHOT.pom | org.apache.maven.wagon.ResourceDoesNotExistException: Unable to locate resource in repository | at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:132) | at org.apache.maven.wagon.StreamWagon.getInputStream(StreamWagon.java:116) | at org.apache.maven.wagon.StreamWagon.getIfNewer(StreamWagon.java:88) | at org.apache.maven.wagon.StreamWagon.get(StreamWagon.java:61) | at org.apache.maven.artifact.manager.DefaultWagonManager.getRemoteFile(DefaultWagonManager.java:600) | at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:420) | at org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:357) | at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:167) | at org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:82) | at org.apache.maven.project.DefaultRepositoryHelper.findModelFromRepository(DefaultRepositoryHelper.java:115) | at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:188) | at org.apache.maven.plugin.DefaultPluginManagerSupport.buildPluginProject(DefaultPluginManagerSupport.java:127) | at org.apache.maven.plugin.DefaultPluginManagerSupport.resolvePluginArtifact(DefaultPluginManagerSupport.java:97) | at org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:218) | at org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:195) | at org.apache.maven.plugin.loader.DefaultPluginLoader.loadPlugin(DefaultPluginLoader.java:79) | at org.apache.maven.plugin.loader.DefaultPluginLoader.loadPlugin(DefaultPluginLoader.java:52) | at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.loadPluginDescriptor(DefaultBuildPlanner.java:322) | at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.findForkModifiers(DefaultBuildPlanner.java:192) | at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.addForkedLifecycleModifiers(DefaultBuildPlanner.java:179) | at org.apache.maven.lifecycle.plan.DefaultBuildPlanner.constructBuildPlan(DefaultBuildPlanner.java:117) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.getLifecycleBindings(DefaultLifecycleExecutor.java:423) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegmentForProject(DefaultLifecycleExecutor.java:258) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:214) | at org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:172) | at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:218) | at org.apache.maven.embedder.MavenEmbedder.execute(MavenEmbedder.java:899) | at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:176) | at org.apache.maven.cli.MavenCli.main(MavenCli.java:63) | 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:597) | at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289) | at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229) | at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:408) | at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:351) | Caused by: java.io.FileNotFoundException: http://my-nexus-server:8081/nexus/content/groups/public/org/codehaus/tycho/maven-osgi-packaging-plugin/0.3.0-SNAPSHOT/maven-osgi-packaging-plugin-0.3.0-SNAPSHOT.pom | at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1288) | at org.apache.maven.wagon.providers.http.LightweightHttpWagon.fillInputData(LightweightHttpWagon.java:115) | ... 36 more | [INFO] Using mirror: Nexus-Forge for repository: forge | (mirror url: http://my-nexus-server:8081/nexus/content/groups/public) | [ERROR] | Failed to construct build plan for: Unnamed - my.group:my.util:eclipse-plugin:1.0.0 | Id: my.group:my.util:eclipse-plugin:1.0.0 | task-segment: [validate]. Reason: Failed to resolve plugin for mojo binding: org.codehaus.tycho:maven-osgi-packaging-plugin:0.3.0-SNAPSHOT:build-qualifier | | While building project with id: my.group:my.util:eclipse-plugin:1.0.0 I'm pretty unclear what I'm missing. Thanks! -Max --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email