Hey, I don't know how I couldn't figure this out... Thanks Jérôme :o) Best Regards / Cordialement, Fabrice BELLINGARD DINQ/DSIN/INSI/EATE/IDVS/AIDV (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] Jérôme BERNARD <jerome.bernard@ gmail.com> Pour Maven Users List 23/02/2006 18:05 <users@maven.apache.org> cc Veuillez Objet répondre à Re: Snapshot download problem: POM Maven Users List downloaded but not JAR <[EMAIL PROTECTED] che.org> Add this to your settings.xml: <profiles> <profile> <id>...</id> <repositories>...</repositories> <pluginRepositories> <pluginRepository> <id>snapshot-plugin-repo</id> <name>Referentiel actif pour les plugin snapshots</name> <url>http://jip.inetpsa.com/maven/repository</url> <releases> <enabled>false</enabled> </releases> <snapshots> <enabled>true</enabled> <updatePolicy>always</updatePolicy> </snapshots> </pluginRepository> </pluginRepositories> Jérôme. On 2/20/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > > > Hi everybody, > > > I'm running into a weird problem: Maven manages to download the POM of a > snapshot plugin JAR that my project requires, but not the JAR itself... > although it exsits. > The context: > - the required plugin is a plugin I developed and published on a > corporate repository > - the corporate repository is accessed via Maven-Proxy > - the POM downloaded is correct (this is the actual POM) > - the corresponding JAR does exist on the corporate repository > > Here is my settings.xml file : > > <?xml version="1.0" encoding="ISO-8859-1"?> > <settings> > <mirrors> > <mirror> > <id>maven-proxy</id> > <name>Maven-Proxy Mirror</name> > <url>http://jip.inetpsa.com/maven/repository</url> > <mirrorOf>central</mirrorOf> > </mirror> > </mirrors> > <profiles> > <profile> > <id>snapshots-config</id> > <repositories> > <repository> > <id>snapshot-repo</id> > <name>Referentiel actif pour les > snapshots</name> > > <url>http://jip.inetpsa.com/maven/repository</url> > <releases> > <enabled>false</enabled> > </releases> > <snapshots> > <enabled>true</enabled> > <updatePolicy>always</updatePolicy> > </snapshots> > </repository> > </repositories> > </profile> > </profiles> > <activeProfiles> > <activeProfile>snapshots-config</activeProfile> > </activeProfiles> > <pluginGroups> > <pluginGroup>com.inetpsa.jip.plugins</pluginGroup> > </pluginGroups> > </settings> > > I put the log a the end of the mail (it can be seen that the POM is > downloaded). > > Does anyone have an idea why the JAR can't be downloaded while it exists? > > Thanks in advance for your answers. > > Best Regards / Cordialement, > Fabrice BELLINGARD > DINQ/DSIN/INSI/EATE/IDVS/AIDV > (+33) (01 61) 45 15 91 - [EMAIL PROTECTED] > > > > + Error stacktraces are turned on. > [DEBUG] Building Maven user-level plugin registry from: > 'C:\JIP\home\.m2\plugin-registry.xml' > [DEBUG] Building Maven global-level plugin registry from: > 'C:\JIP\bin\maven-2.0.2\conf\plugin-registry.xml' > [INFO] Scanning for projects... > [DEBUG] Retrieving parent-POM from the repository for project: > com.inetpsa.cxl:cxl-toolboxxml:jar:2.0.0-SNAPSHOT > [INFO] > ---------------------------------------------------------------------------- > [INFO] Building Toolbox XML > [INFO] task-segment: [install] > [INFO] > ---------------------------------------------------------------------------- > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-resources-plugin:maven-plugin:2.1 > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-compiler-plugin:maven-plugin:2.0 > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-surefire-plugin:maven-plugin:2.1.2 > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-jar-plugin:maven-plugin:2.0 > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-install-plugin:maven-plugin:2.1 > [DEBUG] Skipping disabled repository central > [INFO] snapshot > com.inetpsa.jip.plugins:maven-initialiser-plugin:1.0.0-SNAPSHOT: checking > for updates from snapshot-repo > [DEBUG] Skipping disabled repository central > [DEBUG] maven-initialiser-plugin: using locally installed snapshot > [DEBUG] Trying repository snapshot-repo > Downloading: > http://jip.inetpsa.com/maven/repository/com/inetpsa/jip/plugins/maven-initialiser-plugin/1.0.0-SNAPSHOT/maven-initialiser-plugin-1.0.0-SNAPSHOT.pom > 676b downloaded > [DEBUG] Artifact resolved > [DEBUG] Retrieving parent-POM from the repository for project: > null:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > [DEBUG] maven-initialiser-plugin: using locally installed snapshot > [DEBUG] Skipping disabled repository central > [INFO] > ---------------------------------------------------------------------------- > [ERROR] BUILD FAILURE > [INFO] > ---------------------------------------------------------------------------- > [INFO] A required plugin was not found: Plugin could not be found - check > that the goal name is correct: Unable to download the artifact from any > repository > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > [INFO] > ---------------------------------------------------------------------------- > [DEBUG] Trace > org.apache.maven.BuildFailureException: A required plugin was not found: > Plugin could not be found - check that the goal name is correct: Unable to > download the artifact from any repository > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:460) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:303) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:270) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:139) > at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:322) > at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:115) > at org.apache.maven.cli.MavenCli.main(MavenCli.java:249) > 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:324) > at > org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315) > at org.codehaus.classworlds.Launcher.launch(Launcher.java:255) > at > org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430) > at org.codehaus.classworlds.Launcher.main(Launcher.java:375) > Caused by: org.apache.maven.plugin.PluginNotFoundException: Plugin could > not be found - check that the goal name is correct: Unable to download the > artifact from any repository > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > > com.inetpsa.jip.plugins:maven-initialiser-plugin:maven-plugin:1.0.0-SNAPSHOT > > from the specified remote repositories: > central (http://repo1.maven.org/maven2) > > at > org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:229) > at > org.apache.maven.plugin.DefaultPluginManager.verifyPlugin(DefaultPluginManager.java:165) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.verifyPlugin(DefaultLifecycleExecutor.java:1218) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.bindPluginToLifecycle(DefaultLifecycleExecutor.java:1182) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.constructLifecycleMappings(DefaultLifecycleExecutor.java:950) > at > org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:450) > ... 14 more > Caused by: org.apache.maven.wagon.ResourceDoesNotExistException: Unable to > download the artifact from any repository > at > org.apache.maven.artifact.manager.DefaultWagonManager.getArtifact(DefaultWagonManager.java:260) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:124) > at > org.apache.maven.artifact.resolver.DefaultArtifactResolver.resolve(DefaultArtifactResolver.java:63) > at > org.apache.maven.plugin.DefaultPluginManager.verifyVersionedPlugin(DefaultPluginManager.java:192) > ... 19 more > [INFO] > ---------------------------------------------------------------------------- > [INFO] Total time: 2 seconds > [INFO] Finished at: Mon Feb 20 11:36:37 CET 2006 > [INFO] Final Memory: 2M/4M > [INFO] > ---------------------------------------------------------------------------- > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- Jérôme BERNARD, Kalixia, SARL. http://weblog.kalixia.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]