1

I am using the IntelliJ IDEA on a mac and want to import Apache Velocity. In my pom.xml file:

<dependencies>
    <!-- https://mvnrepository.com/artifact/org.apache.velocity/velocity -->
    <dependency>
        <groupId>org.apache.velocity</groupId>
        <artifactId>velocity</artifactId>
        <version>1.7</version>
    </dependency>
</dependencies>

I am getting the error

Failed to read artifact descriptor for org.apache.velocity:jar:1.7

Are there other settings that I need to add?

Rgfvfk Iff
  • 1,549
  • 2
  • 23
  • 47

1 Answers1

0

It is a fresh install of Itellij Idea and I had to set the following:

IntelliJ Idea -> Preferences -> Build, Execution, Deployment -> 
Build Tools -> Maven -> Always update snapshots -> Apply -> Ok

Of course you can just download the jar file and import it as a module instead.

Rgfvfk Iff
  • 1,549
  • 2
  • 23
  • 47