You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Wojciech Gdela <el...@poczta.onet.pl> on 2006/05/10 15:25:27 UTC

Problems when trying to use newest snapshot version of plugin

Hello,

I'm trying to use newest snapshot version of site plugin. So I set 
plugin configuration to use version 2.0-SNAPSHOT:

   <build>
     [...]
     <plugins>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-site-plugin</artifactId>
         <version>2.0-SNAPSHOT</version>
         <configuration>
           <outputEncoding>UTF-8</outputEncoding>
         </configuration>
       </plugin>
     </plugins>
     [...]
   </build>

And I set plugin snapshots repository:

   <pluginRepositories>
     [...]
     <pluginRepository>
       <id>Maven Snapshots</id>
       <url>http://cvs.apache.org/maven-snapshot-repository</url>
       <snapshots>
         <enabled>true</enabled>
       </snapshots>
       <releases>
         <enabled>false</enabled>
       </releases>
     </pluginRepository>
     [...]
   </pluginRepositories>

But after invoking mvn site I get this warning:

Downloading: 
http://cvs.apache.org/maven-snapshot-repository/org/apache/maven/plugins/maven-site-plugin/2.0-SNAPSHOT/maven-site-plugin-2.0-SNAPSHOT.jar
[WARNING] Unable to get resource from repository Maven Snapshots 
(http://cvs.apache.org/maven-snapshot-repository)

And It's correct - there is no maven-site-plugin-2.0-SNAPSHOT.jar, but 
shouldn't maven expand the SNAPSHOT suffix and try to download 
maven-site-plugin-2.0-20060418.011103-8.jar instead?

-- 
Best regards,
Wojciech Gdela.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org