Sebastian,

You also need to add the repository as a plugin repository, as follows:

  <pluginRepositories>
    <pluginRepository>
      <id>Apache SNAPSHOTS</id>
      <name>Apache SNAPSHOTS</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>warn</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
    </pluginRepository>
  </pluginRepositories>

This took a bit of Googling when I had the same problem!

Regards,
Greg J

-----Original Message-----
From: Annies, Sebastian [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 16 January 2007 4:45 AM
To: users@maven.apache.org
Subject: maven-assembly-plugin:2.2-SNAPSHOT cannot be downloaded

Hello,

For some reason I cannot get any maven assembly plugin in version
2.2-SNAPSHOT to download. I added:
<repositories>
    <repository>
      <id>Apache SNAPSHOTS</id>
      <name>Apache SNAPSHOTS</name>
      <url>http://people.apache.org/repo/m2-snapshot-repository</url>
      <releases>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>warn</checksumPolicy>
      </releases>
      <snapshots>
        <enabled>true</enabled>
        <updatePolicy>always</updatePolicy>
        <checksumPolicy>fail</checksumPolicy>
      </snapshots>
    </repository>

 <!--   <repository>
      <id>CodeHaus SNAPSHOTS</id>
      <name>CodeHaus SNAPSHOTS</name>

to the parent pom and get an error as shown in the error.txt attachment.
The actual pom is attached as pom.xml

Any suggestions??

Regards,
Sebastian

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to