提交 7e4863fb 编写于 作者: K Kohsuke Kawaguchi

A build failure was reported, whose root cause is that the central...

A build failure was reported, whose  root cause is that the central (http://repo2.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.pom) and the source of the repository (http://maven.glassfish.org/content/groups/public/javax/mail/mail/1.4/mail-1.4.pom) have different POMs. So if your local repository was pre-populated with JavaMail from central you get this error.

Relaxing a rule a bit.

Also see https://github.com/cloudbees/maven-license-plugin/pull/1
上级 bd0c9373
......@@ -22,8 +22,11 @@ complete {
// GlassFish components are dual-licensed between CDDL and GPL+Classpath Exception
// we elect to take them under CDDL.
// note that central has a different POM from m.g.o-public (http://repo2.maven.org/maven2/javax/mail/mail/1.4/mail-1.4.pom
// vs http://maven.glassfish.org/content/groups/public/javax/mail/mail/1.4/mail-1.4.pom), so we aren't using rewriteLicense here
match(["javax.mail:*","org.jvnet.hudson:activation","org.jvnet:tiger-types","javax.servlet:jstl"]) {
rewriteLicense([], cddl)
if (dependency.licenses.isEmpty())
dependency.licenses=[cddl]
}
match("antlr:*") {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册