Package list libjdom2-intellij-java / 306eeca
Adjust the packaging to use Gradle Andrej Shadura 2 years ago
14 changed file(s) with 128 addition(s) and 151 deletion(s). Raw diff Collapse all Expand all
+0
-10
debian/ant.properties less more
0 compile.source=1.6
1 compile.target=1.6
2
3 version=2.x
4
5 isorelax.jar = /usr/share/java/isorelax.jar
6 jaxen.jar = /usr/share/java/jaxen.jar
7 junit.jar = /usr/share/java/junit4.jar
8 parser.jar = /usr/share/java/xercesImpl.jar
9 xalan.jar = /usr/share/java/xalan2.jar
0 libjdom2-intellij-java (2.0.6+git20180529-1) UNRELEASED; urgency=medium
1
2 *
3
4 -- Andrej Shadura <andrewsh@debian.org> Tue, 30 Oct 2018 23:09:18 +0100
5
06 libjdom2-java (2.0.6-1) unstable; urgency=medium
17
28 * New upstream release
0 Source: libjdom2-java
0 Source: libjdom2-intellij-java
11 Section: java
22 Priority: optional
33 Maintainer: Debian Java Maintainers <pkg-java-maintainers@lists.alioth.debian.org>
4 Uploaders: Emmanuel Bourg <ebourg@apache.org>
4 Uploaders:
5 Andrej Shadura <andrewsh@debian.org>,
6 Emmanuel Bourg <ebourg@apache.org>,
7 Saif Abdul Cassim <saif.15@cse.mrt.ac.lk>
58 Build-Depends: ant, ant-optional, debhelper (>= 9), default-jdk
69 Build-Depends-Indep: javahelper,
710 junit4,
1114 libxerces2-java,
1215 maven-repo-helper (>= 1.5)
1316 Standards-Version: 3.9.5
14 Vcs-Git: https://salsa.debian.org/java-team/libjdom2-java.git
15 Vcs-Browser: https://salsa.debian.org/java-team/libjdom2-java
16 Homepage: http://jdom.org
17 Vcs-Git: https://salsa.debian.org/java-team/libjdom2-intellij-java.git
18 Vcs-Browser: https://salsa.debian.org/java-team/libjdom2-intellij-java
19 Homepage: https://github.com/JetBrains/intellij-deps-jdom
1720
18 Package: libjdom2-java
21 Package: libjdom2-intellij-java
1922 Architecture: all
2023 Depends: libjaxen-java, ${misc:Depends}
21 Suggests: libjdom2-java-doc
22 Description: lightweight and fast library using XML
23 JDOM is, quite simply, a Java representation of an XML document. JDOM
24 provides a way to represent that document for easy and efficient
25 reading, manipulation, and writing. It has a straightforward API, is
26 lightweight and fast, and is optimized for the Java programmer. It's
27 an alternative to DOM and SAX, although it integrates well with both
28 DOM and SAX.
29
30 Package: libjdom2-java-doc
31 Architecture: all
32 Section: doc
33 Depends: ${misc:Depends}
34 Suggests: libjdom2-java
35 Description: lightweight and fast library using XML - documentation
24 Suggests: libjdom2-intellij-java-doc
25 Description: lightweight and fast XML DOM library (IntelliJ version)
3626 JDOM is, quite simply, a Java representation of an XML document. JDOM
3727 provides a way to represent that document for easy and efficient
3828 reading, manipulation, and writing. It has a straightforward API, is
4030 an alternative to DOM and SAX, although it integrates well with both
4131 DOM and SAX.
4232 .
43 This package contains API documentation (Javadoc) of libjdom2-java.
33 This is a patched versions of JDOM project which is used in IntelliJ
34 Platform. It is based on the JDOM 2.0.x branch and patched to restore
35 compatibility with JDOM 1.1.
36
37 Package: libjdom2-intellij-java-doc
38 Architecture: all
39 Section: doc
40 Depends: ${misc:Depends}
41 Suggests: libjdom2-intellij-java
42 Description: documentation for IntelliJ version of JDOM2 library
43 JDOM is, quite simply, a Java representation of an XML document. JDOM
44 provides a way to represent that document for easy and efficient
45 reading, manipulation, and writing. It has a straightforward API, is
46 lightweight and fast, and is optimized for the Java programmer. It's
47 an alternative to DOM and SAX, although it integrates well with both
48 DOM and SAX.
49 .
50 This is a patched versions of JDOM project which is used in IntelliJ
51 Platform. It is based on the JDOM 2.0.x branch and patched to restore
52 .
53 This package contains API documentation (Javadoc) of libjdom2-intellij-java.
0 Document: libjdom2-intellij-java
1 Title: Programmer API for jdom release 2.0
2 Author: http://www.jdom.org/
3 Abstract: Programmer API of the JDOM 2.0 release a
4 lightweight and fast XML library.
5 Section: Programming
6
7 Format: HTML
8 Index: /usr/share/doc/libjdom2-intellij-java/api/index.html
9 Files: /usr/share/doc/libjdom2-intellij-java/api/*
0 core/build/docs/javadoc/* /usr/share/doc/libjdom2-intellij-java/api/
0 debian/pom.xml --no-parent --has-package-version --java-lib --usj-name=jdom2-intellij --artifact=core/build/libs/jdom.jar
+0
-10
debian/libjdom2-java-doc.doc-base less more
0 Document: libjdom2-java
1 Title: Programmer API for jdom release 2.0
2 Author: http://www.jdom.org/
3 Abstract: Programmer API of the JDOM 2.0 release a
4 lightweight and fast XML library.
5 Section: Programming
6
7 Format: HTML
8 Index: /usr/share/doc/libjdom2-java/api/index.html
9 Files: /usr/share/doc/libjdom2-java/api/*
+0
-1
debian/libjdom2-java-doc.install less more
0 build/apidocs/* /usr/share/doc/libjdom2-java/api/
+0
-1
debian/libjdom2-java.poms less more
0 debian/pom.xml --no-parent --has-package-version --java-lib --usj-name=jdom2 --artifact=build/package/jdom-2.x.jar
0 /usr/share/java/jdom2.jar:
0 /usr/share/java/jdom2-intellij.jar:
11 Bundle-ManifestVersion: 2
22 Bundle-Name: JDOM XML
33 Bundle-Vendor: jdom.org
44 Bundle-SymbolicName: org.jdom2
5 Bundle-Version: 2.0.5
6 Export-Package: org.jdom2.contrib.beans;version="2.0.5",org.jdom2.internal;version="2.0.5",org.jdom2.output;uses:="org.jdom2.output.support,org.jdom2.internal,org.jdom2.adapters,org.jdom2,org.w3c.dom,org.xml.sax,org.xml.sax.ext,javax.xml.stream,javax.xml.stream.util";version="2.0.5",org.jdom2.contrib.input.scanner;version="2.0.5",org.jdom2.input;uses:="org.jdom2,org.w3c.dom,org.xml.sax,org.jdom2.input.sax,org.jdom2.input.stax,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace";version="2.0.5",org.jdom2.util;uses:="org.jdom2,org.jdom2.internal";version="2.0.5",org.jdom2.transform;uses:="org.xml.sax.ext,org.jdom2,org.xml.sax.helpers,org.xml.sax,org.jdom2.input.sax,javax.xml.transform.sax,org.jdom2.output,javax.xml.transform,javax.xml.transform.stream";version="2.0.5",org.jdom2.contrib.helpers;version="2.0.5",org.jdom2.contrib.input.scanner.doc-files;version="2.0.5",org.jdom2.test;version="2.0.5",org.jdom2.adapters;uses:="org.jdom2,org.w3c.dom,javax.xml.parsers";version="2.0.5",org.jdom2.located;uses:="org.jdom2";version="2.0.5",org.jdom2.xpath.jaxen;uses:="org.jaxen.saxpath,org.jaxen,org.jdom2.input,org.jdom2,org.jaxen.util,org.jdom2.xpath,org.jdom2.xpath.util,org.jdom2.filter";version="2.0.5",org.jdom2.test.cases.special;version="2.0.5",org.jdom2.input.stax;uses:="org.jdom2";version="2.0.5",org.jdom2.contrib.dom;version="2.0.5",org.jdom2.contrib.ids;version="2.0.5",org.jdom2.output.support;uses:="org.jdom2,org.jdom2.output,org.jdom2.util,org.w3c.dom,org.jdom2.internal,org.xml.sax.ext,org.xml.sax.helpers,org.xml.sax,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util";version="2.0.5",org.jdom2.input.sax;uses:="javax.xml.parsers,javax.xml.validation,org.jdom2,org.xml.sax,javax.xml.transform,javax.xml.transform.stream,org.jdom2.input,org.xml.sax.ext,org.xml.sax.helpers,org.jdom2.internal";version="2.0.5",org.jdom2.contrib.input;version="2.0.5",org.jdom2.xpath.util;uses:="org.jdom2,org.jdom2.xpath,org.jdom2.filter";version="2.0.5",org.jdom2;uses:="org.jdom2.internal,org.jdom2.output,org.jdom2.filter,org.jdom2.util";version="2.0.5",org.jdom2.contrib.output;version="2.0.5",org.jdom2.xpath;uses:="org.jdom2,org.jdom2.filter,org.jdom2.internal,org.jdom2.xpath.jaxen";version="2.0.5",org.jdom2.contrib.ids.doc-files;version="2.0.5",org.jdom2.filter;uses:="org.jdom2";version="2.0.5"
5 Bundle-Version: 2.0.6
6 Export-Package: org.jdom2.contrib.beans;version="2.0.6",org.jdom2.internal;version="2.0.6",org.jdom2.output;uses:="org.jdom2.output.support,org.jdom2.internal,org.jdom2.adapters,org.jdom2,org.w3c.dom,org.xml.sax,org.xml.sax.ext,javax.xml.stream,javax.xml.stream.util";version="2.0.6",org.jdom2.contrib.input.scanner;version="2.0.6",org.jdom2.input;uses:="org.jdom2,org.w3c.dom,org.xml.sax,org.jdom2.input.sax,org.jdom2.input.stax,javax.xml.stream,javax.xml.stream.events,javax.xml.namespace";version="2.0.6",org.jdom2.util;uses:="org.jdom2,org.jdom2.internal";version="2.0.6",org.jdom2.transform;uses:="org.xml.sax.ext,org.jdom2,org.xml.sax.helpers,org.xml.sax,org.jdom2.input.sax,javax.xml.transform.sax,org.jdom2.output,javax.xml.transform,javax.xml.transform.stream";version="2.0.6",org.jdom2.contrib.helpers;version="2.0.6",org.jdom2.contrib.input.scanner.doc-files;version="2.0.6",org.jdom2.test;version="2.0.6",org.jdom2.adapters;uses:="org.jdom2,org.w3c.dom,javax.xml.parsers";version="2.0.6",org.jdom2.located;uses:="org.jdom2";version="2.0.6",org.jdom2.xpath.jaxen;uses:="org.jaxen.saxpath,org.jaxen,org.jdom2.input,org.jdom2,org.jaxen.util,org.jdom2.xpath,org.jdom2.xpath.util,org.jdom2.filter";version="2.0.6",org.jdom2.test.cases.special;version="2.0.6",org.jdom2.input.stax;uses:="org.jdom2";version="2.0.6",org.jdom2.contrib.dom;version="2.0.6",org.jdom2.contrib.ids;version="2.0.6",org.jdom2.output.support;uses:="org.jdom2,org.jdom2.output,org.jdom2.util,org.w3c.dom,org.jdom2.internal,org.xml.sax.ext,org.xml.sax.helpers,org.xml.sax,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util";version="2.0.6",org.jdom2.input.sax;uses:="javax.xml.parsers,javax.xml.validation,org.jdom2,org.xml.sax,javax.xml.transform,javax.xml.transform.stream,org.jdom2.input,org.xml.sax.ext,org.xml.sax.helpers,org.jdom2.internal";version="2.0.6",org.jdom2.contrib.input;version="2.0.6",org.jdom2.xpath.util;uses:="org.jdom2,org.jdom2.xpath,org.jdom2.filter";version="2.0.6",org.jdom2;uses:="org.jdom2.internal,org.jdom2.output,org.jdom2.filter,org.jdom2.util";version="2.0.6",org.jdom2.contrib.output;version="2.0.6",org.jdom2.xpath;uses:="org.jdom2,org.jdom2.filter,org.jdom2.internal,org.jdom2.xpath.jaxen";version="2.0.6",org.jdom2.contrib.ids.doc-files;version="2.0.6",org.jdom2.filter;uses:="org.jdom2";version="2.0.6"
77 Import-Package: javax.xml.namespace,javax.xml.parsers,javax.xml.stream,javax.xml.stream.events,javax.xml.stream.util,javax.xml.transform,javax.xml.transform.sax,javax.xml.transform.stream,javax.xml.validation,oracle.xml.parser;resolution:=optional,oracle.xml.parser.v2;resolution:=optional,org.apache.xerces.dom;resolution:=optional,org.apache.xerces.parsers;resolution:=optional,org.jaxen;resolution:=optional,org.jaxen.saxpath;resolution:=optional,org.jaxen.util;resolution:=optional,org.jdom;version="1.1",org.jdom.adapters;version="1.1",org.jdom.filter;version="1.1",org.jdom.input;version="1.1",org.jdom.output;version="1.1",org.jdom.transform;version="1.1",org.jdom.xpath;version="1.1",org.w3c.dom,org.xml.sax,org.xml.sax.ext,org.xml.sax.helpers
00 s/xerces/xml-apis/ s/xmlParserAPIs/xml-apis/ jar s/.*/debian/
1 junit junit * s/.*/4.x/ * *
+0
-23
debian/orig-tar.sh less more
0 #!/bin/sh -e
1
2 VERSION=$(echo $2)
3 TAR=../libjdom2-java_${VERSION}.orig.tar.xz
4 DIR=jdom-JDOM-*
5
6 tar xvf $3
7 rm $3
8 XZ_OPT=--best tar -c -J -f $TAR \
9 --exclude '*.jar' \
10 --exclude '.gitignore' \
11 --exclude 'hamlet.xml' \
12 --exclude 'core/samples/catalog.xml' \
13 --exclude 'core/samples/catalog.xsl' \
14 $DIR
15 rm -rf $DIR
16
17 # move to directory 'tarballs'
18 if [ -r .svn/deb-layout ]; then
19 . .svn/deb-layout
20 mv $TAR $origDir
21 echo "moved $TAR to $origDir"
22 fi
00 <project>
11 <modelVersion>4.0.0</modelVersion>
2 <groupId>org.jdom</groupId>
3 <artifactId>jdom2</artifactId>
2 <groupId>org.jetbrains.intellij.deps</groupId>
3 <artifactId>jdom</artifactId>
44 <packaging>jar</packaging>
55
6 <name>JDOM</name>
7 <version>2.0.5</version>
6 <name>IntelliJ JDOM</name>
7 <version>2.0.6</version>
88
99 <description>
1010 A complete, Java-based solution for accessing, manipulating,
11 and outputting XML data
11 and outputting XML data.
12 This is a patched versions of JDOM project which is used in IntelliJ Platform.
13 It's based on JDOM 2.0.x version and patched to restore compatibility with JDOM 1.1.
1214 </description>
1315 <url>http://www.jdom.org</url>
1416
3234 <distribution>repo</distribution>
3335 <comments xml:space="preserve"><![CDATA[
3436
35 /*--
36
37 Copyright (C) 2000-2012 Jason Hunter & Brett McLaughlin.
38 All rights reserved.
39
40 Redistribution and use in source and binary forms, with or without
41 modification, are permitted provided that the following conditions
42 are met:
43
44 1. Redistributions of source code must retain the above copyright
45 notice, this list of conditions, and the following disclaimer.
46
47 2. Redistributions in binary form must reproduce the above copyright
48 notice, this list of conditions, and the disclaimer that follows
49 these conditions in the documentation and/or other materials
50 provided with the distribution.
51
52 3. The name "JDOM" must not be used to endorse or promote products
53 derived from this software without prior written permission. For
54 written permission, please contact <request_AT_jdom_DOT_org>.
55
56 4. Products derived from this software may not be called "JDOM", nor
57 may "JDOM" appear in their name, without prior written permission
58 from the JDOM Project Management <request_AT_jdom_DOT_org>.
59
60 In addition, we request (but do not require) that you include in the
61 end-user documentation provided with the redistribution and/or in the
62 software itself an acknowledgement equivalent to the following:
63 "This product includes software developed by the
64 JDOM Project (http://www.jdom.org/)."
65 Alternatively, the acknowledgment may be graphical using the logos
66 available at http://www.jdom.org/images/logos.
67
68 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
69 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
70 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
71 DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT
72 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
73 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
74 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
75 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
76 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
77 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
78 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
79 SUCH DAMAGE.
80
81 This software consists of voluntary contributions made by many
82 individuals on behalf of the JDOM Project and was originally
83 created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
84 Brett McLaughlin <brett_AT_jdom_DOT_org>. For more information
85 on the JDOM Project, please see <http://www.jdom.org/>.
86
87 */
88
37 /*--
38
39 Copyright (C) 2000-2012 Jason Hunter & Brett McLaughlin.
40 All rights reserved.
41
42 Redistribution and use in source and binary forms, with or without
43 modification, are permitted provided that the following conditions
44 are met:
45
46 1. Redistributions of source code must retain the above copyright
47 notice, this list of conditions, and the following disclaimer.
48
49 2. Redistributions in binary form must reproduce the above copyright
50 notice, this list of conditions, and the disclaimer that follows
51 these conditions in the documentation and/or other materials
52 provided with the distribution.
53
54 3. The name "JDOM" must not be used to endorse or promote products
55 derived from this software without prior written permission. For
56 written permission, please contact <request_AT_jdom_DOT_org>.
57
58 4. Products derived from this software may not be called "JDOM", nor
59 may "JDOM" appear in their name, without prior written permission
60 from the JDOM Project Management <request_AT_jdom_DOT_org>.
61
62 In addition, we request (but do not require) that you include in the
63 end-user documentation provided with the redistribution and/or in the
64 software itself an acknowledgement equivalent to the following:
65 "This product includes software developed by the
66 JDOM Project (http://www.jdom.org/)."
67 Alternatively, the acknowledgment may be graphical using the logos
68 available at http://www.jdom.org/images/logos.
69
70 THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
71 WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
72 OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
73 DISCLAIMED. IN NO EVENT SHALL THE JDOM AUTHORS OR THE PROJECT
74 CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
75 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
76 LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
77 USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
78 ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
79 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
80 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
81 SUCH DAMAGE.
82
83 This software consists of voluntary contributions made by many
84 individuals on behalf of the JDOM Project and was originally
85 created by Jason Hunter <jhunter_AT_jdom_DOT_org> and
86 Brett McLaughlin <brett_AT_jdom_DOT_org>. For more information
87 on the JDOM Project, please see <http://www.jdom.org/>.
88
89 */
90
8991
9092
9193 ]]></comments>
115117 <dependency>
116118 <groupId>jaxen</groupId>
117119 <artifactId>jaxen</artifactId>
118 <version>1.1.4</version>
120 <version>1.1.6</version>
119121 <optional>true</optional>
120122 </dependency>
121123 <dependency>
122124 <groupId>xerces</groupId>
123125 <artifactId>xercesImpl</artifactId>
124 <version>2.10.0</version>
126 <version>2.11.0</version>
125127 <optional>true</optional>
126128 </dependency>
127129 <dependency>
128130 <groupId>xalan</groupId>
129131 <artifactId>xalan</artifactId>
130 <version>2.7.1</version>
132 <version>2.7.2</version>
131133 <optional>true</optional>
132134 </dependency>
133135
136138 <properties>
137139 <jdk.version>1.5</jdk.version>
138140 </properties>
139 </project>
141 </project>
00 #!/usr/bin/make -f
11
2 VERSION := $(shell dpkg-parsechangelog | grep ^Version: | cut -d' ' -f2 | cut -d'-' -f1)
3 UPSTREAM_VERSION := $(shell echo "$(VERSION)" | sed 's/+dfsg//')
2 %:
3 dh $@ --buildsystem=gradle --with maven-repo-helper
44
5 JAVA_HOME := /usr/lib/jvm/default-java
6 ANT_ARGS := -propertyfile debian/ant.properties
7 ANT := JAVA_HOME=$(JAVA_HOME) ant $(ANT_ARGS)
8
9 %:
10 dh $@ --buildsystem=ant --with maven_repo_helper,javahelper
5 override_dh_auto_clean:
6 -[ -f contrib/build.gradle ] && mv -f contrib/build.gradle.orig contrib/build.gradle
7 dh_auto_clean
118
129 override_dh_auto_build:
13 $(ANT) jars junit
14
15 override_dh_auto_clean:
16 rm -Rf build
17
18 get-orig-source:
19 -uscan --download-version $(UPSTREAM_VERSION) --force-download --rename
20
21 get-orig-pom:
22 wget -U '' -O debian/pom.xml http://repo1.maven.org/maven2/org/jdom/jdom2/$(UPSTREAM_VERSION)/jdom2-$(UPSTREAM_VERSION).pom
10 cp contrib/build.gradle contrib/build.gradle.orig
11 echo "sourceCompatibility = '1.7'" >> contrib/build.gradle
12 echo "targetCompatibility = '1.7'" >> contrib/build.gradle
13 dh_auto_build -- assemble javaDoc