Package list libslf4j-java / 23ed4d4
Build with maven-debian-helper Emmanuel Bourg 5 years ago
9 changed file(s) with 68 addition(s) and 316 deletion(s). Raw diff Collapse all Expand all
+0
-33
debian/ant.properties less more
0 project.name=libslf4j-java
1 class.dir=classes
2 source.dir=src/main/java
3 test.dir=test
4 test.source.dir=src/test/java
5 test.class.dir=test/classes
6 test.res.dir=test/results
7 test.resource.dir=src/test/resources
8
9 jcl-over-slf4j.dir=jcl-over-slf4j
10 jul-to-slf4j.dir=jul-to-slf4j
11 log4j-over-slf4j.dir=log4j-over-slf4j
12 slf4j-api.dir=slf4j-api
13 slf4j-jcl.dir=slf4j-jcl
14 slf4j-jdk14.dir=slf4j-jdk14
15 slf4j-log4j12.dir=slf4j-log4j12
16 slf4j-nop.dir=slf4j-nop
17 slf4j-simple.dir=slf4j-simple
18 slf4j-migrator.dir=slf4j-migrator
19 slf4j-ext.dir=slf4j-ext
20
21 jcl-over-slf4j.jar=jcl-over-slf4j.jar
22 jul-to-slf4j.jar=jul-to-slf4j.jar
23 log4j-over-slf4j.jar=log4j-over-slf4j.jar
24 slf4j-api.jar=slf4j-api.jar
25 slf4j-api-test.jar=slf4j-api-test.jar
26 slf4j-jcl.jar=slf4j-jcl.jar
27 slf4j-jdk14.jar=slf4j-jdk14.jar
28 slf4j-log4j12.jar=slf4j-log4j12.jar
29 slf4j-nop.jar=slf4j-nop.jar
30 slf4j-simple.jar=slf4j-simple.jar
31 slf4j-migrator.jar=slf4j-migrator.jar
32 slf4j-ext.jar=slf4j-ext.jar
+0
-233
debian/build.xml less more
0 <?xml version="1.0" encoding="UTF-8"?>
1
2 <project default="jar" name="${project.name}" basedir="..">
3
4 <target name="clean">
5 <delete dir="${jcl-over-slf4j.dir}/${class.dir}" quiet="true"/>
6 <delete dir="${jul-to-slf4j.dir}/${class.dir}" quiet="true"/>
7 <delete dir="${log4j-over-slf4j.dir}/${class.dir}" quiet="true"/>
8 <delete dir="${slf4j-api.dir}/${class.dir}" quiet="true"/>
9 <delete dir="${slf4j-jcl.dir}/${class.dir}" quiet="true"/>
10 <delete dir="${slf4j-jdk14.dir}/${class.dir}" quiet="true"/>
11 <delete dir="${slf4j-log4j12.dir}/${class.dir}" quiet="true"/>
12 <delete dir="${slf4j-nop.dir}/${class.dir}" quiet="true"/>
13 <delete dir="${slf4j-simple.dir}/${class.dir}" quiet="true"/>
14 <delete dir="${slf4j-migrator.dir}/${class.dir}" quiet="true"/>
15 <!-- <delete dir="${slf4j-ext.dir}/${class.dir}" quiet="true"/> -->
16
17 <delete dir="${jcl-over-slf4j.dir}/${test.dir}" quiet="true"/>
18 <delete dir="${jul-to-slf4j.dir}/${test.dir}" quiet="true"/>
19 <delete dir="${log4j-over-slf4j.dir}/${test.dir}" quiet="true"/>
20 <delete dir="${slf4j-api.dir}/${test.dir}" quiet="true"/>
21 <delete dir="${slf4j-jcl.dir}/${test.dir}" quiet="true"/>
22 <delete dir="${slf4j-jdk14.dir}/${test.dir}" quiet="true"/>
23 <delete dir="${slf4j-log4j12.dir}/${test.dir}" quiet="true"/>
24 <delete dir="${slf4j-nop.dir}/${test.dir}" quiet="true"/>
25 <delete dir="${slf4j-simple.dir}/${test.dir}" quiet="true"/>
26 <delete dir="${slf4j-migrator.dir}/${test.dir}" quiet="true"/>
27
28 <delete file="${jcl-over-slf4j.jar}" quiet="true"/>
29 <delete file="${jul-to-slf4j.jar}" quiet="true"/>
30 <delete file="${log4j-over-slf4j.jar}" quiet="true"/>
31 <delete file="${slf4j-api.jar}" quiet="true"/>
32 <delete file="${slf4j-api-test.jar}" quiet="true"/>
33 <delete file="${slf4j-jcl.jar}" quiet="true"/>
34 <delete file="${slf4j-jdk14.jar}" quiet="true"/>
35 <delete file="${slf4j-log4j12.jar}" quiet="true"/>
36 <delete file="${slf4j-nop.jar}" quiet="true"/>
37 <delete file="${slf4j-simple.jar}" quiet="true"/>
38 <delete file="${slf4j-migrator.jar}" quiet="true"/>
39 <!-- <delete file="${slf4j-ext.jar}" quiet="true"/> -->
40 </target>
41
42 <target name="jar">
43 <mkdir dir="${slf4j-api.dir}/${class.dir}"/>
44 <javac srcdir="${slf4j-api.dir}/${source.dir}" destdir="${slf4j-api.dir}/${class.dir}"
45 debug="true" source="1.5" target="1.5" />
46
47 <jar jarfile="${slf4j-api.jar}">
48 <fileset dir="${slf4j-api.dir}/${class.dir}">
49 <exclude name="**/org/slf4j/impl/**"/>
50 </fileset>
51 </jar>
52
53 <mkdir dir="${slf4j-jcl.dir}/${class.dir}"/>
54 <javac srcdir="${slf4j-jcl.dir}/${source.dir}" destdir="${slf4j-jcl.dir}/${class.dir}"
55 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
56
57 <jar jarfile="${slf4j-jcl.jar}">
58 <fileset dir="${slf4j-jcl.dir}/${class.dir}">
59 <include name="**"/>
60 </fileset>
61 </jar>
62
63 <mkdir dir="${slf4j-jdk14.dir}/${class.dir}"/>
64 <javac srcdir="${slf4j-jdk14.dir}/${source.dir}" destdir="${slf4j-jdk14.dir}/${class.dir}"
65 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
66
67 <jar jarfile="${slf4j-jdk14.jar}">
68 <fileset dir="${slf4j-jdk14.dir}/${class.dir}">
69 <include name="**"/>
70 </fileset>
71 </jar>
72
73 <mkdir dir="${slf4j-log4j12.dir}/${class.dir}"/>
74 <javac srcdir="${slf4j-log4j12.dir}/${source.dir}" destdir="${slf4j-log4j12.dir}/${class.dir}"
75 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
76
77 <jar jarfile="${slf4j-log4j12.jar}">
78 <fileset dir="${slf4j-log4j12.dir}/${class.dir}">
79 <include name="**"/>
80 </fileset>
81 </jar>
82
83 <mkdir dir="${slf4j-nop.dir}/${class.dir}"/>
84 <javac srcdir="${slf4j-nop.dir}/${source.dir}" destdir="${slf4j-nop.dir}/${class.dir}"
85 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
86
87 <jar jarfile="${slf4j-nop.jar}">
88 <fileset dir="${slf4j-nop.dir}/${class.dir}">
89 <include name="**"/>
90 </fileset>
91 </jar>
92
93 <mkdir dir="${slf4j-simple.dir}/${class.dir}"/>
94 <javac srcdir="${slf4j-simple.dir}/${source.dir}" destdir="${slf4j-simple.dir}/${class.dir}"
95 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
96
97 <jar jarfile="${slf4j-simple.jar}">
98 <fileset dir="${slf4j-simple.dir}/${class.dir}">
99 <include name="**"/>
100 </fileset>
101 </jar>
102
103 <mkdir dir="${slf4j-migrator.dir}/${class.dir}"/>
104 <javac srcdir="${slf4j-migrator.dir}/${source.dir}" destdir="${slf4j-migrator.dir}/${class.dir}"
105 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
106
107 <jar jarfile="${slf4j-migrator.jar}">
108 <fileset dir="${slf4j-migrator.dir}/${class.dir}">
109 <include name="**"/>
110 </fileset>
111 </jar>
112
113 <mkdir dir="${jcl-over-slf4j.dir}/${class.dir}"/>
114 <javac srcdir="${jcl-over-slf4j.dir}/${source.dir}" destdir="${jcl-over-slf4j.dir}/${class.dir}"
115 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
116
117 <jar jarfile="${jcl-over-slf4j.jar}">
118 <fileset dir="${jcl-over-slf4j.dir}/${class.dir}">
119 <include name="**"/>
120 </fileset>
121 </jar>
122
123 <mkdir dir="${jul-to-slf4j.dir}/${class.dir}"/>
124 <javac srcdir="${jul-to-slf4j.dir}/${source.dir}" destdir="${jul-to-slf4j.dir}/${class.dir}"
125 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
126
127 <jar jarfile="${jul-to-slf4j.jar}">
128 <fileset dir="${jul-to-slf4j.dir}/${class.dir}">
129 <include name="**"/>
130 </fileset>
131 </jar>
132
133 <mkdir dir="${log4j-over-slf4j.dir}/${class.dir}"/>
134 <javac srcdir="${log4j-over-slf4j.dir}/${source.dir}" destdir="${log4j-over-slf4j.dir}/${class.dir}"
135 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
136
137 <jar jarfile="${log4j-over-slf4j.jar}">
138 <fileset dir="${log4j-over-slf4j.dir}/${class.dir}">
139 <include name="**"/>
140 </fileset>
141 </jar>
142
143 <!-- <mkdir dir="${slf4j-ext.dir}/${class.dir}"/>
144 <javac srcdir="${slf4j-ext.dir}/${source.dir}" destdir="${slf4j-ext.dir}/${class.dir}"
145 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:/usr/share/java/javassist.jar:/usr/share/java/commons-lang.jar"/>
146
147 <jar jarfile="${slf4j-ext.jar}">
148 <fileset dir="${slf4j-ext.dir}/${class.dir}">
149 <include name="**"/>
150 </fileset>
151 </jar>
152 -->
153 </target>
154
155 <target name="test-compile">
156 <mkdir dir="${slf4j-api.dir}/${test.class.dir}"/>
157 <javac srcdir="${slf4j-api.dir}/${test.source.dir}" destdir="${slf4j-api.dir}/${test.class.dir}"
158 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}"/>
159 <jar jarfile="${slf4j-api-test.jar}">
160 <fileset dir="${slf4j-api.dir}/${test.class.dir}">
161 <include name="**"/>
162 </fileset>
163 </jar>
164 <mkdir dir="${slf4j-jcl.dir}/${test.class.dir}"/>
165 <javac srcdir="${slf4j-jcl.dir}/${test.source.dir}" destdir="${slf4j-jcl.dir}/${test.class.dir}"
166 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
167 <mkdir dir="${slf4j-jdk14.dir}/${test.class.dir}"/>
168 <javac srcdir="${slf4j-jdk14.dir}/${test.source.dir}" destdir="${slf4j-jdk14.dir}/${test.class.dir}"
169 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}:${slf4j-jdk14.jar}"/>
170 <mkdir dir="${slf4j-log4j12.dir}/${test.class.dir}"/>
171 <javac srcdir="${slf4j-log4j12.dir}/${test.source.dir}" destdir="${slf4j-log4j12.dir}/${test.class.dir}"
172 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
173 <mkdir dir="${slf4j-nop.dir}/${test.class.dir}"/>
174 <javac srcdir="${slf4j-nop.dir}/${test.source.dir}" destdir="${slf4j-nop.dir}/${test.class.dir}"
175 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-api-test.jar}"/>
176 <mkdir dir="${slf4j-simple.dir}/${test.class.dir}"/>
177 <javac srcdir="${slf4j-simple.dir}/${test.source.dir}" destdir="${slf4j-simple.dir}/${test.class.dir}"
178 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-simple.jar}:${slf4j-api-test.jar}"/>
179 <mkdir dir="${slf4j-migrator.dir}/${test.class.dir}"/>
180 <javac srcdir="${slf4j-migrator.dir}/${test.source.dir}" destdir="${slf4j-migrator.dir}/${test.class.dir}"
181 debug="true" source="1.5" target="1.5" classpath="${slf4j-migrator.jar}"/>
182 <mkdir dir="${jcl-over-slf4j.dir}/${test.class.dir}"/>
183 <javac srcdir="${jcl-over-slf4j.dir}/${test.source.dir}" destdir="${jcl-over-slf4j.dir}/${test.class.dir}"
184 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-jdk14.jar}:${jcl-over-slf4j.jar}"/>
185 <mkdir dir="${jul-to-slf4j.dir}/${test.class.dir}"/>
186 <javac srcdir="${jul-to-slf4j.dir}/${test.source.dir}" destdir="${jul-to-slf4j.dir}/${test.class.dir}"
187 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-log4j12.jar}:${jul-to-slf4j.jar}"/>
188 <mkdir dir="${log4j-over-slf4j.dir}/${test.class.dir}"/>
189 <javac srcdir="${log4j-over-slf4j.dir}/${test.source.dir}" destdir="${log4j-over-slf4j.dir}/${test.class.dir}"
190 debug="true" source="1.5" target="1.5" classpath="${slf4j-api.jar}:${slf4j-jdk14.jar}:${log4j-over-slf4j.jar}"/>
191 </target>
192
193 <macrodef name="test">
194 <attribute name="path"/>
195 <attribute name="component"/>
196 <sequential>
197 <mkdir dir="@{component}/${test.res.dir}"/>
198 <junit printsummary="yes" haltonfailure="yes">
199 <classpath>
200 <pathelement path="@{path}"/>
201 <pathelement location="@{component}/${test.class.dir}"/>
202 <pathelement location="@{component}/${test.resource.dir}"/>
203 <pathelement location="${slf4j-api.jar}"/>
204 </classpath>
205 <formatter type="plain"/>
206 <batchtest todir="@{component}/${test.res.dir}">
207 <fileset dir="@{component}/${test.source.dir}">
208 <include name="**/*TestCase.java"/>
209 <include name="**/*Test.java"/>
210 <exclude name="**/*$*"/>
211 <exclude name="**/Abstract*"/>
212 <exclude name="**/*PerfTest.java"/>
213 </fileset>
214 </batchtest>
215 </junit>
216 </sequential>
217 </macrodef>
218
219 <target name="test" depends="test-compile">
220 <test component="${slf4j-api.dir}" path="${slf4j-api.jar}"/>
221 <test component="${slf4j-jcl.dir}" path="${slf4j-api-test.jar}"/>
222 <test component="${slf4j-jdk14.dir}" path="${slf4j-api-test.jar}:${slf4j-jdk14.jar}"/>
223 <test component="${slf4j-log4j12.dir}" path="${slf4j-api-test.jar}:${slf4j-log4j12.jar}"/>
224 <test component="${slf4j-nop.dir}" path="${slf4j-api-test.jar}:${slf4j-nop.jar}"/>
225 <test component="${slf4j-simple.dir}" path="${slf4j-api-test.jar}:${slf4j-simple.jar}"/>
226 <test component="${slf4j-migrator.dir}" path="${slf4j-migrator.jar}"/>
227 <test component="${jcl-over-slf4j.dir}" path="${jcl-over-slf4j.jar}:${slf4j-jdk14.jar}"/>
228 <test component="${jul-to-slf4j.dir}" path="${jul-to-slf4j.jar}:${slf4j-log4j12.jar}"/>
229 <test component="${log4j-over-slf4j.dir}" path="${log4j-over-slf4j.jar}:${slf4j-jdk14.jar}"/>
230 </target>
231
232 </project>
0 libslf4j-java (1.7.14-1) UNRELEASED; urgency=medium
1
2 * New upstream release
3 * Build with maven-debian-helper
4
5 -- Emmanuel Bourg <ebourg@apache.org> Thu, 28 Jan 2016 13:04:43 +0100
6
07 libslf4j-java (1.7.13-1) unstable; urgency=medium
18
29 * New upstream release
55 Damien Raude-Morvan <drazzib@debian.org>,
66 Emmanuel Bourg <ebourg@apache.org>,
77 Jakub Adam <jakub.adam@ktknet.cz>
8 Build-Depends: ant,
9 ant-optional,
10 cdbs,
11 debhelper (>= 9),
8 Build-Depends: debhelper (>= 9),
129 default-jdk,
13 javahelper,
1410 junit4,
11 libbuild-helper-maven-plugin-java,
1512 libcommons-logging-java,
1613 liblog4j1.2-java,
17 maven-repo-helper
14 libmaven-antrun-plugin-java,
15 libmaven-install-plugin-java,
16 maven-debian-helper
1817 Standards-Version: 3.9.6
1918 Vcs-Git: git://anonscm.debian.org/pkg-java/libslf4j-java.git
2019 Vcs-Browser: http://anonscm.debian.org/cgit/pkg-java/libslf4j-java.git
0 pom.xml --no-parent
1 jcl-over-slf4j/pom.xml
2 jul-to-slf4j/pom.xml
3 log4j-over-slf4j/pom.xml
4 slf4j-api/pom.xml
5 slf4j-nop/pom.xml
6 slf4j-jdk14/pom.xml
7 slf4j-jcl/pom.xml
8 slf4j-log4j12/pom.xml
9 slf4j-migrator/pom.xml
10 slf4j-simple/pom.xml
11
0 # List of POM files for the package
1 # Format of this file is:
2 # <path to pom file> [option]*
3 # where option can be:
4 # --ignore: ignore this POM and its artifact if any
5 # --ignore-pom: don't install the POM. To use on POM files that are created
6 # temporarily for certain artifacts such as Javadoc jars. [mh_install, mh_installpoms]
7 # --no-parent: remove the <parent> tag from the POM
8 # --package=<package>: an alternative package to use when installing this POM
9 # and its artifact
10 # --has-package-version: to indicate that the original version of the POM is the same as the upstream part
11 # of the version for the package.
12 # --keep-elements=<elem1,elem2>: a list of XML elements to keep in the POM
13 # during a clean operation with mh_cleanpom or mh_installpom
14 # --artifact=<path>: path to the build artifact associated with this POM,
15 # it will be installed when using the command mh_install. [mh_install]
16 # --java-lib: install the jar into /usr/share/java to comply with Debian
17 # packaging guidelines
18 # --usj-name=<name>: name to use when installing the library in /usr/share/java
19 # --usj-version=<version>: version to use when installing the library in /usr/share/java
20 # --no-usj-versionless: don't install the versionless link in /usr/share/java
21 # --dest-jar=<path>: the destination for the real jar.
22 # It will be installed with mh_install. [mh_install]
23 # --classifier=<classifier>: Optional, the classifier for the jar. Empty by default.
24 # --site-xml=<location>: Optional, the location for site.xml if it needs to be installed.
25 # Empty by default. [mh_install]
26 #
27 pom.xml --no-parent --has-package-version
28 integration/pom.xml --ignore
29 jcl-over-slf4j/pom.xml --has-package-version
30 jul-to-slf4j/pom.xml --has-package-version
31 log4j-over-slf4j/pom.xml --has-package-version
32 osgi-over-slf4j/pom.xml --ignore
33 slf4j-android/pom.xml --ignore
34 slf4j-api/pom.xml --has-package-version
35 slf4j-ext/pom.xml --ignore
36 slf4j-jcl/pom.xml --has-package-version
37 slf4j-jdk14/pom.xml --has-package-version
38 slf4j-log4j12/pom.xml --has-package-version
39 slf4j-migrator/pom.xml --has-package-version
40 slf4j-nop/pom.xml --has-package-version
41 slf4j-simple/pom.xml --has-package-version
42 slf4j-site/pom.xml --ignore
+0
-7
debian/manifest less more
0 usr/share/java/slf4j-api.jar:
1 Bundle-ManifestVersion: 2
2 Bundle-Name: Simple Logging Facade for Java API
3 Bundle-Vendor: www.slf4j.org
4 Bundle-Version: 1.7.13
5 Bundle-SymbolicName: org.slf4j
6 Export-Package: org.slf4j;version="1.7.13",org.slf4j.helpers;version="1.7.13",org.slf4j.spi;version="1.7.13",org.slf4j.impl;version="1.7.13"
0
1 org.apache.maven.plugins maven-assembly-plugin * * * *
2 org.apache.maven.plugins maven-source-plugin * * * *
3 org.codehaus.mojo animal-sniffer-maven-plugin * * * *
0 junit junit jar s/4\..*/4.x/
1 log4j log4j jar s/1\.2\..*/1.2.x/
0
1 junit junit * s/4\..*/4.x/ * *
2 log4j log4j * s/1\.2\..*/1.2.x/ * *
3 org.slf4j slf4j-api test-jar * * *
00 #!/usr/bin/make -f
11
2 include /usr/share/cdbs/1/rules/debhelper.mk
3 include /usr/share/cdbs/1/class/ant.mk
2 %:
3 dh $@ --buildsystem=maven
44
5 PACKAGE := $(DEB_SOURCE_PACKAGE)
6 VERSION := $(DEB_UPSTREAM_VERSION)
7 JAVA_HOME := /usr/lib/jvm/default-java
8 DEB_ANT_BUILD_TARGET := jar
9 DEB_ANT_CHECK_TARGET := test
10 DEB_ANT_BUILDFILE := debian/build.xml
11 DEB_JARS := commons-logging log4j-1.2 ant-junit ant-junit4 junit4
12 MODULES := jcl-over-slf4j jul-to-slf4j log4j-over-slf4j slf4j-api \
13 slf4j-jcl slf4j-jdk14 slf4j-log4j12 slf4j-migrator slf4j-nop slf4j-simple
14
15 binary-post-install/$(PACKAGE)::
16 mh_installpoms -p$(PACKAGE)
17 set -e; for MODULE in $(MODULES); do \
18 mh_installjar -p$(PACKAGE) -l $$MODULE/pom.xml $$MODULE.jar; \
19 done
20 jh_manifest
21
22 clean::
23 mh_clean
24 -rm -rf debian/tmp
5 override_dh_auto_build:
6 dh_auto_build -- install
257
268 get-orig-source:
27 uscan --download-version $(DEB_UPSTREAM_VERSION) --force-download --rename
9 uscan --download-current-version --force-download --rename
2810