私はmavenを使ってスカラプロジェクトを持っています。私がスカラクラスだけを使用していたとき、mavenプラグインに問題はありませんでした。 しかし、コンパイルしようとすると、今、私はエラーを取得しています:maven-pluginを使用したスカラは統一性を見つけることができません
[WARNING] C:\ Javaの\ワークスペース\ mcare \ SRC \メイン\スカラ\ COM \ FB \ mcare \ CONFIG \ AppConfig.scala:2:エラー:
http://maven.apache.org/maven:オブジェクトspringframeworkは
package com.fb.mcare.config
import org.springframework.context.annotation.Configuration
@Configuration
class AppConfig {
}
私のポンポンパッケージ組織 [WARNING]輸入org.springframework.context.annotation.Configurationのメンバーではありません-v4_0_0.xsd "> 4.0.0 com.fb mcare 0。 0.1-SNAPSHOT 2.9.1-1 3.1.0.RELEASE 戦争 scala-tools.org スカーラ - ツールMaven2をリポジトリ http://scala-tools.org/repo-releases com.springsource.repository.maven.release http://maven.springframework.org/release/ 偽
<pluginRepositories>
<pluginRepository>
<id>scala-tools.org</id>
<name>Scala-Tools Maven2 Repository</name>
<url>http://scala-tools.org/repo-releases</url>
</pluginRepository>
</pluginRepositories>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webmvc</artifactId>
<version>${spring.version}</version>
<scope>runtime</scope>
</dependency>
<dependency>
<groupId>org.scala-lang</groupId>
<artifactId>scala-library</artifactId>
<version>${scala.version}</version>
</dependency>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>4.4</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.specs</groupId>
<artifactId>specs</artifactId>
<version>1.2.5</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.geronimo.specs</groupId>
<artifactId>geronimo-servlet_3.0_spec</artifactId>
<version>1.0</version>
<scope>provided</scope>
</dependency>
</dependencies>
<build>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<version>2.9.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.0.2</version>
</plugin>
</plugins>
</pluginManagement>
<plugins>
<plugin>
<groupId>org.scala-tools</groupId>
<artifactId>maven-scala-plugin</artifactId>
<executions>
<execution>
<id>scala-compile-first</id>
<phase>process-resources</phase>
<goals>
<goal>add-source</goal>
<goal>compile</goal>
</goals>
</execution>
<execution>
<id>scala-test-compile</id>
<phase>process-test-resources</phase>
<goals>
<goal>testCompile</goal>
</goals>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<executions>
<execution>
<phase>compile</phase>
<goals>
<goal>compile</goal>
</goals>
</execution>
</executions>
</plugin>
</plugins>
</build>
私はここで何が欠けていますか?
よろしく