参考:http://grails.1312388.n4.nabble.com/Installing-quot-mail-quot-plugin-fails-td3245058.html
Unfortunately that doesn't make any difference at the moment, because Grails
is not using org.springframework:spring-test, it uses the EBR variant
org.springframework:org.springframework.test. So you still will get both
dependencies because the name is different.
See
http://jira.codehaus.org/browse/GRAILS
-6996
Best solution atm would probably be to
exclude spring-test from the mail
plugin
. The documentation is a little vague[1
] on this, but I guess this will do the trick (under plugins
in BuildConfig.groovy):
runtime( ':mail
:1
.0
-SNAPSHOT
' ) {
excludes "spring-test"
}
[1
] can you exclude jar dependencies from plugins
, or just exclude transitive plugins
? The documentation, chapter 3.7.10
, only shows example of the latter, but says you can do both.
解决:file:///XXXXProject/grails-app/conf/BuildConfig.groovy
dependencies {
// specify dependencies here under either 'build', 'compile', 'runtime', 'test' or 'provided' scopes eg.
// runtime 'mysql:mysql-connector-java:5.1.13'
runtime( ':mail:1.0-SNAPSHOT' ) {
excludes "spring-test"
}
}
分享到:
相关推荐
首先,"fine-plugin-com.fr.plugin.reset.userpasswd-1.0.zip"是一个包含特定功能插件的压缩包,其核心文件有"fine-plugin-com.fr.plugin.reset.userpasswd-1.0.jar"和"plugin.xml"。这个插件是专门为帆软Finereport...
sonar-jacoco-plugin-1.0.2.475.jar sonar-java-plugin-5.14.0.18788.jar sonar-javascript-plugin-5.2.1.7778.jar sonar-kotlin-plugin-1.5.0.315.jar sonar-l10n-zh-plugin-1.29.jar sonar-ldap-plugin-2.2.0.608....
赠送jar包:spring-plugin-core-2.0.0.RELEASE.jar; 赠送原API文档:spring-plugin-core-2.0.0.RELEASE-javadoc.jar; 赠送源代码:spring-plugin-core-2.0.0.RELEASE-sources.jar; 赠送Maven依赖信息文件:spring...
maven-theme-plugin-1.0.38-sources.jar
maven-theme-plugin-1.0.35-sources.jar
maven-theme-plugin-1.0.34-sources.jar
maven-theme-plugin-1.0.33-sources.jar
maven-theme-plugin-1.0.30-sources.jar
maven-impex-plugin-1.0.30-sources.jar
maven-eoa-plugin-1.0.0.3-sources.jar
maven-eoa-plugin-1.0.0.2-sources.jar
maven-eoa-plugin-1.0.0.1-sources.jar
maven-eoa-plugin-1.0.0.0-sources.jar
backport-util-concurrent-3.1.jar 和 geronimo-stax-api_1.0_spec-1.0.1.jar 复制到 MyEclipse 6.5\eclipse\plugins\Axis2_Codegen_Wizard_1.3.0\lib 文件夹下。 (3).注册此 jar 包: 修改MyEclipse 6.5\eclipse...
该插件为kettle 自定义插件,基于kettle 8.2.0开发。该插件基于jsonpath可以做到对JSON 字符串中的字段提取,key值替换...使用步骤:将jar包放到data-integration\plugins\steps 下,载kettle 的转换中就可以看到使用。
赠送jar包:spring-plugin-metadata-2.0.0.RELEASE.jar; 赠送原API文档:spring-plugin-metadata-2.0.0.RELEASE-javadoc.jar; 赠送源代码:spring-plugin-metadata-2.0.0.RELEASE-sources.jar; 赠送Maven依赖信息...
struts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jarstruts2-spring-plugin-2.3.15.2.jar ; struts2-json-plugin-2.3.16.3.jar
而`as3-plugin-utils-1.0.RC3.jar.zip`正是针对AS3开发者的一款重要工具包,它包含了`as3-plugin-utils-1.0.RC3.jar`和`License.txt`两个文件,旨在提供方便、高效的插件处理功能。 首先,`as3-plugin-utils-1.0.RC...
maven-emfgen-plugin-1.0-beta-2.jar
maven-emfgen-plugin-1.0-beta-1.jar