build-test-data-2.0.3 を使用する grails 2.1 アプリを Mavenize しようとしていますが、何らかの理由で grails.test.mixin.support.* をインポートできません。
スコープに関係があると思ったので、別のスコープを試しましたが、役に立ちませんでした。
私の仮定は grails.test.mixin.support で、他の要件は既に grails コアと共にダウンロードされています。このプラグインに特定の依存関係を追加する必要がありますか?
ありがとう
私が得ているエラーは次のとおりです。
package grails.test.mixin.support does not exist
問題を作成するために必要なことは次のとおりです。
1-アプリ作成デルメ
2- build-test-plugin の追加
3- create-pom com.company
4- mvn インストール
これはpomでの私の依存関係です:
<dependency>
<groupId>org.grails.plugins</groupId>
<artifactId>build-test-data</artifactId>
<version>2.0.3</version>
<scope>compile</scope>
<type>zip</type>
</dependency>
ビルド構成:
plugins {
runtime ":hibernate:$grailsVersion"
runtime ":jquery:1.7.2"
runtime ":resources:1.1.6"
// Uncomment these (or add new ones) to enable additional resources capabilities
//runtime ":zipped-resources:1.0"
//runtime ":cached-resources:1.0"
//runtime ":yui-minify-resources:0.1.4"
build ":tomcat:$grailsVersion"
runtime ":database-migration:1.1"
compile ':cache:1.0.0'
}