Reputation: 2454
I've found a guide to add scala support to a maven project in this link -> http://stuq.nl/weblog/2008-11-26/4-steps-to-add-scala-to-your-maven-java-projects
However, the repositories doesn't exist anymore.
Is there anoter way to add scala support to a maven project? How can can it be done?
Upvotes: 0
Views: 197
Reputation: 3675
Scala Tools is no more.
Instead try using the scala-maven-plugin:
From their documentation, here is what is needed to get started:
<build>
<sourceDirectory>src/main/scala</sourceDirectory>
<testSourceDirectory>src/test/scala</testSourceDirectory>
<plugins>
<plugin>
<groupId>net.alchim31.maven</groupId>
<artifactId>scala-maven-plugin</artifactId>
<version>3.1.5</version>
</plugin>
</plugins>
</build>
Upvotes: 3
Reputation: 9705
Use Sonatype's repository and net.alchim31.maven
for scala-maven-plugin
groupId
instead.
Upvotes: 2