do not use the whole batik lib - use batik-transcoder (well, due not good design it is not possible to use only svg decoder and full in non-util modules)

GitOrigin-RevId: 018fe446fca0c441bb99b149dee1aee2a6deb29d
This commit is contained in:
Vladimir Krivosheev
2019-05-21 21:07:26 +03:00
committed by intellij-monorepo-bot
parent 0b0c7e6f77
commit a276f51a07
8 changed files with 58 additions and 36 deletions
-10
View File
@@ -1,10 +0,0 @@
<component name="libraryTable">
<library name="batik" type="repository">
<properties include-transitive-deps="false" maven-id="org.apache.xmlgraphics:batik-all:1.11" />
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-all/1.11/batik-all-1.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>
+48
View File
@@ -0,0 +1,48 @@
<component name="libraryTable">
<library name="batik-transcoder" type="repository">
<properties maven-id="org.apache.xmlgraphics:batik-transcoder:1.11">
<exclude>
<dependency maven-id="org.apache.xmlgraphics:xmlgraphics-commons" />
<dependency maven-id="org.apache.xmlgraphics:batik-script" />
<dependency maven-id="xalan:xalan" />
<dependency maven-id="xml-apis:xml-apis" />
<dependency maven-id="xml-apis:xml-apis-ext" />
</exclude>
</properties>
<CLASSES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-transcoder/1.11/batik-transcoder-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-anim/1.11/batik-anim-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-css/1.11/batik-css-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-ext/1.11/batik-ext-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-parser/1.11/batik-parser-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-svg-dom/1.11/batik-svg-dom-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-awt-util/1.11/batik-awt-util-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-bridge/1.11/batik-bridge-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-dom/1.11/batik-dom-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-gvt/1.11/batik-gvt-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-svggen/1.11/batik-svggen-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-util/1.11/batik-util-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-constants/1.11/batik-constants-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-i18n/1.11/batik-i18n-1.11.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-xml/1.11/batik-xml-1.11.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES>
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-transcoder/1.11/batik-transcoder-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-anim/1.11/batik-anim-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-css/1.11/batik-css-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-ext/1.11/batik-ext-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-parser/1.11/batik-parser-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-svg-dom/1.11/batik-svg-dom-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-awt-util/1.11/batik-awt-util-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-bridge/1.11/batik-bridge-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-dom/1.11/batik-dom-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-gvt/1.11/batik-gvt-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-svggen/1.11/batik-svggen-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-util/1.11/batik-util-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-constants/1.11/batik-constants-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-i18n/1.11/batik-i18n-1.11-sources.jar!/" />
<root url="jar://$MAVEN_REPOSITORY$/org/apache/xmlgraphics/batik-xml/1.11/batik-xml-1.11-sources.jar!/" />
</SOURCES>
</library>
</component>
@@ -131,8 +131,10 @@ class CommunityLibraryLicenses {
url: "http://joel-costigliola.github.io/assertj/", licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt"),
new LibraryLicense(name: "Automaton", libraryName: "automaton", version: "1.12-1", license: "BSD",
url: "http://www.brics.dk/automaton/", licenseUrl: "http://www.opensource.org/licenses/bsd-license.php"),
new LibraryLicense(name: "batik", libraryName: "batik", version: "1.9.1", license: "Apache 2.0",
new LibraryLicense(name: "batik", libraryName: "batik-transcoder", version: "1.11", license: "Apache 2.0",
licenseUrl: "http://www.apache.org/licenses/LICENSE-2.0.txt", url: "https://xmlgraphics.apache.org/batik/"),
new LibraryLicense(name: "bouncy-castle", version: "1.59", license: "MIT License", url: "http://bouncycastle.org",
licenseUrl: "http://bouncycastle.org/licence.html"),
new LibraryLicense(name: "bouncy-castle-provider", version: "1.59", license: "MIT License", url: "http://bouncycastle.org",
@@ -36,9 +36,9 @@
<orderEntry type="library" scope="TEST" name="snakeyaml" level="project" />
<orderEntry type="library" name="jna" level="project" />
<orderEntry type="library" scope="TEST" name="miglayout-swing" level="project" />
<orderEntry type="library" scope="TEST" name="batik" level="project" />
<orderEntry type="library" scope="TEST" name="xmlgraphics-commons" level="project" />
<orderEntry type="module" module-name="intellij.configurationScript" scope="TEST" />
<orderEntry type="module" module-name="intellij.platform.objectSerializer.tests" scope="TEST" />
<orderEntry type="library" scope="TEST" name="batik-transcoder" level="project" />
</component>
</module>
+1 -1
View File
@@ -22,11 +22,11 @@
<orderEntry type="library" name="OroMatcher" level="project" />
<orderEntry type="library" name="imgscalr" level="project" />
<orderEntry type="library" name="xmlgraphics-commons" level="project" />
<orderEntry type="library" name="batik" level="project" />
<orderEntry type="library" name="lz4-java" level="project" />
<orderEntry type="library" name="xml-apis-ext" level="project" />
<orderEntry type="library" name="commons-compress" level="project" />
<orderEntry type="library" name="Java Compatibility" level="project" />
<orderEntry type="library" name="batik-transcoder" level="project" />
</component>
<component name="copyright">
<Base>
@@ -0,0 +1,5 @@
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.apache.batik.script;
public final class InterpreterPool {
}
@@ -1,17 +0,0 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.apache.batik.script.rhino;
import org.apache.batik.script.ImportInfo;
import java.net.URL;
// A workaround for the class rename in Batik 1.10
public class RhinoInterpreter extends org.apache.batik.bridge.RhinoInterpreter {
public RhinoInterpreter(URL documentURL) {
super(documentURL);
}
public RhinoInterpreter(URL documentURL, ImportInfo imports) {
super(documentURL, imports);
}
}
@@ -1,6 +0,0 @@
// Copyright 2000-2018 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
package org.apache.batik.script.rhino;
// A workaround for the class rename in Batik 1.10
public class RhinoInterpreterFactory extends org.apache.batik.bridge.RhinoInterpreterFactory {
}