Tim - Now another repository is missing I guess - where do find this one? 
(And how do I work out which repositories I need for the build?  I thought
the whole point of maven was that the sufficient information to build
something would be included in its pom.xml?)

This is my repositories section from my settings.xml (is it correct?)

  <profiles>
    <profile>
      <id>Snapshots</id>
      <repositories>
        <repository>
          <id>Maven Snapshots</id>
          <url>http://snapshots.maven.codehaus.org/maven2</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <releases>
            <enabled>false</enabled>
          </releases>
        </repository>
        <repository>
          <id>Mojo Repository</id>
          <url>http://repository.codehaus.org</url>
        </repository>
      </repositories>
      <pluginRepositories>
        <pluginRepository>
          <id>Maven Snapshots</id>
          <url>http://snapshots.maven.codehaus.org/maven2/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <releases>
            <enabled>true</enabled>
          </releases>
        </pluginRepository>
        <pluginRepository>
          <id>Codehaus Snapshots</id>
          <url>http://snapshots.repository.codehaus.org/maven2/</url>
          <snapshots>
            <enabled>true</enabled>
          </snapshots>
          <releases>
            <enabled>true</enabled>
          </releases>
        </pluginRepository>
      </pluginRepositories>
    </profile>
  </profiles>
  <activeProfiles>
    <activeProfile>Snapshots</activeProfile>
  </activeProfiles>

When I build I get this:
[INFO]
------------------------------------------------------------------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------------------
[INFO] Error building POM (may not be this project's POM).


Project ID: jdom:jdom

Reason: Error getting POM for 'jdom:jdom' from the repository: Error
transferring file
  jdom:jdom:pom:1.0

from the specified remote repositories:
  Mojo Repository (http://repository.codehaus.org),
  Maven Snapshots (http://snapshots.maven.codehaus.org/maven2),
  central (http://repo1.maven.org/maven2),
  codehaus (http://repository.codehaus.org),
  snapshots (http://snapshots.maven.codehaus.org/maven2)
--
View this message in context: 
http://www.nabble.com/Can%27t-get-jni-working-based-on-example-configuration-t1825144.html#a5032190
Sent from the Maven - Users forum at Nabble.com.


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

Reply via email to