Sean Schofield wrote:
OK I am cautiously wading into the "Maven" waters ...

I'm having trouble using the standalone Struts in an m2 project.  Here
is the dependency I am using:

    <dependency>
        <groupId>struts</groupId>
        <artifactId>struts-tiles</artifactId>
        <version>1.1</version>
        <scope>compile</scope>
    </dependency>

Here is the result:

Reason: Unable to download the artifact from any repository
  struts:struts-tiles:1.1:jar

from the specified remote repositories:
  central (http://repo1.maven.org/maven2)

Any ideas?

I'm no maven expert, but for cases where the dependency is on a jar that hasn't been published anywhere (which is the case for struts-tiles I believe), I believe you can insert it manually into your local maven cache. Dir ~/.maven-repository is the right dir on unix I believe (working from memory here).

Regards,

Simon

Reply via email to